Skip to content

Releases

Gallery 0.4.1

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.

Gallery 0.4.0

Choose a tag to compare

@Heycys Heycys released this 24 Nov 20:36

Databases arrive: a new built-in block that shows one set of records as a table, a board, a list, cards, a calendar or a chart.

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.0.zip (below) to your agent and ask it to install it.

Databases (多维表格)

  • A new built-in block. Type 多维表格 after "/": one set of records seen as a table, a board, a list, cards, a calendar or a chart, each view with its own filters, sorts, grouping and totals. Columns can be text, number, select, multi-select, date, checkbox, URL or formula; records can be edited in their details, exported as CSV, and charts can take your colors.
  • Plain HTML in the file. Edits are written back into the table and a bit of JSON in the HTML file, one undo step each. An agent writes a database as ordinary HTML; a table with no JSON reads as columns of words by its header.
  • Records have bodies. A record's details hold a real Gallery body below its properties (headings, lists, images, the "/" menu, the handle), stored in the file as that record's slot. Copying a database carries the bodies, and gallery read, the Markdown export and gallery check know them.
  • Agents can use them. The skill has a new reference on databases. gallery check points out an agent's slips and prints one line per database saying what each view shows, so an agent can check its work without a browser; gallery read numbers records and its --format json gives the records and why one is read-only.
  • Wide databases. A 宽多维表格 switch in 更多, in an export's display menu and in each database's block menu; a wide database keeps one width across its views.
  • The bundled pack's board and chart blocks are replaced by the database's board and chart views.

Tables

  • Switching back to a document puts the caret back in the table cell it was in, and a table half scrolled past the top no longer makes the page jump.
  • An inserted row or column takes the color, alignment and bold its neighbours all share.
  • Pasting into a cell keeps line breaks, empty lines, formatting and lists; multi-line text from other programs goes in line by line, and a cell's content pasted into a paragraph keeps its lines.
  • Each table has its own 宽表格 (wide) switch in its block menu, which takes precedence over the page's.
  • Automatic column widths keep columns of numbers and long identifiers whole.
  • The drawn scrollbars are one component that moves with the content on the browser's own scroll timeline; at an end they give like a rubber band and spring back.
  • On screens where rows fall between pixels (e.g. Windows at 225%), a wide table no longer gains a sliver of vertical scroll that stopped the wheel.

Editing and the workbench

  • Dragging a page from the sidebar into a document inserts its page block where you let go.
  • Reordering by dragging goes by the dragged item itself, everywhere: database tabs, board columns and cards, filter and sort rows, table rows and columns, the tabs block, the writing preferences' tabs. Board cards lift and the others slide aside.
  • Tabs block: tabs lift when dragged, the "+" is round, new tabs are named 选项 1, 选项 2….
  • Dragging the sidebar's width is smooth again and stops where you let go.
  • Sections holding a wide block keep their right-hand bar at the text's edge, dotted across the wide block.
  • File blocks can take a text color and a background; menus' fades reach the card's edge; the presentation view's pointer has a rounded icon; 编辑图表 opens with one title.

Tested on Windows 11 (Chrome and Edge) and macOS 27 (Chrome). Reports from other systems and browsers are welcome.

Gallery 0.3.1

Choose a tag to compare

@Heycys Heycys released this 22 Nov 08:00

The first release with the source published here.

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

Since 0.3.0

Editing

  • Images, files, embeds and bookmarks can be cut, copied and pasted, into other documents too; an image copied in Gallery pastes as an image elsewhere.
  • Files, images and videos dragged in from the desktop or from another web page become blocks where they are dropped.
  • Coming back to a page within five minutes puts the window and the caret where they were.
  • A heading's level menu raises or lowers that one heading.
  • History shows what each version changed (gallery history --changes).
  • An invalid formula has one look; its error opens in place and copies on a click.
  • Pasted ChatGPT cards arrive as highlight blocks and columns; numbered lists from Word and WPS keep their numbers and where they start.
  • Tables: sort arrows have three states; a wide table can run past the text column (gallery set --wide-tables on); column and row edges are easier to catch.
  • A figure can hide its frame; the words of kanban, metric and chart blocks are edited in place.

Exports

  • An exported file offers "Copy as full text" and "Copy as Markdown".
  • An exported Gallery file imports back as the document it was.

Under the hood

  • Emoji names, keywords and groups come from emojibase-data and Unicode CLDR; search puts everyday emojis first.
  • The Word paste filter was rewritten.
  • THIRD-PARTY-NOTICES.md lists everything the repository and the package hold that others made.

Tested so far on Windows 11 (Chrome and Edge) and macOS 27 (Chrome). Reports from other systems and browsers are welcome.