gitlab-org--gitlab-foss/spec/javascripts/repo/components
Phil Hughes b1b91aa065
Refactored multi-file data structure
This moves away from storing in a single array just to render the table.
It now stores in a multi-dimensional array/object type where each entry
in the array can have its own tree. This makes storing the data for
future feature a little easier as there is only one way to store the
data.

Previously to insert a directory the code had to insert the directory
& then the file at the right point in the array. Now the directory
can be inserted anywhere & then a file can be quickly added into this
directory.

The rendering is still done with a single array, but this is handled
through underscore. Underscore takes the array & then goes through
each item to flatten it into one. It is done this way to save changing
the markup away from table, keeping it as a table keeps it semantically
correct.
2017-10-16 11:29:30 +01:00
..
repo_commit_section_spec.js Add create merge checkbox. 2017-10-12 21:04:17 +00:00
repo_edit_button_spec.js Fix karma test 2017-09-28 21:24:14 -04:00
repo_editor_spec.js Repo Editor Fixes 2017-08-15 18:16:42 +00:00
repo_file_buttons_spec.js Many Repo Fixes 2017-08-15 19:53:41 +00:00
repo_file_spec.js Fixed RepoFile Test 2017-10-04 17:27:56 +02:00
repo_loading_file_spec.js Many Repo Fixes 2017-08-15 19:53:41 +00:00
repo_prev_directory_spec.js Cover linkClicked in repo_prev_directory 2017-08-07 13:08:46 +01:00
repo_preview_spec.js fix test failures in repo_preview_spec.js 2017-08-07 22:08:54 -05:00
repo_sidebar_spec.js Merge branch 'ide-fix-back-btn' into 'master' 2017-10-06 17:39:32 +00:00
repo_tab_spec.js Repo Editor Fixes 2017-08-15 18:16:42 +00:00
repo_tabs_spec.js Many Repo Fixes 2017-08-15 19:53:41 +00:00