Redesign the UI on brain's look: sidebar with search, Overview, modules, grouped Settings
- Left sidebar as in brain: search at the top (press /), Overview, Inventory, the modules (Content with Inbox, Sources, Scheduled and Published; later phases greyed out), Settings at the bottom; a top bar with breadcrumbs, and a menu that slides in on narrow screens. - brain's colour tokens, type, radius and shadows, with a dark theme that follows the system setting. - Settings as grouped tabs: Profile; Social accounts (was Credentials, now keys and sign-in together per network); Core & Hermes; AI, which now holds the API keys too. Old addresses redirect. - /search matches every word across posts, fetched items, the inventory, products and settings pages. - Overview: a card per module, then the setup checklist, folded once done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
{{define "content"}}{{with .Data}}
|
||||
<nav class="tabs">
|
||||
<a href="/content" aria-current="page">Sources</a>
|
||||
<a href="/content/scheduled">Scheduled</a>
|
||||
<a href="/content/published">Published</a>
|
||||
</nav>
|
||||
<h1>Content</h1>
|
||||
<h1>Sources</h1>
|
||||
<p class="lede">Pick an inventory entry to fetch its latest news, choose what to write about, and get a draft for each channel to review in the <a href="/inbox">Inbox</a>.</p>
|
||||
|
||||
{{if .Rows}}
|
||||
@@ -16,7 +11,7 @@
|
||||
{{if .Own}}
|
||||
<td><a href="/content/own">{{.Name}}</a> <span class="muted small">your own work</span></td>
|
||||
<td><span class="badge product">product</span></td>
|
||||
<td>{{if .Sources}}{{join .Sources ", "}}{{else}}<span class="muted">none: add products, websites or feeds to your <a href="/profile">profile</a></span>{{end}}</td>
|
||||
<td>{{if .Sources}}{{join .Sources ", "}}{{else}}<span class="muted">none: add products, websites or feeds to your <a href="/settings/profile">profile</a></span>{{end}}</td>
|
||||
{{else}}
|
||||
<td><a href="/content/{{.Entry.ID}}">{{.Name}}</a></td>
|
||||
<td><span class="badge {{.Entry.Relationship}}">{{.Entry.Relationship}}</span></td>
|
||||
|
||||
Reference in New Issue
Block a user