Skip to content

✨(frontend) add /new route for document creation - #1641

Closed
arnaud-robin wants to merge 1 commit into
mainfrom
endpoint-new
Closed

arnaud-robin wants to merge 1 commit into
mainfrom
endpoint-new

Conversation

@arnaud-robin

@arnaud-robin arnaud-robin commented Nov 21, 2025 •

Copy link
Copy Markdown
Member

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.

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.
@arnaud-robin arnaud-robin changed the title endpoint new ✨(frontend) add /new route for document creation Nov 21, 2025
@arnaud-robin
arnaud-robin marked this pull request as ready for review November 21, 2025 00:23
@github-actions

Copy link
Copy Markdown
Contributor

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) 🆕

compressed-size-action

@arnaud-robin arnaud-robin linked an issue Nov 21, 2025 that may be closed by this pull request
@AntoLC

AntoLC commented Nov 21, 2025

Copy link
Copy Markdown
Member

Duplicate of #1574

@AntoLC AntoLC marked this as a duplicate of #1574 Nov 21, 2025
@AntoLC

AntoLC commented Dec 2, 2025

Copy link
Copy Markdown
Member

Closed in favor of #1574

@AntoLC AntoLC closed this Dec 2, 2025
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.

Shortcut URLs for quick document creation

2 participants