feat(settings): open Assistenten on Kunskap with the konteringskarta first (#1044)
The Assistenten settings hub used to open on Minne, with the konteringskarta buried two clicks away (Kunskap tab, below a second nested tab row). Now /settings/assistant opens on Kunskap and the LedgerGraph hero is the first thing on screen. - Kunskap is the default view and first tab; Minne moves to ?view=memory (old ?view=knowledge links still resolve to the default) - Drop the nested Kompetens/Minne/Regler & profil tab row inside the Kunskap view: Kompetens and Minne duplicated the top-level tabs one row above; Regler & profil now renders inline under the graph with a section header (KnowledgeTabs.tsx deleted) - Restore vertical rhythm (space-y-8) between the hero, detail section and footer, lost when the view moved into the settings tabs - Update redirects and memory deep links (/settings/agent-memory, AgentChat memory chips, FactsCard manage link) to ?view=memory - Match the loading skeleton to the new layout Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
fd1c266cb0
commit
bfd5b42eb1
@@ -1,7 +1,8 @@
|
||||
import { redirect } from 'next/navigation'
|
||||
|
||||
// "Vad din agent vet" moved into Settings (Assistenten -> Kunskap). This
|
||||
// route is kept as a permanent redirect so old links/bookmarks still resolve.
|
||||
// "Vad din agent vet" moved into Settings (Assistenten -> Kunskap, the default
|
||||
// view). This route is kept as a permanent redirect so old links/bookmarks
|
||||
// still resolve.
|
||||
export default function AgentKnowledgeRedirect() {
|
||||
redirect('/settings/assistant?view=knowledge')
|
||||
redirect('/settings/assistant')
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ import { redirect } from 'next/navigation'
|
||||
// links (e.g. AgentChat's "what I remember" affordance) and old bookmarks land
|
||||
// in the right place.
|
||||
export default function AgentMemorySettingsPage() {
|
||||
redirect('/settings/assistant')
|
||||
redirect('/settings/assistant?view=memory')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user