Skip to content

feat(CC-batch-8): added batch 8#11870

Closed
mattnolting wants to merge 14 commits intopatternfly:mainfrom
mattnolting:feat-CC-batch-8
Closed

feat(CC-batch-8): added batch 8#11870
mattnolting wants to merge 14 commits intopatternfly:mainfrom
mattnolting:feat-CC-batch-8

Conversation

@mattnolting
Copy link
Copy Markdown
Contributor

@mattnolting mattnolting commented Jun 12, 2025

Relates to: #11624

Included components:

  • Slider
  • Spinner
  • Tabs
  • Timestamp
  • ToggleGroup
  • Tooltip

Component tracker

Figma preview

Resources:

@patternfly-build
Copy link
Copy Markdown
Collaborator

patternfly-build commented Jun 12, 2025

@mattnolting mattnolting marked this pull request as draft June 17, 2025 14:54
@mattnolting mattnolting marked this pull request as ready for review June 24, 2025 15:22
props: {
// boolean
isInputVisible: figma.boolean('Value input'),
minmaxValues: figma.boolean('Min/max values'),
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.

I don't see "Min/max values" in Figma. This maps below to the showBoundaries prop, the logic makes sense but maybe this has been removed from Figma and should be removed here as well?

Comment thread packages/code-connect/components/Slider/Slider.figma.tsx Outdated
Comment thread packages/code-connect/components/Slider/Slider.figma.tsx Outdated
Comment thread packages/code-connect/components/Slider/Slider.figma.tsx Outdated
Comment thread packages/code-connect/components/Slider/Slider.figma.tsx Outdated
@mattnolting mattnolting force-pushed the feat-CC-batch-8 branch 3 times, most recently from 0d1081f to 616400f Compare July 31, 2025 19:33
timeFormat: figma.enum('Format', {
'Without time': undefined,
Abbreviated: 'short',
Numeric: 'numeric'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

numeric isn't a value of timeFormat in the props.

timeFormat allows the values: full, long, medium, short.

'Without time': 'medium',
'Without day': undefined,
Abbreviated: 'short',
Numeric: 'numeric'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as timeFormat, numeric isn't a value. The values are the same as timeFormat: full, medium, long, short.

date={props.defaultTimestampContent}
timeFormat={props.timeFormat}
dateFormat={props.dateFormat}
dateContent={props.dateFormat}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

dateContent isn't a prop of Timestamp.

{
props: {
// enum
size: figma.enum('Size', {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should be passed as isCompact to the component.

}),

// nested props
leftItem: figma.nestedProps('Base components/Toggle groups parts', {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't know what leftItem, middleItem1, middleItem2, rightItem represent here. Do they need to be defined when children already exists?

@mattnolting mattnolting force-pushed the feat-CC-batch-8 branch 2 times, most recently from 4981f61 to ad4eb74 Compare September 16, 2025 20:04
<Tab
eventKey={0}
isDisabled={props.isDisabled}
actions={props.popover}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This will not work - actions need to be wrapped in a component and the button in the TabAction needs to be referenced in a popover. for now, I think the value of popover should be:

popover: figma.boolean('Help button', {
    true: (
      <TabAction aria-label={`Close tab`} onClick={() => {}} >
           <TimesIcon />
      </TabAction>
    ),
    false: undefined
  })

<Tab
eventKey={0}
isDisabled={props.isDisabled}
actions={props.popover}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same - if the only thing being passed to the actions component is a popover, nothing will render

{
props: {
// string
defaultTimestampContent: figma.string('✏️ Default timestamp content'),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is not being used by anything

// enum
date: figma.enum('Format', {
Default: figma.string('✏️ Default timestamp content'),
'Without time': figma.string('✏️ Without time'),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These strings with emojis are not doing anything to update the timestamp value. I think each of these values have a different set of props they should be updating in the timestamp component to update the format of the rendered component.

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the Stale label Dec 14, 2025
@evwilkin evwilkin closed this Apr 10, 2026
@evwilkin
Copy link
Copy Markdown
Member

Closed per discussion due to new AI tooling which relieves the maintenance and tech debt that Code Connect manual files introduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants