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

The Remix Starter Project (from projects page) doesn't show the Pages tab #5410

Closed
2 of 7 tasks
maltenuhn opened this issue Apr 27, 2024 · 0 comments
Closed
2 of 7 tasks
Assignees

Comments

@maltenuhn
Copy link
Member

maltenuhn commented Apr 27, 2024

Problem
We now have the remix starter project with a few pages. It should help us and folks using Remix to easily show and test the remix-specific capabilities of Utopia, but it doesn't quite do that yet:

  1. the remix scene in the project is empty and non-navigable
  2. there is a non-remix scene with content - which distracts
  3. there's no pages tab

Image

Solution

  • Make the default remix scene render content, and include a link so you can navigate
  • Delete the non-remix scene in the project

The following was moved to #5451 :

  • Show the pages tab based on some condition (eg: @remix being imported and / or routes existing) that works in a project without a .utopia config file (e.g. @remix package being imported, routes existing etc)

If we need the config to populate that tab, use the following strategies to make that not the case

  • if 'add page' requires page template, disable the button if none such exists
  • if 'favorites' requires an entry in the Utopia config, make it work without it and then add the entry
  • if the whole tab contents still can't be shown, add a corresponding failure state into the tab, with instructions in , e.g. `

    To browse and edit pages here, you need to:

    1. Do thing 1 by doing a, b, c
    2. Do thing 2 by doing d,e,f
    3. Avoid doing thing 3

Finally, make the page creation button work in the default template

  • add an (empty) page template to the remix starter project
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

No branches or pull requests

3 participants