Skip to content

Gallery 0.4.1

Latest

Choose a tag to compare

@Heycys Heycys released this 30 Nov 04:18

Gallery 0.4.1: editing in Safari on the Mac, a new look for database boards and record details, Markdown export, and a round of fixes.

Install or update: npm i -g @heycys/gallery (Node 22.13 or newer), then gallery skill install to bring the skill up to date. To add the skill alone, give gallery-skill-0.4.1.zip (below) to your agent and ask it to install it.

Safari on macOS

  • Desktop Safari on macOS can edit: it no longer gets the "Chrome or Edge only" notice, and the commands, the skill and the docs name it beside Chrome and Edge. gallery qa and PDF export still use Chrome or Edge. A new opt-in test, tests/browser/safari.py, types into native Safari through SafariDriver and checks that the edit reaches doc.html and survives a reload. Thanks to @Word2VecT for #1, Gallery's first outside contribution.

Databases (多维表格)

  • Boards. Pale gray lanes and white cards, a progress circle in each column head, dates and progress under a hairline, a slight tilt on the card being dragged. While a card is dragged, the whole card follows the pointer and a light-blue line shows where it will land; other cards stay put.
  • Board cards show their text fields, notes and the record's body in gray under the title, two lines at most, and follow as you type in the details.
  • Click a board column's mark to change its icon (emoji, icon or upload); Remove brings back the default mark, and exported files show the icons too.
  • A column's "+ New" is a button just around its icon and label, 8px under the last card. A new database's Status has four options, with In review before Done.
  • Renaming a board column or a view tab edits the words in place. View tabs are rounded rectangles with larger icons; the board and chart views have new icons.
  • Record details. At the side, a full-height panel whose toolbar sits in the top bar, with six properties and the rest one click away; 750px or wider, every property in two columns. In the middle, a card with properties in two columns. The side panel's width handle is a gray line from the top of the window to the bottom, like the sidebar's.
  • Clicking the same card, row or calendar item again closes the details. In a record's body the annotate button sits in the right margin, its card opens inside the details, and blocks no longer count as part of the page's section.
  • Chinese input methods work in select and multi-select cells. The list of a select's options is 240px wide everywhere, and no database card is wider than 250px.

Export and Markdown

  • In an exported file, "Copy the full text" copies Markdown that includes every tab, collapsed toggles, all database records and columns, and chart data; "Copy as Markdown" became "Export as Markdown", which saves <title>.md. gallery read --format markdown is fuller too.
  • "Export a copy of this view" names the copy after the document's title with v1, v2.
  • Figures and whole blocks (databases, a document's own blocks, diffs, custom blocks) have "Download as image" in their block menu, which saves the block as a PNG as the page shows it.

Editing and the workbench

  • Turning off the green number on the changes bar shows the page as it was before the Agent's changes (real blocks, read only); with the red number on, what the Agent deleted or changed is marked in red there.
  • An empty paragraph you added no longer raises a conflict card, or shows as deleted in the review, when an Agent's write leaves it out.
  • After typing or deleting with an input method in a code block, the page saves on its own, and Cmd/Ctrl+S no longer waits forever.
  • Selecting several lines of text in a table cell no longer leaves darker lines between them.
  • The tabs block's + sits right after the last tab.
  • A file block's background fills its own rounded rectangle.
  • Sweeping the pointer across tabs, menus, cards and sidebar rows no longer leaves a trail of fading gray. Tooltips wait for the pointer to rest (500 ms); moving along a row of buttons still shows each label at once.
  • The weather card keeps its last weather while it fetches again, with a gray "Updating…" in its head. The Recently edited and My to-dos cards show icons from the icon library in their own color.

Tested on Windows 11 (Chrome and Edge) and macOS 27 (Chrome, and Safari for editing and saving). Reports from other systems and browsers are welcome.