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.

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.

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

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.

3 participants