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:
@@ -149,7 +149,7 @@ func (s *Server) redditReader(ctx context.Context) (*reddit.Client, error) {
|
||||
}
|
||||
id, secret := s.Secrets.Get(secrets.RedditClientID), s.Secrets.Get(secrets.RedditClientSecret)
|
||||
if id == "" || secret == "" {
|
||||
return nil, errors.New("add Reddit's client ID and secret under Settings → Credentials to read subreddits")
|
||||
return nil, errors.New("add Reddit's client ID and secret under Settings → Social accounts to read subreddits")
|
||||
}
|
||||
s.mu.Lock()
|
||||
tok, exp := s.redditAppToken, s.redditAppTokenExp
|
||||
|
||||
Reference in New Issue
Block a user