-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
chore: Move charts to src/pages folder #22230
chore: Move charts to src/pages folder #22230
Conversation
Codecov Report
@@ Coverage Diff @@
## master #22230 +/- ##
==========================================
- Coverage 65.61% 65.57% -0.04%
==========================================
Files 1869 1869
Lines 71582 71549 -33
Branches 7814 7821 +7
==========================================
- Hits 46968 46918 -50
- Misses 22573 22603 +30
+ Partials 2041 2028 -13
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I think it looks good, but pinging @michael-s-molina for review as his more familiar with the proposed folder structure. 1 concern though - if we're moving stuff to the new |
@kgabryje If we move all pages at once we break a lot of open PR. I guess the best strategy would be to move them one by one and select only those pages that have little activity so as not to break current PRs. |
I agree. I'm taking the iterative approach to reduce impact. @EugeneTorap One thing I was planning to do before start moving components to the pages folder was to create a sketch of how it would look in the end. This would help with folder naming definitions, how to break the work into multiple PRs, and with the reviews. This is also a required step for the final wiki page that will contain the final proposed structure. The idea would be to do a before/after of the components involved with the pages so we can validate the structure. Something like: Before
After
I think the best place for this work is a Github discussion with the title |
@michael-s-molina Deal me in! |
Cool. I'll wait for the discussion before merging this PR then. Feel free to ping me when the discussion is open. |
@michael-s-molina Done! #22330 |
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.
Thank you for the PR @EugeneTorap. Some comments:
- It seems
types.ts
is not being used anywhere. If that's the case, we can delete it. ChartCard
is used byChartList
andWelcome
pages. It should belong in thefeatures/charts
folder.ChartCreation
should be renamed toindex.tsx
to follow the same pattern used by thecomponents
folder
@michael-s-molina Can we merge it? |
/testenv up |
@michael-s-molina Ephemeral environment spinning up at http://35.91.199.214:8080. Credentials are |
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
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
Moved
ChartCreation
&ChartList
tosrc/pages
folder to apply the direction outlined in #22330This work is part of SIP-61
ADDITIONAL INFORMATION