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

OH2-443 | Refactor admin forms reset/cancel actions #706

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

SteveGT96
Copy link
Contributor

@SteveGT96 SteveGT96 commented Nov 29, 2024

See OH2-443

@mwithi mwithi requested a review from SilverD3 November 29, 2024 17:31
Copy link
Contributor

@SilverD3 SilverD3 left a comment

Choose a reason for hiding this comment

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

The 'cancel button' could manage at the top level, I mean by the parent component (just like we're doing with the form title). This way, we keep this logic centralize and easy to maintain.

Furthermore, the 'cancel button' actually looks like the button for the 'primary action' of the form, when it's for a secondary or even tertiary action. We could use the secondary color (grey, I think) or a less expressive one.

Screenshot 2024-12-06 at 10-05-54 Open Hospital

Finally for the icon, I suggest to use the chevron left or the arrow left

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.

2 participants