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

Improve affordance of interactive examples #1775

Open
Ryuno-Ki opened this issue Feb 6, 2021 · 7 comments
Open

Improve affordance of interactive examples #1775

Ryuno-Ki opened this issue Feb 6, 2021 · 7 comments
Labels
idle Issues and pull requests with no activity for three months.

Comments

@Ryuno-Ki
Copy link

Ryuno-Ki commented Feb 6, 2021

First off: I'm not entirely sure, whether this issue belongs into mdn/content or mdn/mdn-minimalist. Feel free to move it if you see apt.

My trigger for opening is a tweet by @codepo8 from the other day:

The flexbox explanation page of @MozDevNet is excellent, took me a while to realise that I can edit the code example boxes and play around with them.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Aligning_Items_in_a_Flex_Container

I asked him what could be done to improve the experience. His idea was to show a pen.

In my experience, a pen might be understandable to some people (basically anybody who have prior experience on editing on the web. Even GitHub shows a pen to edit files). I'm not 💯 sure, whether it is universally understood, though. Perhaps a word would be easier?

That being said, it could be a sign of bad design to … expressively expose this affordance. Good design should feel intuitive.
Nevertheless, it looks like even technical people struggle with our interactive examples, which should be reason enough to think about improvements here.

@avivmu
Copy link

avivmu commented Feb 10, 2021

The reset button gives a hint about the editing capability so I'm not sure how much of an issue it is. Plus the article gives specific instructions about this:

Change the size of the container or nested element and the nested element always remains centered.

Try the other values and see how all of the items align against each other in the flex container.

@schalkneethling schalkneethling transferred this issue from mdn/mdn-minimalist Mar 1, 2021
@welcome
Copy link

welcome bot commented Mar 1, 2021

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.

@peterbe
Copy link
Contributor

peterbe commented Mar 1, 2021

Can you make the cursor blink?

@Ryuno-Ki
Copy link
Author

Ryuno-Ki commented Mar 1, 2021

https://stackoverflow.com/a/42482756 sounds like it could work …

@rachelandrew
Copy link
Collaborator

The examples being discussed there aren't the Interactive Examples from this repo. Those are regular MDN examples, some of which are embedded right into the pages, I tend to do mine in the css-examples repo and then embed them (which is what these are). It works, but probably isn't the most elegant solution.

@Ryuno-Ki
Copy link
Author

@rachelandrew Do you want me to fill an issue against another repository then?

@rachelandrew
Copy link
Collaborator

I'm on it :)

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle Issues and pull requests with no activity for three months.
Projects
Development

No branches or pull requests

4 participants