Tags: ljhgabe/RepoSense
Tags
[reposense#1446] Restore the name on authorship panel after reloading (… …reposense#1458) The display name of the author is not shown after reloading the authorship panel. Let's enable the restoring of the name after reloading by adding an extra attribute to the state of `v_authorship`.
[reposense#1382] Avoid rerendering tabs unnecessarily (reposense#1390) Tabs are destroyed and rerendered based on a key which can lead to mysterious bugs. Furthermore, tab information is passed indirectly from store to `main.js` before being passed to the tab itself. Let's - clean up the code such that tabs do not need to completely rerender when information changes. - pass the tab information directly.
Remove unused classes (reposense#1363) Currently there exists some pug files which contain classes not referenced in any stylesheet or javascript code. Removing unused classes would improve the readability of code. Let's remove unused css classes from pug files.
[reposense#929, reposense#1002, reposense#1097]: Remove unused code (r… …eposense#1177) There are instances of unused code across the files `RepoLocation.java`, `LogsManager.java` and `FileUtil.java`. Let's remove them for better code quality.
[reposense#865] AuthorConfig: further improve the branch field (repos… …ense#878) In the author-config.csv, branch is an optional field that will automatically uses the default branch in the repo field. However, this can be improved such that if the branch field is not filled, we can bind that AuthorConfig to all the RepoConfig that has the same repo's location irregardless of branch. This can help users to easily setup config files to analyse multiple branches of a repo. Let's bind the AuthorConfig to all the RepoConfig that has the same repo's location irregardless of branch if the branch field is not filled.
[reposense#858] Restore authorship tab (reposense#874) Authorship tab is not restorable after refreshing the page. Restoring authorship tab requires the since and until date hashes whereas PR reposense#757 has made changes where the date hashes will not be captured in the URL if not specified by the user. Let's - use the window's since and until date to restore the authorship tab if the date hashes are unavailable. - move the restoring of tab hashes to be executed after loadSummary() to ensure that the window's since and until date is available. - extract the deactivation of tab pane to a method instead of using the updated hook as the updated hook will be called repeatedly whenever there are data changes that affect the DOM.
PreviousNext