Skip to content

Conversation

@kellyjosephprice
Copy link
Contributor

@kellyjosephprice kellyjosephprice commented Apr 15, 2024

PR App Fix RM-9018 RM-9022

🧰 Changes

Supports Variables and GlossaryItems!

Ok, so this PR only has a small 🤏 code change for those components. We just have to format the correct jsx in the editor for this to work, I think.

This PR does

  • rename tests from flavored-* to *
  • removes yaml from the top of the doc
  • runs the variable browser test

🧬 QA & Testing

@kellyjosephprice kellyjosephprice changed the base branch from next to beta April 15, 2024 21:18
@kellyjosephprice kellyjosephprice marked this pull request as ready for review April 15, 2024 22:27
Copy link
Contributor

@trishaprile trishaprile left a comment

Choose a reason for hiding this comment

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

niceee
one behavior I noticed is that << breaks the page

example/Form.tsx Outdated
Comment on lines 24 to 28
console.log(params);
return params;
});

navigate(event.target.value);
console.log(event.target.value);
Copy link
Contributor

Choose a reason for hiding this comment

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

👀

Comment on lines +2 to +16
title: 'Variable Tests'
category: 5fdf9fc9c2a7ef443e937315
hidden: true
---
<<defvar>> and `<<defvar>>` and:

<Variable variable="defvar" /> and `<Variable variable="defvar" />` and:

```
<<defvar>>
<Variable variable="defvar" />
```

and

```js
const xyz = "<<defvar>>";
const xyz = "<Variable variable="defvar" />";
Copy link
Contributor

Choose a reason for hiding this comment

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

should we also add an example for <GlossaryItem /> to this?

@kellyjosephprice
Copy link
Contributor Author

niceee one behavior I noticed is that << breaks the page

Yea, not sure what to do with parsing errors yet.

I do not want to support the old syntax since it causes a parsing error, that just sounds like a bad time.

@kellyjosephprice
Copy link
Contributor Author

I'm going to merge this, but if you have any other reviews please let me know!

@kellyjosephprice kellyjosephprice merged commit aeebd7c into beta Apr 17, 2024
@kellyjosephprice kellyjosephprice deleted the mdx/variables branch April 17, 2024 00:08
rafegoldberg pushed a commit that referenced this pull request Apr 17, 2024
## Version 6.75.0-beta.27

### ✨ New & Improved

* variables and glossary ([#865](#865)) ([aeebd7c](aeebd7c))

<!--SKIP CI-->
@rafegoldberg
Copy link
Contributor

This PR was released!

🚀 Changes included in v6.75.0-beta.27

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