Skip to content

Add all-band selection actions - #401

Merged
dfguerrerom merged 2 commits into
masterfrom
classification-select-all-bands
Aug 25, 2026
Merged

dfguerrerom merged 2 commits into
masterfrom
classification-select-all-bands

Conversation

@eriklindquist

@eriklindquist eriklindquist commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Band selectors in Classification, Regression, Unsupervised Classification, Remapping, Stack, and Band Math now use consistent Image bands collections with inline add and remove-all actions. Bulk selection is collision-safe for real bands named all, add controls disable when complete, and empty collections stay visible. Verified inside the running GUI container with full ESLint and Vitest: 85 files and 1,176 tests passed. The sampling-control work remains split into #408.

@dfguerrerom

Copy link
Copy Markdown
Contributor

Thanks @eriklindquist for this PR.

Could you please split the two features into two independent commits? They can remain on the same branch, but splitting them would make the review easier.

For the commit messages/descriptions, please only include information that isn’t evident from the code itself. Some of the information in the current commit description can be moved or merged into the PR.body.

@eriklindquist
eriklindquist force-pushed the classification-select-all-bands branch from 320bc97 to 6d81d6d Compare August 24, 2026 09:21
Placed as an entry inside the existing add-band dropdown (rather than
a separate button, which was the first iteration) so it uses the same
single point of interaction as adding individual bands.
@dfguerrerom
dfguerrerom force-pushed the classification-select-all-bands branch from 6d81d6d to 3d8e929 Compare August 24, 2026 12:38
@dfguerrerom dfguerrerom changed the title Add 'select all bands' option and training-data sampling controls Added 'All bands' option to the band-selection dropdown Aug 24, 2026
@dfguerrerom dfguerrerom changed the title Added 'All bands' option to the band-selection dropdown Add all-band selection actions Aug 24, 2026
@dfguerrerom
dfguerrerom force-pushed the classification-select-all-bands branch 5 times, most recently from 5e3743a to 46a60ef Compare August 25, 2026 13:01
@dfguerrerom
dfguerrerom force-pushed the classification-select-all-bands branch from 46a60ef to d9d83d3 Compare August 25, 2026 13:10
shape='circle'
title={removeTitle}
message={removeMessage}
confirmationLabel={removeConfirmationLabel}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lpaolini we did have to add the confirmation label param

@dfguerrerom
dfguerrerom merged commit 7307f67 into master Aug 25, 2026
@dfguerrerom

Copy link
Copy Markdown
Contributor

Updated after testing the band-selection flows more broadly.

  • [All bands] remains available without conflicting with real bands named all;
  • Remapping, Stack, and Band Math now have consistent add-all behavior, and
  • Band Math uses the same Image bands collection UI in input imagery and CALC.

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.

2 participants