Skip to content

Conversation

@nakul-py
Copy link
Contributor

@nakul-py nakul-py commented Nov 20, 2025

Description

Fixing SingleBand pseudocolor band selector bug by separating hooks into useGetSingleBandInfo and useGetMultiBandInfo. The idea of separation of useGetBandInfo arise in #912 (comment)

cc @mfisher87 @martinRenou

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--998.org.readthedocs.build/en/998/
💡 JupyterLite preview: https://jupytergis--998.org.readthedocs.build/en/998/lite

@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch nakul-py/jupytergis/singleband-dropdown

@github-actions
Copy link
Contributor

Integration tests report: appsharing.space

bandsArr.push({
band: i,
bands.push({
band: i + 1,
Copy link
Member

Choose a reason for hiding this comment

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

This is the core of the fix, right? Are the rest of the changes necessary to fix this bug? Apologies, I've forgotten some of the context around this issue :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes this is the core fix. Rest of changes is also necessary because if we fix only in the useGetBandInfo so the Singleband bug teleport to Multiband because we are using common hook in both useGetBandInfo. More info here #912 (comment)

@nakul-py nakul-py requested a review from mfisher87 November 21, 2025 07:07
@mfisher87 mfisher87 added the bug Something isn't working label Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Singleband pseudocolor band selector doesn't respect user selection

2 participants