Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(DescriptionList): added in drawer demo#11404

Merged
mfrances17 merged 3 commits intopatternfly:mainfrom
thatblindgeye:desclist-drawer-demo
Jan 14, 2025
Merged

chore(DescriptionList): added in drawer demo#11404
mfrances17 merged 3 commits intopatternfly:mainfrom
thatblindgeye:desclist-drawer-demo

Conversation

Copy link
Contributor

thatblindgeye commented Jan 9, 2025

What: Closes #10227

Additional issues:
Based off latest updates to #10229, and also updating/removing things based on v6 changes (updating or removing props, replacing Text and TextContent with Content).

thatblindgeye requested review from a team, bekah-stephens, lboehling, mcoker, mfrances17 and tlabaj and removed request for a team January 9, 2025 19:50
thatblindgeye mentioned this pull request Jan 9, 2025
Copy link
Collaborator

patternfly-build commented Jan 9, 2025 *
edited
Loading

Copy link
Contributor

nicolethoen left a comment

Choose a reason for hiding this comment

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

Something weird is happening with the RTL switcher in this new demo. If the drawer is already open and I switch to rtl, then it disappears. If it's already closed and I open it in RTL mode, it pushes the content out in a way that it doesn't when not using RTL

mcoker mentioned this pull request Jan 10, 2025
mcoker approved these changes Jan 10, 2025
Copy link
Contributor

mcoker left a comment

Choose a reason for hiding this comment

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

LGTM, just one little nit on the page section variant

Copy link
Contributor

mcoker commented Jan 10, 2025

@nicolethoen nice catch! Looks like that's probably just a bug in core not calculating the translate direction properly in RTL. Filed an issue for that here - patternfly/patternfly#7292

nicolethoen reacted with thumbs up emoji

mcoker approved these changes Jan 10, 2025
Copy link
Contributor

mcoker left a comment

Choose a reason for hiding this comment

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

nicolethoen approved these changes Jan 10, 2025
mfrances17 approved these changes Jan 10, 2025
Copy link
Contributor

mfrances17 left a comment

Choose a reason for hiding this comment

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

Looks good. There are a couple of exceptions thrown but they only appear to be happening when running in surge, not in the demo docs (occurs for the Basic desc list demo as well).

Also it threw me a bit to see the Open in drawer link with the drawer defaulted to open. Be nice if text would change based on status of drawer open/closed (Close drawer/Open drawer).

bekah-stephens approved these changes Jan 13, 2025
Copy link

bekah-stephens commented Jan 13, 2025

Small thing related to @mfrances17 point. I think it's okay that the "Open drawer" text doesn't change to "Close drawer" when the drawer is open, but only if you aren't able to click that text again to close it (it looks like you can only click the close X in the drawer itself right now)

The only thing that's a little weird is that when you hover over the "Open drawer" text when the drawer is open, it does change to the hover state even though you can't actually click the text (which makes me feel like I should be able to click it)

thatblindgeye force-pushed the desclist-drawer-demo branch from f929d17 to 64f6177 Compare January 13, 2025 19:09
Copy link
Contributor Author

thatblindgeye commented Jan 13, 2025

@mfrances17 @bekah-stephens updated the demo to make that button dynamic. The text will change based on the drawer state, and clicking it will toggle the drawer rather than only always opening it.

Copy link
Contributor

mfrances17 commented Jan 14, 2025

@thatblindgeye Tested the updated demo and the open/close drawer is much more clean and intuitive, well done and thank you! Merging...

mfrances17 merged commit 22d074f into patternfly:main Jan 14, 2025
10 checks passed
Copy link
Collaborator

patternfly-build commented Jan 14, 2025

Your changes have been released in:

  • @patternfly/react-code-editor@6.2.0-prerelease.4
  • @patternfly/react-core@6.2.0-prerelease.3
  • @patternfly/react-docs@7.2.0-prerelease.7
  • @patternfly/react-drag-drop@6.2.0-prerelease.4
  • demo-app-ts@6.0.0-prerelease.52
  • @patternfly/react-table@6.2.0-prerelease.4
  • @patternfly/react-templates@6.2.0-prerelease.4

Thanks for your contribution!

mattnolting pushed a commit to mattnolting/patternfly-react that referenced this pull request Feb 14, 2025
* chore(DescriptionList): added in drawer demo

* Removed page section styling

* Updated card button behavior to match state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

nicolethoen nicolethoen approved these changes

mcoker mcoker approved these changes

bekah-stephens bekah-stephens approved these changes

tlabaj Awaiting requested review from tlabaj tlabaj was automatically assigned from patternfly/react-reviewers

lboehling Awaiting requested review from lboehling lboehling was automatically assigned from patternfly/design-reviewers

+1 more reviewer

mfrances17 mfrances17 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Description list in Drawer demo

6 participants