-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove step 1 of new object field #7397
Conversation
@Bonapara removed all the redundant icons code beside breadcrumb! Those Icons are removed right? |
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.
PR Summary
This pull request addresses three main issues in the Twenty application's settings pages:
- Improves accessibility by replacing
<div>
with<a>
tags for settings cards - Simplifies the new field creation process by removing the two-step approach
- Reduces settings page flashing during loading with a skeleton loader
Key changes:
- Introduced SettingsSkeletonLoader component for improved loading experience
- Refactored SettingsObjectNewField to combine field type selection and configuration into a single step
- Removed icons from SubMenuTopBarContainer components across multiple settings pages
- Updated routing to reflect the simplified new field creation process
- Adjusted SettingsDataModelFieldTypeSelect for better accessibility and user experience
30 file(s) reviewed, 5 comment(s)
Edit PR Review Bot Settings
packages/twenty-front/src/modules/settings/components/SettingsSkeletonLoader.tsx
Outdated
Show resolved
Hide resolved
...src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldTypeSelect.tsx
Outdated
Show resolved
Hide resolved
...src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldTypeSelect.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
Show resolved
Hide resolved
Thanks Nitin! Do you have a screenshot so I can better understand what you mean? |
@Bonapara |
Yes you can clean it! Thanks @ehconitin |
Thank you! This works but I feel we could do even better :) When you open links in a new tab, it's not working because you created fake links And that will be an issue because if you press the back button, configureStep remains with its previous value. Do you see what I mean @ehconitin? |
@FelixMalfait Yes! |
@FelixMalfait conflicts made this way more tricky! :( |
sb-test failed, checking! |
Ready for review! |
I just checked from a product perspective, and it looks good! Thanks for the great work, @ehconitin. |
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.
Great work! I think we should merge this as the PR is already big!
One potential improvements would have been to disable the configure step if no fieldType is passed instead of defaulting to text which can sometimes create weird behavior (e.g. you're on step 2 you come back to step 1 via top bar to check what was selected then come back to step 2 via top bar - your field type has changed). Not a big deal / TBC once we have experience with users!
Thanks @ehconitin for your contribution! |
@FelixMalfait Thanks! |
context - #7397 (review) P.S. Apologies for the background music in the screen recording—I didn’t realize my mic was on while capturing it. 😅 https://github.com/user-attachments/assets/0cd31aa7-9ce2-4577-a79a-73c9890f2905 --------- Co-authored-by: Félix Malfait <[email protected]>
fixes twentyhq#7356 fixes twentyhq#6967 fixes twentyhq#7102 fixes twentyhq#7121 fixes twentyhq#7505
context - twentyhq#7397 (review) P.S. Apologies for the background music in the screen recording—I didn’t realize my mic was on while capturing it. 😅 https://github.com/user-attachments/assets/0cd31aa7-9ce2-4577-a79a-73c9890f2905 --------- Co-authored-by: Félix Malfait <[email protected]>
fixes #7356
fixes #6967
fixes #7102
fixes #7121
fixes #7505