-
Notifications
You must be signed in to change notification settings - Fork 7
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
refactor: create project page #1134
base: main
Are you sure you want to change the base?
Conversation
|
✅ Deploy Preview for harness-design ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for harness-xd-review ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
A few suggestions. I'd like to avoid the noise image if possible. Someone from the implementation team would be best to sign off on the changes in apps/gitness
apps/design-system/src/subjects/views/project-create/project-create-view.tsx
Outdated
Show resolved
Hide resolved
94e6d66
to
ed1b0b1
Compare
{ | ||
path: 'create', | ||
element: ( | ||
<AppProvider> |
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.
I didn't understand why we need to move this out of the /
wrapper which already rendered AppProvider.
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.
We moved this out of the / wrapper because we don’t need the AppShell to be rendered with the CreateProject page. Keeping it inside would result in rendering a lot of unnecessary that are not needed for this specific page.
75df132
to
5dfcc0b
Compare
5dfcc0b
to
892927e
Compare
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.
Just a minor suggestion to avoid a lint warning
} | ||
|
||
export const LandingPageView: React.FC<LandingPageProps> = ({ spaces, useTranslationStore }) => { | ||
const navigate = useNavigate() | ||
export const LandingPageView: React.FC<LandingPageProps> = ({ |
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.
Looks like React
isn't imported in this file, so this will cause a lint warning. Can we directly import FC
instead?
export const LandingPageView: React.FC<LandingPageProps> = ({ | |
export const LandingPageView: FC<LandingPageProps> = ({ |
LandingPage
to the design systemMore context in the video below (38sec):
loom-video.mp4