-
-
Notifications
You must be signed in to change notification settings - Fork 98
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(platform): Add skeleton loader in secret #328
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
@kriptonian1 I feel the color scheme can be tweaked a bit? Perhaps the transparancy. |
Yeap, the color scheme and the component is very off. Let me make a quick design in figma and share the details here |
ok 👍 waiting for that design |
@Nirajan1-droid make a small component called loader and just add the style like this, you dosen't need to make dropdown, and use shadcn/ui's loader to make the component. the current implementation is not right. read this and implement |
ok working on it. |
waiting for feedback :) 👍 |
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
Outdated
Show resolved
Hide resolved
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
Outdated
Show resolved
Hide resolved
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
Outdated
Show resolved
Hide resolved
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
Outdated
Show resolved
Hide resolved
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
Outdated
Show resolved
Hide resolved
hope i get feedback again :) 👍 |
@kriptonian1 is there any more feedback for improvements or, is it ready for merge? |
Let me go through it |
@Nirajan1-droid will it be possible for you to send me a video of the React suspense working, it will really help me to review it |
i faced some issue with the usage of suspense, as skeleton didn't appear when i tried fallback to the loading component. |
You are supposed to run the backend and then test it out otherwise the implementation can be buggy |
previously, the code used loading state through the usage of useState. |
yes. but i faced some issues while running it. i tried it with docker also but can't resolve it. so, i got into it without backend. |
what's the issue |
at first i got: npm ERR! A complete log of this run can be found in: C:\Users\Nira\AppData\Local\npm-cache_logs\2024-07-06T15_12_01_810Z-debug-0.log and i tried to resolve with docker: RUN npm install: next i tried with yarn but didn't workout. |
why are you using npm, this is a pnpm project. I will recommend for you to read the doc and then start contributing. https://docs.keyshade.xyz/contributing-to-keyshade/setting-things-up |
@Nirajan1-droid figured antything out ? |
nope, still stuck in backend configuration. |
Bro, read the docs you have to use docker. |
any updates? |
@Nirajan1-droid any updates ???? |
@Nirajan1-droid if the issue is done then can you send me a video |
@Nirajan1-droid any progress on this yet? |
@rajdip-b If there is no significant progress then I think we should close this commit, and let others give it a try |
i got into small accident.
…On Fri, Aug 2, 2024, 7:43 PM Sawan Bhattacharya ***@***.***> wrote:
@rajdip-b <https://github.com/rajdip-b> If there is no significant
progress then I think we should close this commit, and let others give it a
try
—
Reply to this email directly, view it on GitHub
<#328 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APUMBHZJLXFKXUXP7OJSGV3ZPOGARAVCNFSM6AAAAABKOWJJBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVGQ3DCNRUHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
User description
Description
Implemented a loading indicator using Loading component in the SecretPage component to enhance user experience during data fetching.
for skeleton i have used : shadcn-ui@latest - shadcn-ui@0.8.0 to generate the skeleton component.
Skeleton component then is used by Loading Component and customized as per design.
Fixes #322
Dependencies
Future Improvements
depends on the test case and feedback.
Mentions
@rajdip-b
@kriptonian1
Screenshots of relevant screens
1.default view.
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement, Tests
Description
Loading
component inSecretPage
to enhance user experience during data fetching.useState
anduseEffect
hooks.Loading
component that displays a skeleton UI.Changes walkthrough 📝
page.tsx
Integrate Loading for data fetching in SecretPage
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
Loading
component to handle loading state.useState
anduseEffect
.Loading
conditionally based on loading state.Loading .tsx
Create Loading component for loading states
apps/platform/src/components/ui/Loading .tsx
Loading
component for displaying loading skeletons.