Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: variable type markdown formatting #5931

Conversation

williamw2
Copy link
Contributor

Pull Request

📖 Description

This fixes the markdown formatting cleanup for variable types. The CEM markdown generator reads from the variable type property rather than the description or default properties when generating the markdown for variables.

However, the type is rendered as a single line string within a table cell and is pretty well unreadable when comments are included within the type. This fix addresses the immediate issue but we should probably discuss how we want to format these instances to make them more useful.

🎫 Issues

👩‍💻 Reviewer Notes

📑 Test Plan

✅ Checklist

General

  • I have included a change request file using $ yarn change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

⏭ Next Steps

@chrisdholt chrisdholt merged commit a4ba787 into users/chhol/remove-enums-in-favor-of-const-objects May 3, 2022
@chrisdholt chrisdholt deleted the users/williamw2/fix-variable-type-markup-formatting branch May 3, 2022 18:36
chrisdholt pushed a commit that referenced this pull request May 3, 2022
chrisdholt added a commit that referenced this pull request May 3, 2022
* convert enums to const objects

* convert component class enums to const objects and add supported types

* Change files

* convert orientation enum to const object with corresponding type

* Change files

* Fixed variable type formatting (#5931)

Co-authored-by: William Wagner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants