Skip to content

feat(import): turn keywords into tags on request and ask for missing titles (0.10.0) - #9

Merged
nodemode-ai merged 27 commits into
mainfrom
feat/import-tags-titles-0.10.0
Nov 27, 2026
Merged

nodemode-ai merged 27 commits into
mainfrom
feat/import-tags-titles-0.10.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat(import): turn keywords into tags on request and ask for missing titles (0.10.0)

Summary

  • Imported keywords can become tags: an off-by-default choice in the Add dialog, --keywords-as-tags on the command line, the import route, the MCP import tool and the cite service; and tags from-keywords (with a dry run) for a library already imported. The keywords stay on the item as text.
  • An imported entry with no title is not refused. A new "Needs a title" view lists such entries and offers up to five suggestions built from what the entry already holds, with no network call; "Look it up" asks the lookup service only when pressed. The same through ./formcite cli titles.
  • Fixed: after a large import the list could stay empty and read "0 items" for many seconds on a slow connection. Cause: two requests per new entry, six at a time. More than twelve new entries, or an import into an empty library, now read the list once.
  • Fixed: a new tag typed in the item pane arrived in the tag list late and pushed rows down. It now gets its row at the keystroke.
  • The shared list patcher moves only the nodes that are out of place and keeps focus on a moved node.

Commits

27 commits, release commit last. No hashes, since they change when signed. By type: feat 13, fix 6, docs 7, chore 1. By the scope in each subject: titles 8 · import 3 · hashout 3 · cli 2 · add 2 · and one each for window, skill, side, mcp, log, itemlist, dom, cite and release.

Version

v0.10.0 (release commit is last). Moved: frontend/package.json, both fields in frontend/package-lock.json, frontend/src/version.ts, backend/app/__init__.py, src-tauri/Cargo.toml and its entry in src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the three files of native/formcite-style, the "Current build version" line in four logs, and a new section in CHANGELOG.md.

Checks

Run by the orchestrator at the head: the engine and command line import; the style regression set, twelve PASS; the window type check; the skill validator on the formcite skill, 0 FAIL. Each of the 26 commits before the release commit was checked out in a copy and imported: 26 of 26. Scans over the new commits: one author and committer, offset -0500, no attribution words, no merge commit, no test file, no em dash or emoji in changed markdown, no raw z-index.

Run by the orchestrator once on the new head, in a private built copy served by the engine, 2,000 imported items, processor slowed 4x, 400 ms latency at about 400 kbit/s, cache off, cold load: five sorts and one reversed, filter to 458 and clear, select, six arrow keys, a title edit (its row updated), scroll. Layout-shift entries: 0 without input, 0 with input. Row pool 55. No page error.

Run by agents only: a 200-entry file imported with the option off (0 tags) and on (49 tags created, 199 items tagged, 651 links, equal to a separate count), again as RIS and CSL JSON, and through tags from-keywords dry and real with the same result; the window drop with the box ticked (0 shift); twelve title-less entries with every suggestion read; the "Needs a title" view under throttling (one notice, pick, type, an empty save refused, the count to zero; 0 without input, 0.0247 with input when a saved row leaves); a 200-entry drop into an empty and a 2,000-item library (rows and count in 3 to 4 seconds, no position requests); ten tag renames with focus kept ten of ten; five new tags at 0 without input.

Not run: the desktop shell (it has never been compiled); the CI workflow for these commits; "Look it up" against a live service; the cite service's import over HTTP; the MCP import tool end to end. Not fixed: the loss of focus after a tag rename reported in 0.9.0 could not be reproduced in seventeen tries, its cause is unknown, and the two guards added are not a claimed fix.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

Lists live items with an empty title and builds up to five offline suggestions with reasons, plus an on-request identifier lookup.
Adds the untitled, title-suggestions and title-lookup routes and registers them.
Import takes keywords_as_tags, splits each entry's keywords with one shared splitter and tags the new item inside its own record transaction, reusing tags that differ only in case. Adds a from-keywords pass over existing items with a dry run.
The import route accepts keywords_as_tags, and a new route converts keywords of existing items into tags with an optional dry run.
The import verb gains --keywords-as-tags and reports the tag counts, and tags from-keywords converts existing items with --collection and --dry-run.
The import_references tool takes an optional keywords_as_tags flag and says the tag counts when it is on.
Skips placeholder and name-year citation keys and adds a publisher or institution suggestion for entries with no creator.
The command line lists untitled entries, prints the same suggestions with reasons and sets a title, refusing an empty one.
The engine side of the Add dialog keeps the keywords-as-tags choice for the session, sends it with each import and raises the tags notice when items were tagged.
The Import tab gains an unticked box that a dropped or pasted import obeys, and a dropped import now writes its result on the tab's line.
Adds the untitled, suggestion, lookup and set-title calls and a small count holder that reports how much the count rose.
Fixed-height rows with a title field, up to five suggestion buttons in a reserved strip, an on-request lookup, a nav count hidden at zero and one toast after an import.
Declares and mounts the view beside Trash and links titles.css.
The import page gives the splitter rules, the new counts, the option on the route and the command line, and the from-keywords pass; the window page names the new box.
The skill names the import option on the MCP tool and the command line, asks for it only when the person wants it, and lists the from-keywords verb.
Records the splitter rules, the duplicate choice and the measured counts and window check for keywords as tags.
The list patch keeps the longest run of nodes where they are and inserts only the others, so a focused node is not detached when it is already in place. A moved focused node gets focus and its selection range back.
Reads of tags and collections older than the latest notice or rename are dropped. A tag typed in the item pane gets its row at once at its sorted place and is rekeyed to the engine's id without moving. The tag list scrolls inside a capped box.
Suggestions arriving no longer move the lookup button, and the toast action dismisses its toast as it opens the view.
Adds TITLES.md and a Needs a title section to WINDOW.md.
The note was cleared after the list rendered, so the last save hid the empty-state message.
Records the untitled rule, suggestion order, the lookup lock choice, the nav and toast workarounds and the measurements.
Records the patchlist rule, the dropped late reads, the row added at the input and what was measured.
An insert of more than twelve new ids, or into an empty list, now re-reads the list once instead of asking a position and a row for every id, so a 200-item import shows its rows and count at once.
The cite service's import body accepts keywords_as_tags and passes it to the import, off by default.
Records why a big import left the list empty under a slow network and what the re-read measured.
Moves every version site to 0.10.0 and adds the changelog section.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 27, 2026 21:13
@nodemode-ai
nodemode-ai merged commit 2c36d86 into main Nov 27, 2026
2 checks passed
@nodemode-ai
nodemode-ai deleted the feat/import-tags-titles-0.10.0 branch November 27, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant