Skip to content
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: files-and-videos folder #672

Merged

Conversation

KristinAoki
Copy link
Member

No description provided.

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (3dac6aa) 88.19% compared to head (56fc521) 88.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #672      +/-   ##
==========================================
- Coverage   88.19%   88.19%   -0.01%     
==========================================
  Files         417      418       +1     
  Lines        6600     6598       -2     
  Branches     1430     1427       -3     
==========================================
- Hits         5821     5819       -2     
  Misses        755      755              
  Partials       24       24              
Files Coverage Δ
...les-and-videos/files-page/FileInfoModalSidebar.jsx 83.33% <100.00%> (ø)
src/files-and-videos/files-page/FileThumbnail.jsx 100.00% <100.00%> (ø)
src/files-and-videos/files-page/FilesPage.jsx 100.00% <100.00%> (ø)
.../files-and-videos/files-page/FilesPageProvider.jsx 100.00% <100.00%> (ø)
src/files-and-videos/files-page/data/api.js 100.00% <ø> (ø)
src/files-and-videos/files-page/data/slice.js 95.00% <ø> (ø)
src/files-and-videos/files-page/data/thunks.js 100.00% <ø> (ø)
src/files-and-videos/files-page/data/utils.js 100.00% <ø> (ø)
src/files-and-videos/generic/ApiStatusToast.jsx 71.42% <ø> (ø)
src/files-and-videos/generic/EditFileErrors.jsx 72.72% <ø> (ø)
... and 24 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jesperhodge jesperhodge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left one little request for renaming, but everything looks great. The folder structure is really clear to understand, and it's very consistent with the rest of the repo (especially the 'generics' folder). It's nicely scalable now so that we can organize files the same way in other folders and everything is still consistent.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is better named constants.js because this is the naming we use everywhere else in the project

@KristinAoki KristinAoki merged commit 78eb512 into master Nov 8, 2023
4 of 5 checks passed
@KristinAoki KristinAoki deleted the KristinAoki/refactor-files-and-videos-folder-structure branch November 8, 2023 20:54
Ian2012 pushed a commit to eduNEXT/frontend-app-course-authoring that referenced this pull request Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants