Skip to content

feat(design-system): add wizard/stepper enchantments, draggable panel [AR-44336]#137

Merged
mmurawski-dn merged 13 commits into
drivenets:mainfrom
mmurawski-dn:drivenets/michal/AR-44336-wizard-stepper
Feb 11, 2026
Merged

feat(design-system): add wizard/stepper enchantments, draggable panel [AR-44336]#137
mmurawski-dn merged 13 commits into
drivenets:mainfrom
mmurawski-dn:drivenets/michal/AR-44336-wizard-stepper

Conversation

@mmurawski-dn
Copy link
Copy Markdown
Collaborator

@mmurawski-dn mmurawski-dn commented Feb 9, 2026

@mmurawski-dn mmurawski-dn force-pushed the drivenets/michal/AR-44336-wizard-stepper branch from 25b2ad1 to 18be852 Compare February 9, 2026 22:18
@mmurawski-dn mmurawski-dn force-pushed the drivenets/michal/AR-44336-wizard-stepper branch from 18be852 to c8d6d4e Compare February 9, 2026 22:46
vpolessky-dn
vpolessky-dn previously approved these changes Feb 10, 2026
iromanchuk-dn
iromanchuk-dn previously approved these changes Feb 10, 2026
Comment thread eslint.config.base.ts Outdated
Comment thread .changeset/frank-toes-prove.md Outdated
Comment thread packages/design-system/src/components/ds-panel/ds-panel.stories.tsx Outdated
Comment thread packages/design-system/src/components/ds-panel/ds-panel.stories.tsx Outdated
import { DsIcon } from '../ds-icon';
import type { DsPanelCollapseButtonProps, DsPanelProps } from './ds-panel.types';

function useDraggable(enabled: boolean) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

To be fair, I did not see that one :O hmm, not sure what's better. Here, we just add one hook and call it a day; ARK has the built-in component, but it will be more to revamp, cause the current one uses radix, right? 🤔

Maybe a ticket to migrate to the floating panel from ark-ui? WDYT @StyleShit

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ouch, this is an elephant in the room 😅
We’re a bit tight on time here. We already said this component is ready and we’re planning to show it in tomorrow’s demo.
I’m +1 on Michal’s idea — let’s merge it as is and open a ticket to migrate it to ark-ui afterward.
We have a call with Inbal in ~40 mins, so we can double-check with her then if that works.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@StyleShit Inbal has approved this approach.

Comment thread packages/design-system/src/components/ds-stepper/ds-stepper.stories.tsx Outdated
Comment on lines +24 to +26
const childArray = React.Children.toArray(children);
const steps = childArray.filter((child) => React.isValidElement(child) && child.type === DsStep);
const actions = childArray.filter((child) => !(React.isValidElement(child) && child.type === DsStep));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

feels overkill
why do we need this? can't we just trust that the users will pass the components properly?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fixed

Comment thread packages/design-system/src/components/ds-stepper/ds-stepper.tsx Outdated
Comment thread tsconfig.base.json
Comment thread eslint.config.base.ts Outdated
onComplete?: steps.Props['onStepComplete'];
activeStep?: steps.Props['step'];
className?: string;
actions?: ReactNode;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

what's the difference between these actions and the StepperContent actions?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Wrong naming, those are horizontalActions only

@github-actions github-actions Bot removed the tooling label Feb 11, 2026
iromanchuk-dn
iromanchuk-dn previously approved these changes Feb 11, 2026
vpolessky-dn
vpolessky-dn previously approved these changes Feb 11, 2026
@mmurawski-dn mmurawski-dn merged commit 9b50b80 into drivenets:main Feb 11, 2026
16 checks passed
@mmurawski-dn mmurawski-dn deleted the drivenets/michal/AR-44336-wizard-stepper branch February 11, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants