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

remove withToggles #7300

Merged
merged 1 commit into from
Nov 15, 2021
Merged

remove withToggles #7300

merged 1 commit into from
Nov 15, 2021

Conversation

jamesgorrie
Copy link
Contributor

Removes withToggles, and all references to the odl toggles system 🍾
...
Alas, I've had to introduce a hack as api routes cannot us fs - making the system we have no good for it. I thought we could have an async call out here to toggles, but I'd rather figure out a better way to maintain the rule of not calling out to a more services so whacked in a hack for now, and will try to figure out a way around it as part 2 of making the old toggles obsolete.

For more on why it's designed this way: vercel/next.js#8251

@jamesgorrie jamesgorrie requested a review from a team November 12, 2021 17:36
@github-actions
Copy link

Lighthouse scores

Path Performance Accessibility Best Practices SEO
/works/kxvgmysq 0.62 0.98 0.87 0.91
/ 0.32 1 0.93 0.91

@github-actions
Copy link

Size Change: -776 B (0%)

Total Size: 1.28 MB

Filename Size Change
catalogue/webapp/.next/static/chunks/pages/work-********************.js 19.6 kB -776 B (-4%)
ℹ️ View Unchanged
Filename Size
catalogue/webapp/.next/static/chunks/00a8a139.********************.js 54.3 kB
catalogue/webapp/.next/static/chunks/192-********************.js 4.84 kB
catalogue/webapp/.next/static/chunks/309-********************.js 20.5 kB
catalogue/webapp/.next/static/chunks/33.********************.js 1.8 kB
catalogue/webapp/.next/static/chunks/555-********************.js 2.54 kB
catalogue/webapp/.next/static/chunks/621.********************.js 1.43 kB
catalogue/webapp/.next/static/chunks/735.********************.js 19.3 kB
catalogue/webapp/.next/static/chunks/907-********************.js 3.19 kB
catalogue/webapp/.next/static/chunks/925-********************.js 2.74 kB
catalogue/webapp/.next/static/chunks/framework-********************.js 42.6 kB
catalogue/webapp/.next/static/chunks/main-********************.js 23.6 kB
catalogue/webapp/.next/static/chunks/pages/_app-********************.js 221 kB
catalogue/webapp/.next/static/chunks/pages/_error-********************.js 380 B
catalogue/webapp/.next/static/chunks/pages/404-********************.js 284 B
catalogue/webapp/.next/static/chunks/pages/download-********************.js 3.16 kB
catalogue/webapp/.next/static/chunks/pages/image-********************.js 1.28 kB
catalogue/webapp/.next/static/chunks/pages/images-********************.js 7.69 kB
catalogue/webapp/.next/static/chunks/pages/item-********************.js 2.48 kB
catalogue/webapp/.next/static/chunks/pages/progress-********************.js 3.07 kB
catalogue/webapp/.next/static/chunks/pages/works-********************.js 6.42 kB
catalogue/webapp/.next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js 31 kB
catalogue/webapp/.next/static/chunks/webpack-********************.js 1.64 kB
content/webapp/.next/static/chunks/621.********************.js 1.43 kB
content/webapp/.next/static/chunks/735.********************.js 19.3 kB
content/webapp/.next/static/chunks/845-********************.js 5.02 kB
content/webapp/.next/static/chunks/962-********************.js 8.07 kB
content/webapp/.next/static/chunks/framework-********************.js 42.6 kB
content/webapp/.next/static/chunks/main-********************.js 23.6 kB
content/webapp/.next/static/chunks/pages/_app-********************.js 227 kB
content/webapp/.next/static/chunks/pages/_error-********************.js 379 B
content/webapp/.next/static/chunks/pages/404-********************.js 284 B
content/webapp/.next/static/chunks/pages/article-********************.js 2.19 kB
content/webapp/.next/static/chunks/pages/article-series-********************.js 1.55 kB
content/webapp/.next/static/chunks/pages/articles-********************.js 1.62 kB
content/webapp/.next/static/chunks/pages/book-********************.js 1.78 kB
content/webapp/.next/static/chunks/pages/books-********************.js 1.57 kB
content/webapp/.next/static/chunks/pages/event-********************.js 311 B
content/webapp/.next/static/chunks/pages/event-series-********************.js 1.25 kB
content/webapp/.next/static/chunks/pages/events-********************.js 1.98 kB
content/webapp/.next/static/chunks/pages/exhibition-********************.js 5.35 kB
content/webapp/.next/static/chunks/pages/exhibitions-********************.js 1.61 kB
content/webapp/.next/static/chunks/pages/guides-********************.js 3.49 kB
content/webapp/.next/static/chunks/pages/homepage-********************.js 2.35 kB
content/webapp/.next/static/chunks/pages/newsletter-********************.js 2.94 kB
content/webapp/.next/static/chunks/pages/page-********************.js 2.13 kB
content/webapp/.next/static/chunks/pages/place-********************.js 1.22 kB
content/webapp/.next/static/chunks/pages/season-********************.js 1.72 kB
content/webapp/.next/static/chunks/pages/stories-********************.js 6.4 kB
content/webapp/.next/static/chunks/pages/whats-on-********************.js 5.91 kB
content/webapp/.next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js 31 kB
content/webapp/.next/static/chunks/webpack-********************.js 1.57 kB
identity/webapp/.next/static/chunks/242-********************.js 13.8 kB
identity/webapp/.next/static/chunks/373.********************.js 1.43 kB
identity/webapp/.next/static/chunks/735.********************.js 19.3 kB
identity/webapp/.next/static/chunks/framework-********************.js 42.6 kB
identity/webapp/.next/static/chunks/main-********************.js 23.6 kB
identity/webapp/.next/static/chunks/pages/_app-********************.js 245 kB
identity/webapp/.next/static/chunks/pages/_error-********************.js 193 B
identity/webapp/.next/static/chunks/pages/account-********************.js 9.65 kB
identity/webapp/.next/static/chunks/pages/account/delete-requested-********************.js 1.36 kB
identity/webapp/.next/static/chunks/pages/account/error-********************.js 1.29 kB
identity/webapp/.next/static/chunks/pages/account/registration-********************.js 6.55 kB
identity/webapp/.next/static/chunks/pages/account/validated-********************.js 2.34 kB
identity/webapp/.next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js 31 kB
identity/webapp/.next/static/chunks/webpack-********************.js 1.57 kB

compressed-size-action

@jamesgorrie jamesgorrie merged commit 0d3f544 into main Nov 15, 2021
@jamesgorrie jamesgorrie deleted the remove_withToggles branch November 15, 2021 14:24
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

Successfully merging this pull request may close these issues.

2 participants