Notas da versão 1.5.0: 1 novidade 24 melhorias
Novidade
- New filters: gk/gravityboard/notes/allowed-html sets the HTML a card note may contain. Add img back to allow images in notes.; gk/gravityboard/data/max-entries sets how many entries a board renders. It receives the cap the server can afford and the feed. The default is set by the request's memory limit, between 250 and 1,000 cards.; gk/gravityboard/data/pagination changes the pagination data the cards endpoint returns: total, per_page, offset, count and has_more.…
Melhoria
- Card notes no longer show images loaded from other sites. Such an image could report the IP address and browser of everyone who read the note to whoever added it.
- Large boards render faster: cards that are scrolled out of view in a lane are drawn when they come into view.
- A board holding more cards than it can show now says how many of them it is showing, and sets that number by the server's available memory.
- A board whose lane field has no choices now guides users how to fix instead of showing an empty space.
- Non-editable fields are shown read-only in the card.
- Conditional logic in the board settings works better with a keyboard and screen reader.
- Saving a card changed fields nobody edited: A title or description containing characters such as & or ' was rewritten;; Assignees were cleared on boards with assignees turned off;; Tags were cleared on boards with Entry Tags turned off, or while the Entry Tags plugin was deactivated;; A field holding 0 was shown as blank and saved blank;; Editing a Label mapped to the same field as the lanes moved the card without the board's lane-change notifications.
- Saving only a card's assignees failed on PHP 8 and left an "unsaved changes" warning. On PHP 7 it did not send "Card Edited" notifications.
- The card editor: An optional drop down could not be set back to empty;; A radio field showed no choice selected when its stored value was a number;; The due date could not be set with the keyboard, and it was shown in month/day order even on sites that use day/month;; Saving a note without changing its text showed an error;; A file dropped on an existing card was uploaded only with the separate Upload Files button.
- Attachments: The user who uploaded attachemnts was shown as "User #" and a number instead of by name;; Uploading a file larger than the server allows showed "No file uploaded." or another unclear message. Such a file is now refused as soon as it is picked, with the maximum upload size;; Deleting an attachment required "Who Can Add Attachments", and without it the attachment stayed listed after its file was deleted;; Deleting an attachment now also requires permission to view attachments, and a…
- Mention emails: Turning off "Enable Mention Notifications" did not stop them;; Boards created by an import or another plugin did not send them;; A note mentioning several people sent each of them the email written for the first person, with that person's links. Each person now gets their own.
- Boards created by an import or MCP ignored the feed defaults until manually updated: nobody could be assigned, @mentions listed nobody, and only administrators had access.
- Assignee merge tags such as {gravityboard_assignees:names} showed names containing characters such as & incorrectly.
- Keyboard and screen reader use: Shortcuts such as "?" and "/" did not work until the board had been clicked;; Arrow keys and J/K did not move between cards;; The card menu ignored the arrow keys, Home and End, and closing it with Escape lost your place;; "/" left focus on the filter panel's Close button, and F did not move focus into the fullscreen board;; Enter or Space on a vote button opened the card instead of voting;; Tags could not be added or removed with the keyboard;; Space did not…
- Lanes and cards: Cards whose lane value matched no lane appeared in an unnamed lane whose actions did not work. They now appear in a lane named "Not set";; A new lane given the name of a renamed lane shared its cards;; A new card could take the same position as another card, and the two swapped places after a reload;; The drop indicator could flicker while dragging a card over another lane.
- Copying the URL of a board filtered by "No assignees" or "No label" opened a different filter.
- A card's Activity list did not load its notes on sites using Plain permalinks in WordPress.
- The admin board screen told administrators they had no permission to view a board that was switched off.
- Conditional logic on product prices matched the wrong entries on sites whose currency uses a comma for decimals or puts the symbol first.
- Opening or closing a date picker in conditional logic scrolled the page.
- The minimum required WordPress version is now 6.5 and the minimum PHP version is 7.4.
- Foundation to version 1.33.0.
- An attachment over the upload size limit is refused with the error code gk_gravityboard_file_too_large.
- Feed::DEFAULT_DARK_TEXT_COLOR and Feed::DEFAULT_LIGHT_TEXT_COLOR are deprecated in favor of the same constants on GravityKit\GravityBoard\Integrations\EntryTags.