✨(frontend) add /new route for document creation
Introduce a /new route that automatically creates a document and redirects users to it. This enables direct document creation via URL, bookmarks, or automation scripts.
When unauthenticated users access /new, they are redirected to login instead of home page since user intent is explicit.
This addresses user requests for programmatic document creation and provides a shareable link for "create new document" actions.
Size Change: +2.15 kB (+0.05%)
Total Size: 4.07 MB
| Filename | Size | Change | |
|---|---|---|---|
apps/impress/out/_next/static/b983448b/_buildManifest.js |
0 B | -885 B (removed) | 🏆 |
apps/impress/out/_next/static/chunks/1927.js |
0 B | -703 kB (removed) | 🏆 |
apps/impress/out/_next/static/chunks/6580.js |
58.7 kB | +44.1 kB (+301.24%) | 🆘 |
apps/impress/out/_next/static/chunks/8495.js |
0 B | -60.7 kB (removed) | 🏆 |
apps/impress/out/_next/static/chunks/pages/401.js |
1.16 kB | -632 B (-35.29%) | 🎉 |
apps/impress/out/_next/static/chunks/pages/404.js |
942 B | -633 B (-40.19%) | 🎉 |
apps/impress/out/_next/static/chunks/pages/docs.js |
431 B | -715 B (-62.39%) | 🏆 |
apps/impress/out/_next/static/chunks/pages/docs/[id].js |
1.48 kB | -642 B (-30.33%) | 🎉 |
apps/impress/out/_next/static/chunks/pages/home.js |
9.97 kB | +2.06 kB (+26.13%) | 🚨 |
apps/impress/out/_next/static/chunks/pages/index.js |
447 B | -718 B (-61.63%) | 🏆 |
apps/impress/out/_next/static/chunks/pages/offline.js |
5.54 kB | -713 B (-11.4%) | 👏 |
apps/impress/out/_next/static/css/e59c36535cf6abc9.css |
0 B | -34.6 kB (removed) | 🏆 |
apps/impress/out/_next/static/c58235b5/_buildManifest.js |
966 B | +966 B (new file) | 🆕 |
apps/impress/out/_next/static/chunks/2502.js |
702 kB | +702 kB (new file) | 🆕 |
apps/impress/out/_next/static/chunks/2664.js |
1.21 kB | +1.21 kB (new file) | 🆕 |
apps/impress/out/_next/static/chunks/3065.js |
3.31 kB | +3.31 kB (new file) | 🆕 |
apps/impress/out/_next/static/chunks/4199.js |
14.6 kB | +14.6 kB (new file) | 🆕 |
apps/impress/out/_next/static/chunks/pages/new.js |
593 B | +593 B (new file) | 🆕 |
apps/impress/out/_next/static/css/4b1fa791cbc139db.css |
33.7 kB | +33.7 kB (new file) | 🆕 |
apps/impress/out/_next/static/css/cef13c4dff76f68f.css |
1.11 kB | +1.11 kB (new file) | 🆕 |
apps/impress/out/new/index.html |
1.28 kB | +1.28 kB (new file) | 🆕 |
Duplicate of https://github.com/suitenumerique/docs/pull/1574
Closed in favor of https://github.com/suitenumerique/docs/pull/1574