Skip to content

Add :applies_to: prop to dropdown directive - #1949

Merged
reakaleek merged 7 commits into
mainfrom
feature/applies-to-dropdown
Sep 29, 2025
Merged

reakaleek merged 7 commits into
mainfrom
feature/applies-to-dropdown

Conversation

@reakaleek

@reakaleek reakaleek commented Sep 26, 2025 •

Copy link
Copy Markdown
Member

Changes

  • Adds the :applies_to: prop to the dropdown directive
  • Fixes the prop parsing (It didn't handle : in the value correctly)
  • Add additional tests

Screenshot

image

@reakaleek
reakaleek requested review from a team as code owners September 26, 2025 17:45
@reakaleek
reakaleek requested a review from Mpdreamz September 26, 2025 17:45
@github-actions

github-actions Bot commented Sep 26, 2025 •

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@Mpdreamz

Mpdreamz commented Sep 26, 2025 •

Copy link
Copy Markdown
Member

Would this look better as inline 'real' badges?

I like the visual divider border between them.

@reakaleek

Copy link
Copy Markdown
Member Author

Would this look better as inline 'real' badges?

I like the visual divider border between them.

image

WDYT? The separator looked like too much when it's actual badges again

@Mpdreamz

Copy link
Copy Markdown
Member

I love it :)

@reakaleek

Copy link
Copy Markdown
Member Author

I love it :)

I also like it more. But I think the original implementation/design is more consistent with the new applies switch.

Hence, I will keep it for now.. after the admonitions PR, I might create a PR to show how it would like like in all.

@florent-leborgne florent-leborgne left a comment

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.

Nice!

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.

3 participants