feat(ui): streamline workspace settings and remove sharing
Unify compact workspace controls and panel transitions, move directory actions into the context menu, and remove backlink UI. Reorganize settings with searchable sections, per-setting resets, shortcut search, and accurate save feedback. Remove sharing UI, APIs, authentication helpers, and storage code; provide a transactional cleanup script with retirement tests. Reject directories during orphan image cleanup and cover mixed-batch preservation.
This commit is contained in:
1 parent
a716794e41
commit
19aab631ec
63 files changed
+1077
-3343
No files matched your search
+2
-12
@@ -33,21 +33,11 @@ export default defineConfig({
|
||||
this.emitFile({ type: 'asset', fileName: 'sw.js', source })
|
||||
},
|
||||
},
|
||||
// 开发服务器中把分享地址 /s/{token} 交给分享页入口(生产环境由 Go 服务处理)
|
||||
{
|
||||
name: 'rawmark-share-route',
|
||||
configureServer(server) {
|
||||
server.middlewares.use((req, _res, next) => {
|
||||
if (req.url?.startsWith('/s/')) req.url = '/share.html'
|
||||
next()
|
||||
})
|
||||
},
|
||||
},
|
||||
],
|
||||
build: {
|
||||
rolldownOptions: {
|
||||
// demo.html 为免登录的编辑器演示页,供自动化性能/交互测试使用;share.html 为只读分享页(/s/{token})
|
||||
input: { index: 'index.html', demo: 'demo.html', share: 'share.html' },
|
||||
// demo.html 为免登录的编辑器演示页,供自动化性能/交互测试使用
|
||||
input: { index: 'index.html', demo: 'demo.html' },
|
||||
},
|
||||
},
|
||||
worker: { format: 'es' },
|
||||
|
||||
Reference in new issue
Block a user