DataGrid fix; File explorer - inital commit

This commit is contained in:
2026-06-12 03:39:40 +02:00
parent 2fc4648515
commit 7b7ed05229
12 changed files with 3922 additions and 249 deletions

View File

@@ -80,7 +80,7 @@ export default function AttachmentsDataPage({ settings, campaignId }: { settings
<VersionLine version={version} versions={data.versions} status={saveState} />
</div>
<div className="button-row compact-actions">
<Button disabled>Manage files</Button>
<Button onClick={() => { window.location.href = "/files"; }}>Manage files</Button>
<Button onClick={reload} disabled={loading}>Reload</Button>
<Button variant="primary" onClick={() => saveDraft("manual")} disabled={!dirty || locked || !draft}>Save</Button>
</div>
@@ -125,9 +125,9 @@ export default function AttachmentsDataPage({ settings, campaignId }: { settings
<div><dt>Base paths</dt><dd>{basePaths.length}</dd></div>
<div><dt>Global attachments</dt><dd>direct: {globalSummary.direct} / rules: {globalSummary.rules}</dd></div>
<div><dt>Per-recipient patterns</dt><dd>{individualRulesCount}</dd></div>
<div><dt>Upload support</dt><dd>Planned</dd></div>
<div><dt>Upload support</dt><dd>Connected through Files</dd></div>
</dl>
<p className="muted small-note">The current storage browser is a mock. The next backend-alignment step can connect these base paths and file rules to campaign, group and tenant storage.</p>
<p className="muted small-note">Files are now managed in the top-level Files module. Upload there, share files with campaigns, then use these rules to resolve concrete attachments during review/build.</p>
</Card>
<div className="button-row page-bottom-actions">

File diff suppressed because it is too large Load Diff