Session 2026-05-29: profile layout 2-col, file browser copy/paste, fbq-proxy/backfill fns, migrations, UI updates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Krao Hasanee
2026-05-29 13:49:21 -04:00
parent 283511bf3a
commit c9998d4a8d
54 changed files with 2646 additions and 396 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
const FB_SOURCE = 'files';
const FB_SOURCE = 'srv';
function normalizePath(path) {
const raw = String(path || '/').trim();
@@ -29,7 +29,7 @@ function getConfig() {
return {
url,
token: process.env.FILEBROWSER_TOKEN || '',
clientRoot: normalizePath(process.env.FILEBROWSER_CLIENT_ROOT || '/fourgebranding/Clients'),
clientRoot: normalizePath(process.env.FILEBROWSER_CLIENT_ROOT || '/Clients'),
configured: Boolean(url),
};
}
@@ -100,6 +100,7 @@ export default async function handler(req, res) {
await mkdir(config, taskDir);
await mkdir(config, joinPath(taskDir, 'Working Files'));
await mkdir(config, joinPath(taskDir, 'Request Info'));
await mkdir(config, joinPath(taskDir, 'Old Books'));
res.status(200).json({ ok: true, type, company: record.company_name, project: record.project_name, task: record.title });
}