-
Notifications
You must be signed in to change notification settings - Fork 39
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
[HUM-127]: chore: refactor page card components #2987
[HUM-127]: chore: refactor page card components #2987
Conversation
@mpblocky is attempting to deploy a commit to the HUMAN Protocol Team on Vercel. A member of the Team first needs to authorize it. |
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card-loader.tsx
Outdated
Show resolved
Hide resolved
@dnechay ready for review |
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.
Let's have page-card/index.ts
that re-exports necessary components, so they can be imported easily in on import statement, i.e.
import {
PageCardError,
PageCardLoader
} from '@/shared/components/ui/page-card';
instead of
import { PageCardError } from '@/shared/components/ui/page-card/page-card-error';
import { PageCardLoader } from '@/shared/components/ui/page-card/page-card-loader';
packages/apps/human-app/frontend/src/shared/components/ui/page-card/consts.ts
Outdated
Show resolved
Hide resolved
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card.tsx
Outdated
Show resolved
Hide resolved
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card-loader.tsx
Outdated
Show resolved
Hide resolved
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card-error.tsx
Show resolved
Hide resolved
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card.tsx
Outdated
Show resolved
Hide resolved
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card.tsx
Outdated
Show resolved
Hide resolved
...ages/apps/human-app/frontend/src/modules/homepage/components/choose-sign-up-account-type.tsx
Outdated
Show resolved
Hide resolved
This reverts commit 367ab54.
a23d85e
to
60fc02f
Compare
@dnechay this one is ready for re-review :) |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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 overall
@mpblocky few small code-style suggestions
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card.tsx
Outdated
Show resolved
Hide resolved
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card.tsx
Outdated
Show resolved
Hide resolved
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card.tsx
Outdated
Show resolved
Hide resolved
packages/apps/human-app/frontend/src/shared/components/ui/page-card/page-card.tsx
Outdated
Show resolved
Hide resolved
@dnechay applied suggestions, I think it looks good now :) |
All done @dnechay |
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.
Nice!
Issue tracking
HUM-127
Context behind the change
How has this been tested?
withLayoutBackground
- manually checked on mocked page, how do each ofpage-card*.tsx
lookRelease plan
normal deploy
Potential risks; What to monitor; Rollback plan
N/A