Skip to content

Conversation

@KoolADE85
Copy link
Contributor

@KoolADE85 KoolADE85 commented Aug 22, 2025

In this PR:

  • New Slider AND RangeSlider
  • Implemented as Typescript & a functional component
  • rc-slider is replaced with Radix Slider

Contributor Checklist

  • I have broken down my PR scope into the following TODO tasks
  • I have run the tests locally and they passed. (refer to testing section in contributing)
  • I have added tests, or extended existing tests, to cover any new features or bugs fixed in this PR

optionals

  • I have added entry in the CHANGELOG.md
  • If this PR needs a follow-up in dash docs, community thread, I have mentioned the relevant URLS as follows
    • this GitHub #PR number updates the dash docs
    • here is the show and tell thread in Plotly Dash community

@KoolADE85 KoolADE85 changed the base branch from dev to v4 August 22, 2025 16:50
@KoolADE85 KoolADE85 changed the base branch from v4 to feature/dcc-refactor-input August 22, 2025 16:50
@KoolADE85 KoolADE85 force-pushed the feature/dcc-refactor-slider branch from 5626ff1 to 0fab988 Compare August 22, 2025 19:59
@gvwilson gvwilson added feature something new P1 needed for current cycle labels Aug 26, 2025
@gvwilson
Copy link
Contributor

@T4rk1n please review (and complete if necessary) - we want this for Studio.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we put the test files in tests/unit, I just find it easier after that to manage test runners in ci/pre-commit if they are separated from the codebase.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 Moved to tests/unit.

persistence_type = PersistenceTypes.local,
// eslint-disable-next-line no-magic-numbers
verticalHeight = 400,
...rest
Copy link
Contributor

Choose a reason for hiding this comment

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

rest -> props dedupe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deduped.

Comment on lines 9 to 17
enum PersistenceTypes {
'local' = 'local',
'session' = 'session',
'memory' = 'memory',
}

enum PersistedProps {
'value' = 'value',
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Those will be the same for all the components that use ts, we can put them in the type.ts file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@KoolADE85 KoolADE85 changed the base branch from feature/dcc-refactor-input to v4 September 2, 2025 15:20
@KoolADE85 KoolADE85 force-pushed the feature/dcc-refactor-slider branch from 757d7cf to 7909533 Compare September 2, 2025 19:11
@KoolADE85 KoolADE85 marked this pull request as ready for review September 3, 2025 23:37
@KoolADE85 KoolADE85 force-pushed the feature/dcc-refactor-slider branch from 7cbd4f4 to 9e9ccf9 Compare September 5, 2025 21:22
@KoolADE85 KoolADE85 force-pushed the feature/dcc-refactor-slider branch from b8a0d71 to 076fa7a Compare September 8, 2025 15:43
Copy link
Contributor

@T4rk1n T4rk1n left a comment

Choose a reason for hiding this comment

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

💃

@KoolADE85 KoolADE85 merged commit 12683b4 into v4 Sep 9, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature something new P1 needed for current cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants