Skip to content

fix(#8): focus first composer field when opening from empty state - #20

Merged
DevOlabode merged 1 commit into
DevOlabode:mainfrom
dyk1454683243-sudo:fix/8-composer-focus-v2
Sep 18, 2026
Merged

DevOlabode merged 1 commit into
DevOlabode:mainfrom
dyk1454683243-sudo:fix/8-composer-focus-v2

Conversation

@dyk1454683243-sudo

Copy link
Copy Markdown
Contributor

Summary

Fixes #8 — when opening the composer from the empty state / Add button, focus moves to the first field so keyboard users can start typing immediately.

Changes

  • openComposer: after showing the form, focus name (collection) or title (bookmark)
  • openCollectionComposer: after showing the form, focus title

Test plan

  • Open popup with empty library → click Add / start composer → first field is focused
  • Open collection composer → title field is focused
  • Existing edit flows still work

No Opire claim on this issue (GFI / a11y).

… state

When opening the composer from the empty state / Add button, focus the first field.
@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

@dyk1454683243-sudo is attempting to deploy a commit to the solabode499-5056's projects Team on Vercel.

A member of the Team first needs to authorize it.

@DevOlabode DevOlabode left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — clean, minimal fix. Focuses the right field for both the bookmark and collection composer paths. Merging.

@DevOlabode
DevOlabode merged commit 30d544c into DevOlabode:main Sep 18, 2026
1 of 2 checks passed
@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
curate Ready Ready Preview Sep 18, 2026 4:27am UTC

This branch was successfully deployed

1 active deployment
Preview c3d7edc4 Deployed Sep 18, 2026 by vercel[bot]
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.

Improve the empty state when no bookmarks exist

2 participants