Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

feat: auto focus on first input on app load#139

Merged
awtkns merged 1 commit intoreworkd:mainfrom
naeem-gitonga:feat/autofocus-dialog-input
Apr 16, 2023
Merged

feat: auto focus on first input on app load#139
awtkns merged 1 commit intoreworkd:mainfrom
naeem-gitonga:feat/autofocus-dialog-input

Conversation

@naeem-gitonga
Copy link
Copy Markdown
Contributor

@naeem-gitonga naeem-gitonga commented Apr 15, 2023

  • Update - autofocus the first input element of the Settings Dialog component when component is shown (better UX).

  • Small refactor to destructure props of SettingsDialog component inside of component (for better readability/maintainability) and creation of SettingsDialogProps interface (also for better readability/maintainability). Same done on InputProps.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 15, 2023

Someone is attempting to deploy a commit to the reworkd Team on Vercel.

A member of the Team first needs to authorize it.

@naeem-gitonga
Copy link
Copy Markdown
Contributor Author

naeem-gitonga commented Apr 15, 2023

@asim-shrestha @awtkns please merge 😄

@Mirza-Numan Mirza-Numan linked an issue Apr 16, 2023 that may be closed by this pull request
@naeem-gitonga naeem-gitonga force-pushed the feat/autofocus-dialog-input branch from bd96799 to 9d7c6ea Compare April 16, 2023 03:33
@naeem-gitonga naeem-gitonga changed the title feat: auto focus on first input in Settings Dialog when dialog is shown feat: auto focus on first input on app load Apr 16, 2023
@awtkns awtkns self-requested a review April 16, 2023 04:16
Copy link
Copy Markdown
Contributor

@awtkns awtkns left a comment

Choose a reason for hiding this comment

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

Thanks for the tag! This looks good!

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agent-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2023 4:18am

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent payshop

2 participants