Skip to content

feat: expose bookmark IDs in search results and improve sync messages#126

Draft
ccage-simp wants to merge 1 commit into
afar1:mainfrom
ccage-simp:feat/ux-tweaks
Draft

feat: expose bookmark IDs in search results and improve sync messages#126
ccage-simp wants to merge 1 commit into
afar1:mainfrom
ccage-simp:feat/ux-tweaks

Conversation

@ccage-simp
Copy link
Copy Markdown
Contributor

Description

This PR addresses two minor UX friction points to make the CLI feel a bit more polished and composable for daily use.

  1. Expose IDs in Search: When running ft search, the output now includes (ID: <id>) in the result header. This saves users from having to manually extract the ID from the URL if they want to immediately run ft show <id> or ft show <id> --open.
  2. Context-Aware Sync Messages: The generic "caught up to newest stored bookmark" stop reason has been split into two friendlier variants depending on whether new bookmarks were actually fetched or if the cache was already up to date.

Testing

  • Updated formatSearchResults unit test to assert the presence of the (ID: ...) substring.

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