Refactor repository browsing into Vue: Folder list
- FE Weight: 6
- BE Weight: 3
Summary
(Note: this refactoring needs to be Feature Flagged)
In order to improve the experience and performance of browsing the repository file tree, we need to refactor this into Vue.
After this, we'll be able to implement the navigation without ever refreshing the whole page.
Plan:
- [purple] Refactor repository folder list to Vue (this issue)
- [blue] Refactor breadcrumbs
- [green] Refactor last commit widget
- [yellow] Integrate project buttons (might not need to be in Vue)
- Add navigation without page refreshes
![](/-/project/13083/uploads/2db8320a27eef7692a8ec953e4b5fa73/Screen_Shot_2019-05-03_at_21.13.41.png)
Improvements
We believe that in this step we can improve the following:
- The time that it takes to display the information of the last commit and last modified date (performance) see issue
In the future:
- Allow for quality of life improvements like:
- navigation without page refreshes
- better file viewers (even quick look?)
Risks
Features at risk with this issue:
- Rendering READMEs
- Navigating the file tree of a repository
Involved components
app/views/projects/tree/
This issue should not replace existing HAML templates, but add new Vue implementation behind a feature flag.
Optional: Intended side effects
- Opportunity to improve caching on BE
- Easier to build more improvements upon this
Optional: Missing test coverage
Edited by Douwe Maan