GithubHelp home page GithubHelp logo

Comments (12)

kitten avatar kitten commented on July 19, 2024

I think it might be a slippery slope of follow up problems. Suddenly you are dealing with a change on every structure, also in typography, nested menus, etc.

I’m not confident enough yet to think about this change but it will definitely become more urgent. For now it should hold up ok for the time being as the navigation has enough anchors. But we will need to implement separate pages soon, I agree

from styled-components-website.

mxstbr avatar mxstbr commented on July 19, 2024

Well the menu would stay the same, it's just that the subanchors would link to pages and the main anchor would show a list of subpages with an overview or something?

from styled-components-website.

kitten avatar kitten commented on July 19, 2024

@mxstbr I think that could work, but frankly, it's tricky to pull off. You're disrupting the flow of the page, and you'll need an index page for them. I think we can do that, but we'll need to test it before we ship it, as I'm unsure whether it'll work well :/

from styled-components-website.

mxstbr avatar mxstbr commented on July 19, 2024

The flow of the page? It's three entirely separate tools put together on one massive page, there's no flow to that right now either!

from styled-components-website.

kitten avatar kitten commented on July 19, 2024

@mxstbr I’m referring to these sections being part of a page. Once we create sub pages we need to think about switching between them. But the NextPage component could actually help with that?

from styled-components-website.

mxstbr avatar mxstbr commented on July 19, 2024

I'm talking in terms of the layout as a user, not in terms of the code; no idea how the code is set up rn.

To me, having the Babel plugin, the stylelint processor, the Jest matchers all on one page is suuuper weird and hard to navigate. Those should just be their own pages where these tools can live.

from styled-components-website.

kitten avatar kitten commented on July 19, 2024

@mxstbr yea, I agree that we need to separate them, but also trying to bring up the problems around it :) there just seem to be a lot of questions that need to be answered before we can jump onto implementing it

from styled-components-website.

mxstbr avatar mxstbr commented on July 19, 2024

Once we create sub pages we need to think about switching between them.

Well I mean that's what the breadcrumbs in the sidebar are for, right? That's why we show all the subsections there, so you can jump between them!

from styled-components-website.

kitten avatar kitten commented on July 19, 2024

Yes, but we’ll need to think about switching to the next page vs the next “topic” I.e. basics → advanced. We can change the NextPage component to display the next page instead of just the next “topic”. That would solve all problems imho

Having just the option to switch to the next page in the sidebar isn’t enough imho, as it prevents people from just reading on, as they’d have to look at the sidebar first

from styled-components-website.

mxstbr avatar mxstbr commented on July 19, 2024

Ahhh yeah sure, that's a code thing though. Agreed.

from styled-components-website.

kitten avatar kitten commented on July 19, 2024

@mxstbr Well, I was referring to the UX problem, but yea, should we open a separate issue first to collect ideas, or rename this one? I think it already developed into a proper discussion 😆

from styled-components-website.

mxstbr avatar mxstbr commented on July 19, 2024

Let's keep this one about tooling, the NextPage component behaviour wouldn't actually change compared to how it works today until we add the tooling pages so it's more of a refactor than a UX change?

from styled-components-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.