utopia
utopia copied to clipboard
The Remix Starter Project (from projects page) doesn't show the Pages tab
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:
- the remix scene in the project is empty and non-navigable
- there is a non-remix scene with content - which distracts
- there's no pages tab
Solution
- [x] Make the default remix scene render content, and include a link so you can navigate
- [x] 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 <Subdued>, e.g. `
To browse and edit pages here, you need to:
- Do thing 1 by doing a, b, c
- Do thing 2 by doing d,e,f
- 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