Closed kleyberthsantos closed 1 month ago
apps/guardian-ui/src/languages/en.json (1)
`226-226`: **Description for federation name is clear and informative.** The description "Gives a name to your Federation" is straightforward and effectively communicates the purpose of the federation name field to the user.apps/guardian-ui/src/components/setup/screens/setConfiguration/BasicSettingsForm.tsx (1)
`63-67`: **Approve dynamic rendering logic for `FormHelperText`.** The implementation of dynamic messages in `FormHelperText` based on the `myName` input is approved. This approach enhances user feedback by providing relevant messages depending on whether the input is empty.
can you post pictures / videos of any of the UI changes you make?
yes @Kodylow, it is only to require the federation name in the leader configuration. If this is not required, it can be omitted https://github.com/user-attachments/assets/c81a7489-0b49-4c10-9e06-d5c6e0fb6c4e
kk can you rebase then I'll test and land
kk can you rebase then I'll test and land
yes sure
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 6, 2024 11:26pm |
just tried this I don't really like it, this should be part of a larger refactor to using Toasts for all the errors and warnings instead of just leaving them on the fields/screens continuously
cc @Kodylow thanks for your feedback. There is no need to keep working in this issue, as I´m fixing this in another one. You can proceed to close this PR 👍
Implement validation for federation name and add dynamic warning messages
Description:
Implemented federation name validation in SetConfiguration.tsx and BasicSettingsForm.tsx. Added a dynamic warning message in FederationSettingsForm.tsx to alert when the federation name field is empty. These improvements ensure that users provide a valid federation name before proceeding with the configuration.
Summary by CodeRabbit
New Features
Documentation