Skip to content

Cleaned up .multiSelectionResponsive code and documentation. - #684

Merged
LTLA merged 3 commits into
develfrom
multiselectresponsive
Dec 9, 2024
Merged

LTLA merged 3 commits into
develfrom
multiselectresponsive

Conversation

@LTLA

@LTLA LTLA commented Nov 26, 2024

Copy link
Copy Markdown
Member

The 'dims' argument now only accepts a single dimension, either row or column; this is possible as the entire .multiSelectionResponsive generic is only called in one place with a non-"none" output from .multiSelectionDimension(). It allows us to greatly simplify the implementation of various methods.

Updated the documentation and signature to mention the new expectations. Also added a default Panel method that conservatively requires a re-render upon any multiple selection; subclasses can refine this for efficiency.

The 'dims' argument now only accepts a single dimension, either row or column;
this is possible as the entire .multiSelectionResponsive generic is only called
in one place with a non-"none" output from .multiSelectionDimension(). It
allows us to greatly simplify the implementation of various methods.

Updated the documentation and signature to mention the new expectations. Also
added a default Panel method that conservatively requires a re-render upon any
multiple selection; subclasses can refine this for efficiency.
@LTLA
LTLA merged commit 3adb21c into devel Dec 9, 2024
@LTLA
LTLA deleted the multiselectresponsive branch December 9, 2024 22:12
@kevinrue

Copy link
Copy Markdown
Member

pushed upstream!

I'll try and catch up on your latest updates over the Christmas break. Really busy right now, sorry!

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