Make the dashboard into a seperate folder within frontend/src #602
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K#602
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The dashboard was implemented as a component which is wrong, the components folder is supposed to consist be reusable frontend components.(dropdowns and toggle buttons is perfect example). Right now dashboard is being broken out causing the components folder to be bloated with dashboard specific elements.
EDIT: The decision has been made to hold the implementation until the temporary merge branch, i will note the developer about trying to prepare as much as possible in order to make the change as smoothly as possible.
Might be a good idea to do this during merge
You mean afterwards?
During, when we fix inevitable issues in the temp branch
Alright! i think this is a good idea.
Work in progress
Perhaps a review before "implementing" the file-system? @b24johka @a24vinla
The main index file in the frontend should probably not be moved. its the starting point for the whole front end module. The major concern with having multiple index files is if they're heavily nested they can interfere with each other. I can only find 2 index files in the frontend directory, where would the third be located?
Other than that i think all of the changes are reasonable, the diagram is showing which files are being moved from the current system. are we gonna make one more diagram showing how the system after the change should look?
My bad for not being clear, there is no main index file, my suggestion is to combine the 3 existing to have an main index within the frontend folder that specify all file paths (imports).
@b24johka wrote in #602 (comment):
One under src, one under features, one under pages and last under components. The one under src do have some rendering which we could keep as it is.
I think this is a good idea! Seems incorrect to have multiple index files when we could combine them instead!
Should I start to make the folders missing so that we can arrange files after merge or do we need to add something? @b24johka @a24vinla
Implementation is done, no "big" index file made and a pull-request has been made.
Good instinct to do this type of refactoring between / inside merge.
Once the code is more stable and we start deploying this type of refactoring may be very complicated.
PR #645 is closed and merged will close this aswell