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

Common MDX error documentation updates #1123

Closed
4 tasks
francinelucca opened this issue Aug 8, 2022 · 11 comments · Fixed by #1383
Closed
4 tasks

Common MDX error documentation updates #1123

francinelucca opened this issue Aug 8, 2022 · 11 comments · Fixed by #1383

Comments

@francinelucca
Copy link
Collaborator

francinelucca commented Aug 8, 2022

Summary

image

image

Job stories

What value will this deliver?

  1. When my authored content on platform has an error, I want to get more information on the error, so I can fix it.

Acceptance criteria

What requirements must be met to complete this request?

  • determine desired url for page content to live in
    • we want this to live in storybook next to the mdx components themselves so it is "in context"
  • design pattern for a problem/solution (i.e. how should the header/title look? should it start with text or an image? what is the general sentence structure of a solution?) (Common MDX errors problem/solution design pattern #1176)

TODO

@francinelucca
Copy link
Collaborator Author

what release should we mark this? is this v1? @mattrosno @kingtraceyj @aubrey-oneal 👀

@mattrosno
Copy link
Member

@francinelucca is this for our testing purposes? If so, can this live in Storybook?

Or is this for contributors to help them troubleshoot why their content isn't rendering?

@francinelucca
Copy link
Collaborator Author

@francinelucca is this for our testing purposes? If so, can this live in Storybook?

Or is this for contributors to help them troubleshoot why their content isn't rendering?

@mattrosno the latter! it's a list with all the common errors that can appear on the remotely loaded content and some guidance on how to fix

@mattrosno
Copy link
Member

@francinelucca this looks nice in the website and I can see how this could fit in the Contributing section. I'm just thinking about how all MDX documentation to browse available MDX components, to copy/paste code snippets, etc. is in Storybook. Would we want this documentation to live alongside the MDX component docs in Storybook? This entire page of markdown could be a story that live in a "MDX / Troubleshooting" section in Storybook, if we want.

Just throwing out something to consider. @aubrey-oneal

@mattrosno
Copy link
Member

An example of how docs can live in Storybook is Carbon Charts. It has a top "Docs" section with getting started content. We could have a top Docs section for getting started, but also help content like this, as well.

https://charts.carbondesignsystem.com/?path=/story/docs-getting-started--vanilla

@francinelucca francinelucca changed the title Common MDX Design Considerations Common MDX Errros Design Considerations Aug 16, 2022
This was referenced Aug 16, 2022
@kingtraceyj
Copy link
Member

we think this should go in storybook.

@mattrosno
Copy link
Member

Hey team! Please add your planning poker estimate with Zenhub @alisonjoseph @francinelucca @jdharvey-ibm

@jharvey10 jharvey10 changed the title Common MDX Errros Design Considerations Common MDX Errors Design Considerations Aug 25, 2022
@mattrosno mattrosno changed the title Common MDX Errors Design Considerations Common MDX Error Documentation Aug 25, 2022
@mattrosno
Copy link
Member

We'll re-evaluate after @jdharvey-ibm adds tasks.

@jharvey10 jharvey10 changed the title Common MDX Error Documentation Common MDX error documentation updates Aug 25, 2022
@kingtraceyj
Copy link
Member

Here is the Figma for the documentation pattern: https://www.figma.com/file/WyfqQh9R1VXYZErfmsNDVH/Platform_MDXerrors?node-id=317%3A11967

image

one note i forgot to mention in our meeting—would it be possible to have the examples on white rather than a darker grey?
image

@jharvey10
Copy link
Contributor

@kingtraceyj Yeah, we can definitely do them on white!

@francinelucca
Copy link
Collaborator Author

Issue to put page in SB: #1430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants