-
Notifications
You must be signed in to change notification settings - Fork 4
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
update parent sign up error dialog and remove back button post-submission #1026
Conversation
Coverage Report
File CoverageNo changed files found. |
Visit the preview URL for this PR (updated for commit a71d933): https://roar-staging--pr1026-fix-parent-signup-fi-gwo6q8yq.web.app (expires Wed, 19 Feb 2025 19:27:16 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 2631e9c58fd0104ecbfddd72a62245ddac467460 |
roar-dashboard-e2e
|
Project |
roar-dashboard-e2e
|
Branch Review |
fix/parent-signup-fixes
|
Run status |
|
Run duration | 01m 56s |
Commit |
|
Committer | Ⓛucas son 🇬 |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
68
|
View all changes introduced in this branch ↗︎ |
src/pages/RegisterFamilyUsers.vue
Outdated
@@ -40,7 +40,7 @@ | |||
</div> | |||
</header> | |||
<div> | |||
<div v-if="activeIndex === 1"> | |||
<div v-if="activeIndex === 1 && spinner !== true"> |
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.
Minor suggestion, spinner !== true
can be simplified to !spinner
for better readability
<div v-if="activeIndex === 1 && spinner !== true"> | |
<div v-if="activeIndex === 1 && !spinner"> |
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.
However, in terms of UX, it would be better to disable the button instead of removing to avoid layout shifts
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.
Perhaps we could use the loading
and loadingIcon
property of PvButton
(see https://primevue.org/button/#api.button.props.loading).
Co-authored-by: Maximilian Oertel <[email protected]>
src/pages/RegisterFamilyUsers.vue
Outdated
@@ -40,7 +40,7 @@ | |||
</div> | |||
</header> | |||
<div> | |||
<div v-if="activeIndex === 1"> | |||
<div v-if="activeIndex === 1 && spinner !== true"> |
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.
Perhaps we could use the loading
and loadingIcon
property of PvButton
(see https://primevue.org/button/#api.button.props.loading).
Co-authored-by: Maximilian Oertel <[email protected]>
Co-authored-by: Maximilian Oertel <[email protected]>
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.
🚀
Proposed changes
Types of changes
What types of changes does this pull request introduce?
Checklist
Justification of missing checklist items
Further comments