-
Notifications
You must be signed in to change notification settings - Fork 6
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
Don't allow participant list insertion if the chairman is not present #388
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a smal QoL comment, works well otherwise
OK to merge for me, moving the alert is optional
@@ -5,6 +5,14 @@ | |||
as |Modal|> | |||
<Modal.Body> | |||
<div class="au-o-flow"> | |||
{{#if this.error}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put this error next to the "insert" button
atm when you are scrolled down, you don't see the error and it feels like the insert button just doesnt work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
come to think of it, wouldn't it be better to simply disable the present toggle if the mandatee = the chairman?
We have no backup flow for when they do set the chairman as absent, we simply don't allow them to proceed. So why even have the option in the first place?
edit: looking at the ticket, that seems to be what they're asking anyway
I have made the changes you suggested, also kept the message and moved the error just in case, or if we want to add more errors to it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected.
No description provided.