-
Notifications
You must be signed in to change notification settings - Fork 907
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
feat: rework loading in Settings pages #2650
Conversation
@beonma is attempting to deploy a commit to the formbricks Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for following the naming conventions for pull request titles! 🙏 |
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.
Thanks, @beonma, for the fix. 😊
Changes look good and consistent with the codebase. There is just one loading behavior that seems a bit off, can you please check the comments and fix this?
We'll be good to go after that 🚀
apps/web/app/(app)/environments/[environmentId]/settings/(team)/enterprise/loading.tsx
Outdated
Show resolved
Hide resolved
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.
Can you please try fixing these two loading behavior? It first shows the loading element and then the loader for the table, it would be great to see something consistent in just one loader.
loader.mp4
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.
Hi, @gupta-piyush19.
I encountered difficulty in reproducing this issue, as I am using the local version with Docker (i guess). Despite removing the cache function to potentially observe the loading, I was still unable to replicate the problem. I have implemented some additional code to ensure consistency in appearance. Please feel free to request any further modifications.
Hi @gupta-piyush19, I have made the necessary changes, along with some additional adjustments for UI consistency. Please let me know if anything else needs to be modified. |
Thanks @beonma for the changes 👍 |
@pandeymangg Can you please take a final look at the code changes, as these files were recently edited? 😊 |
Hey! @beonma the changes look good for the settings pages, except the Screen.Recording.2024-05-29.at.1.19.18.PM.mov |
Hey, @pandeymangg. Is there a way to simulate the cloud version within a local development environment? Because i overlooked these parts of the code due to working solely with the community version. |
Thanks for making the changes! looking good now 😊 |
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.
LGTM! 🚀
Thank you @pandeymangg ! Thanks @gupta-piyush19 for reviewing this pr too. |
What does this PR do?
This pull request ensures that the skeleton is correctly loaded into the appropriate shapes on all settings pages.
Fixes #2620
Required
pnpm build
console.logs
git pull origin main
Appreciated