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

Confirm new edit goal with enter #1077

Closed
tijlleenders opened this issue Mar 23, 2023 · 8 comments · Fixed by #1083, #1581 or #1940
Closed

Confirm new edit goal with enter #1077

tijlleenders opened this issue Mar 23, 2023 · 8 comments · Fixed by #1083, #1581 or #1940
Assignees
Labels
ease of use UI User-Interface

Comments

@tijlleenders
Copy link
Owner

tijlleenders commented Mar 23, 2023

Rewritten based on discussion below:

We've gone back an forth on this but a consistent behavior is better:

  • A keyboard 'Enter' on mobile or desktop browser should have the same effect.
  • The effect should be the same as the 'action button' - in this case the 'create goal/budget' button. It should not only close the keyboard on mobile.

Agree with @vinaybadgujar102 we can add a test for this in Playwright.

@tijlleenders
Copy link
Owner Author

Somewhere along the way this feature disappeared. Please bring it back.

Right now there is no enter on my keyboard when I edit the goal title, only a next which takes me to duration.

@tijlleenders tijlleenders moved this to temp to drag faster in ZinZen® Oct 27, 2023
@tijlleenders tijlleenders moved this from temp to drag faster to Parking lot in ZinZen® Oct 28, 2023
@vinaybadgujar102
Copy link
Collaborator

vinaybadgujar102 commented Oct 29, 2023

Should it work for both budget and goal entity? @tijlleenders

@vinaybadgujar102 vinaybadgujar102 self-assigned this Oct 29, 2023
@vinaybadgujar102 vinaybadgujar102 moved this from Parking lot to In progress in ZinZen® Oct 29, 2023
@tijlleenders
Copy link
Owner Author

tijlleenders commented Oct 29, 2023

@vinaybadgujar102 Good question!
I think for budgets Enter should close the keyboard only.

@github-project-automation github-project-automation bot moved this from In progress to Done in ZinZen® Oct 30, 2023
@tijlleenders tijlleenders reopened this May 24, 2024
@tijlleenders
Copy link
Owner Author

@vinaybadgujar102 Enter is not working on mobile again. Tried on GrapheneOS using Vanadium. Not sure if it is also not working in other browsers.

@vinaybadgujar102
Copy link
Collaborator

@tijlleenders its not working for goals only, for budget "Enter" is closing the edit modal. Will fix it soon.

I think we should start writing unit tests for the majority of our feature implementations. This will help us ensure code stability and avoid breaking changes.

@tijlleenders
Copy link
Owner Author

Yes, although the UI hasn't been stabilized yet ... so we should balance the effort of (re)writing tests with catching regressions manually.

@tijlleenders
Copy link
Owner Author

First let's rationalize the testing framework in #1879

@tijlleenders
Copy link
Owner Author

@vinaybadgujar102 Good question! I think for budgets Enter should close the keyboard only.

I retract this statement. A consistent behavior is better.

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