Skip to content

Default Task tables to OSM property columns#2847

Draft
CollinBeczak wants to merge 1 commit into
mainfrom
mr3-task-table-default-osm-columns
Draft

Default Task tables to OSM property columns#2847
CollinBeczak wants to merge 1 commit into
mainfrom
mr3-task-table-default-osm-columns

Conversation

@CollinBeczak

Copy link
Copy Markdown
Collaborator

Drop featureId (now redundant with renamed "OSM ID") and seed the default column set for the Manage Challenge task table and the "Work on Multiple Tasks Together" widget with the OSM properties most commonly inspected in the Task Properties widget: access, osmid, userid, changeset, timestamp.

  • TaskAnalysisTable: DEFAULT_COLUMNS now includes the :-prefixed task-property columns alongside id/status/priority/controls/comments
  • TaskBundleWidget: explicit showColumns updated for both bundled and unbundled states
  • TaskAnalysisTable: extract findColumn so the showColumns branch resolves :-prefixed task properties (previously only the default branch handled them, so explicit lists silently dropped property cols)
  • WithConfigurableColumns: handle :-prefixed columns when seeding addedColumns from defaults (previously gated behind allColumns[column] which is always false for dynamic property keys)

Drop `featureId` (now redundant with renamed "OSM ID") and seed the
default column set for the Manage Challenge task table and the
"Work on Multiple Tasks Together" widget with the OSM properties most
commonly inspected in the Task Properties widget: access, osmid,
userid, changeset, timestamp.

- TaskAnalysisTable: DEFAULT_COLUMNS now includes the `:`-prefixed
  task-property columns alongside id/status/priority/controls/comments
- TaskBundleWidget: explicit showColumns updated for both bundled
  and unbundled states
- TaskAnalysisTable: extract findColumn so the showColumns branch
  resolves `:`-prefixed task properties (previously only the default
  branch handled them, so explicit lists silently dropped property cols)
- WithConfigurableColumns: handle `:`-prefixed columns when seeding
  addedColumns from defaults (previously gated behind allColumns[column]
  which is always false for dynamic property keys)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant