Skip to content

Retire and remove obsolete preferences #7445

@grantfitzsimmons

Description

@grantfitzsimmons

As part of ongoing code maintenance, several legacy preferences defined in remotePrefs.ts and CollectionDefinitions.tsx should be removed. These preferences have either been migrated to the User Preferences system or are no longer relevant.

Removing them will clean up the codebase, reduce potential confusion for developers, and ensure that outdated settings cannot be accidentally used.

Preferences Migrated to User Preferences

The following preferences have been replaced by settings within the User Preferences panel and can be safely removed. Any remaining logic tied to them should be stripped out.

  • TaxonTreeEditor.DisplayAuthor: Display Authors of Taxons next to nodes in the Tree Viewer (migrated in Move TaxonTreeEditor.DisplayAuthor to User Preferences #6841)
  • GeologicTimePeriod.treeview_sort_field: Sort order for nodes in the tree viewer
  • Taxon.treeview_sort_field: Sort order for nodes in the tree viewer
  • Geography.treeview_sort_field: Sort order for nodes in the tree viewer
  • LithoStrat.treeview_sort_field: Sort order for nodes in the tree viewer
  • Storage.treeview_sort_field: Sort order for nodes in the tree viewer
  • TectonicUnit.treeview_sort_field: Sort order for nodes in the tree viewer
  • TreeEditor.Rank.Threshold.GeologicTimePeriod: Show Collection Object count only for nodes with RankID >= than this value
  • TreeEditor.Rank.Threshold.Taxon: Show Collection Object count only for nodes with RankID >= than this value
  • TreeEditor.Rank.Threshold.Geography: Show Collection Object count only for nodes with RankID >= than this value
  • TreeEditor.Rank.Threshold.LithoStrat: Show Collection Object count only for nodes with RankID >= than this value
  • TreeEditor.Rank.Threshold.Storage: Show Collection Object count only for nodes with RankID >= than this value
  • TreeEditor.Rank.Threshold.TectonicUnit: Show Collection Object count only for nodes with RankID >= than this value

Obsolete Preferences

The following preferences are no longer necessary for application functionality and will not be migrated.

  • form.definition.columnSource: The platform to use as a source of columns.

Acceptance Criteria

  1. All listed preferences are removed from their definition files (e.g., remotePrefs.ts, CollectionDefinitions.tsx).
  2. A codebase search is performed to ensure no logic remains that references these preference keys.
  3. The application continues to function as expected, especially the Tree Viewer components, with these preferences removed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions