feat(ui): apply inquiry list and modal design
Apply the supplied inquiry layout to the list and native write/detail dialogs while preserving existing API requests, author controls, attachments, comments and search. Keep legacy entry links and confirm before discarding drafts. Validation: 98 tests and syntax checks pass; mocked Chromium desktop/mobile and six author/session visibility scenarios pass.
This commit is contained in:
1 parent
dbf5dc3611
commit
c62630e22d
19 files changed
+1362
-277
No files matched your search
@@ -0,0 +1,8 @@
|
||||
(function () {
|
||||
const url = new URL(window.location.href);
|
||||
const view = url.pathname.endsWith('/write.html') ? 'write' : 'detail';
|
||||
url.pathname = url.pathname.replace(/[^/]+$/, '');
|
||||
url.searchParams.set('view', view);
|
||||
if (view === 'write') url.searchParams.delete('id');
|
||||
window.location.replace(url.toString());
|
||||
})();
|
||||
Reference in new issue
Block a user