Cleanup static files and fix related issues #5312
Labels
1 - Request
Improvements or extensions to existing behavior
type:housekeeping
Code cleanup and refactoring
Milestone
defaulttype="table"
Attribute #4737Besides that, since there is a lot of duplication for each discipline, I've only left a single comment for each type of app resource in a single discipline. Any comments on a type of app resource should apply anywhere it appears.
If there are no comments on a type of app resource, that means I found usages of the app resource in Specify 7 and it should be kept.
I actually don't think Specify 7 accesses any file in the
accessions
directory.It looks like it is supposed to be a type of discipline, but even if a discipline has the
accessions
type, it's not defined in the DISCIPLINE_DIRS:specify7/specifyweb/context/app_resource.py
Lines 26 to 41 in 2a0b516
So it will never be accessed when determining the file path:
specify7/specifyweb/context/app_resource.py
Lines 88 to 103 in 2a0b516
This file shouldn't be needed: Specify 7 has its own implementation for statistics.
Although, people can still access this file using /context/app.resource?name=CollStats, so keep it if you want 🤷
config/backstop/preferences.views.out.xml
config/backstop/prefs_panel_def.xml
config/backstop/security.xml
config/backstop/statistics.xml
config/accessions/accessions.views.xml
config/backstop/dialog_defs.xml
config/backstop/editorpanel.views.xml
config/backstop/gbif.views.xml
config/backstop/search_config.xml
config/backstop/uistrformatters.xml
config/bird/guest/startup_panel.xml
config/bird/preptypes.xml
config/bird/queryextralist.xml
config/botany/default_sgr_matchers.xml
config/defaultperms/prefsperms.xml
config/defaultperms/tasks.xml
config/defaultperms/dataobjs.xml
config/disciplines.xml
config/icon_factory_mapping.xml
config/ireportconfig.xml
config/specify_workbench_upload_def.xml
From the analyze of @melton-jason on pr #5266
The text was updated successfully, but these errors were encountered: