-
Notifications
You must be signed in to change notification settings - Fork 24
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
Remove unused code from CATcher #72
Comments
Adding some more after my personal investigation
Perhaps we can break up the task into sub-tasks by folders? That way the tasks are much more easier to complete, rather than having to go through all the folders within one issue. Wdyt @chunweii ? |
Yes, we should break fix this issue in several PRs. Removing all unused code in 1 PR might be too big of a change. |
I noticed |
As a majority of the WATcher code base is ported over from CATcher, it includes a lot of unused code. One such area is the code related to creating and updating issues on GitHub. Since WATcher is mainly used to read data from GitHub and not modify data for now. Let's remove code that is related to modifying or creating repos
ngx-markdown is a markdown formatter/parser that was ported over from CATcher. As WATcher does not use any form of markdown parser, this package currently does not serve any use in WATcher. Therefore, let's remove the unused package and the related components.
…ll-button * commit '36a0b41c369517022086d36ea6583625f4308289': [CATcher-org#72] Remove unused code from catcher models (CATcher-org#146) [CATcher-org#72] Remove package ngx-markdown (CATcher-org#145) Extract method from header.component into phase.service.ts (CATcher-org#162) [CATcher-org#72] Remove code related to creating and updating repos (CATcher-org#143) Autofill repository URL with Browser Cache (CATcher-org#159) Update PR template (CATcher-org#157) Update Readme (CATcher-org#158) Enclose PR/issues in scrollable container (CATcher-org#148) Show loading spinner on switch repository (CATcher-org#151) Add wrap for username in issues-viewer's card-view (CATcher-org#147) Update website title after changing repository (CATcher-org#141) Disable milestone filter if there are no milestones (CATcher-org#149) Fix pressing back to cause issues to being cleared (CATcher-org#142)
…apping * commit '80f84aeb6686bb9cae9e58463baf8942fc317256': Add reset labels feature (CATcher-org#150) Allow keyboard enter when changing repository (CATcher-org#177) Fix ng test type error (CATcher-org#175) Reduce code duplication in repository url suggestions (CATcher-org#170) Fix hover, click interaction with issue cards (CATcher-org#173) [CATcher-org#72] Remove unused code from catcher models (CATcher-org#146) [CATcher-org#72] Remove package ngx-markdown (CATcher-org#145) Extract method from header.component into phase.service.ts (CATcher-org#162) [CATcher-org#72] Remove code related to creating and updating repos (CATcher-org#143) Autofill repository URL with Browser Cache (CATcher-org#159) Update PR template (CATcher-org#157) Update Readme (CATcher-org#158) Enclose PR/issues in scrollable container (CATcher-org#148) Show loading spinner on switch repository (CATcher-org#151) Add wrap for username in issues-viewer's card-view (CATcher-org#147) Update website title after changing repository (CATcher-org#141) Disable milestone filter if there are no milestones (CATcher-org#149) Fix pressing back to cause issues to being cleared (CATcher-org#142)
* main: Add reset labels feature (CATcher-org#150) Allow keyboard enter when changing repository (CATcher-org#177) Fix ng test type error (CATcher-org#175) Reduce code duplication in repository url suggestions (CATcher-org#170) Fix hover, click interaction with issue cards (CATcher-org#173) [CATcher-org#72] Remove unused code from catcher models (CATcher-org#146) [CATcher-org#72] Remove package ngx-markdown (CATcher-org#145) Extract method from header.component into phase.service.ts (CATcher-org#162) [CATcher-org#72] Remove code related to creating and updating repos (CATcher-org#143) Autofill repository URL with Browser Cache (CATcher-org#159) Update PR template (CATcher-org#157) Update Readme (CATcher-org#158) Enclose PR/issues in scrollable container (CATcher-org#148) Show loading spinner on switch repository (CATcher-org#151) Add wrap for username in issues-viewer's card-view (CATcher-org#147) Update website title after changing repository (CATcher-org#141) Disable milestone filter if there are no milestones (CATcher-org#149) Fix pressing back to cause issues to being cleared (CATcher-org#142)
Since WATcher is a fork from CATcher, there are still many instances of old and unused code from CATcher. Let's remove these codes.
DataService
(used to access data.csv in CATcher)src/app/core/services/session-fix-confirmation
(component to ask user for permission to create a new repository)fetchSettingsFile()
andfetchDataFile()
ingithub.service.ts
issue.service.ts
There could be more unused code in the project. These are some that I have found
The text was updated successfully, but these errors were encountered: