Commit 05799db
fix(share): correct public share link URL + ShareDialog audiences (#1784)
* fix(share): align ShareDialog audiences to framework contract
Offer only link_only + signed_in (the audiences needing no extra input
and allowed by ai_conversations); drop workspace/email_allowlist which
the framework ShareLinkService rejects.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix(share): point the public share URL at the console-mounted route
SharedRecordPage lives under the console SPA basename (/_console/s/:token),
so ShareDialog's default ${origin}/s/:token produced links that 404'd for
recipients. AiChatPage now passes publicBaseUrl derived from the injected
<base href> (matching App.tsx resolveBasename), so copied links resolve.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5976ba3 commit 05799db
2 files changed
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
499 | 516 | | |
500 | 517 | | |
501 | 518 | | |
| |||
631 | 648 | | |
632 | 649 | | |
633 | 650 | | |
| 651 | + | |
634 | 652 | | |
635 | 653 | | |
636 | 654 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
112 | | - | |
113 | | - | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
0 commit comments