Skip to content

feat: glossary niceness and more - #879

Merged
kellyjosephprice merged 7 commits into
betafrom
feat/glossary-niceness
May 22, 2024
Merged

kellyjosephprice merged 7 commits into
betafrom
feat/glossary-niceness

Conversation

@kellyjosephprice

@kellyjosephprice kellyjosephprice commented May 20, 2024 •

Copy link
Copy Markdown
Contributor
PR App Fix RM-9669, RM-9767

🧰 Changes

Refactors glossary stuff.

  1. <GlossaryItem /> -> <Glossary />
    I kept typing the wrong thing, so...

  2. <Glossary term="parliament" /> -> <Glossary>parliament</Glossary>
    Because greg said so.

  3. Moves the Glossary, Variables, and BaseUrl contexts into this repo. The values are now passed in as options. This should make mdx-renderer simpler.

🧬 QA & Testing

@kellyjosephprice
kellyjosephprice changed the base branch from next to beta May 20, 2024 22:29
@kellyjosephprice
kellyjosephprice marked this pull request as ready for review May 20, 2024 22:35

@jennspencer jennspencer left a comment

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.

LGTM but maybe change <Variable variable="thing" /> to like var="thing" because i've now read 'variable' too many times and it's no longer a real word to me

@kellyjosephprice

Copy link
Copy Markdown
Contributor Author

LGTM but maybe change <Variable variable="thing" /> to like var="thing" because i've now read 'variable' too many times and it's no longer a real word to me

Should it be similar to Glossary:

<Variable>thing</Variable>

@jennspencer

Copy link
Copy Markdown
Contributor

LGTM but maybe change <Variable variable="thing" /> to like var="thing" because i've now read 'variable' too many times and it's no longer a real word to me

Should it be similar to Glossary:

<Variable>thing</Variable>

that works for a glossary item because you're actually displaying the word, but it feels weird for a variable?

@kellyjosephprice
kellyjosephprice merged commit 43b5256 into beta May 22, 2024
@kellyjosephprice
kellyjosephprice deleted the feat/glossary-niceness branch May 22, 2024 22:43
rafegoldberg pushed a commit that referenced this pull request May 22, 2024
## Version 6.75.0-beta.36

### ✨ New & Improved

* glossary niceness and more ([#879](#879)) ([43b5256](43b5256))

<!--SKIP CI-->
@rafegoldberg

Copy link
Copy Markdown
Collaborator

This PR was released!

🚀 Changes included in v6.75.0-beta.36

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.

3 participants