news-catalyst / next-tinynewsdemo

Frontend for Tiny News Collective organizations
https://next-tinynewsdemo.vercel.app
1 stars 0 forks source link

Bootstrap isn't creating default homepage layouts #1253

Open TylerFisher opened 2 years ago

cbj0hns0n commented 2 years ago

Notes:

TylerFisher commented 2 years ago

The script that should handle this is the bootstrap script.

You can see homepage models by going to [org.com]/tinycms/homepage.

You can manage homepage layout models per org by going to [org.com]/tinycms/homepage-layouts. Check what the layout objects should be by checking the test site.

chelsea-tnc commented 2 years ago

Repro steps: 1) Create a new org 2) Go to [org.com]/tinycms/homepage 3) Observe the "Change layout" bar on the top of the page

Expected result: It should have 3 layouts that we offer Actual Result: The 3 layouts are missing when we create a new org.

There is currently a workaround for new orgs where we can create the layouts manually: 1) Go to the admin view for layouts (ask for URL) 2) Click "Add Layout" 3) Add the Data that we typically use for the 3 layouts (see Tyler's comment above)

chelsea-tnc commented 2 years ago

Added scalability issue label because we will need to automate this creation of layouts versus using the manual approach if we want to scale this to many organizations.