Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplifies adding a bill with keyboard only #1221

Merged
merged 1 commit into from
Sep 3, 2023

Conversation

Jojo144
Copy link
Contributor

@Jojo144 Jojo144 commented Aug 28, 2023

This PR proposes three small changes to simplify adding a bill with only keyboard:

  1. Makes the default focus on the "Add a new bill" button:
    Capture d’écran de 2023-08-28 23-23-50

  2. In the "Add a new bill" modal, makes the default focus on the first field:
    Capture d’écran de 2023-08-28 23-26-03

  3. Allows to escape the "Add a new bill" modal with the "Esc" key. (Was this intentionally deactivated?)

@zorun
Copy link
Collaborator

zorun commented Aug 29, 2023

Thanks, it looks good to me.

I just have one UX remark: isn't it a bit annoying to focus a date field by default? I guess it will display the date picker as soon as the modal opens?

@Jojo144
Copy link
Contributor Author

Jojo144 commented Aug 30, 2023

You're right. The datepicker did not display but I think it is more intuitive to focus on "What". I changed this:
Capture d’écran de 2023-08-30 10-34-35 resized

@zorun zorun added improvement UI/UX User Interface / User Experience labels Sep 3, 2023
@zorun zorun changed the title [Enhancement] Simplifies adding a bill with keyboard only Simplifies adding a bill with keyboard only Sep 3, 2023
@zorun
Copy link
Collaborator

zorun commented Sep 3, 2023

Thanks!

@zorun zorun merged commit fcdc057 into spiral-project:master Sep 3, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement UI/UX User Interface / User Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants