Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cockpit/chat/timeline/angular/src/app/timeline.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ import { environment } from '../environments/environment';
template: `
<example-chat-layout sidebarWidth="w-80">
<chat main [agent]="agent" class="flex-1 min-w-0" />
<div sidebar class="p-4 space-y-4" style="background: var(--chat-bg, #171717); color: var(--chat-text, #e0e0e0);">
<div sidebar class="p-4 space-y-4" style="background: var(--ds-canvas); color: var(--ds-text-primary);">
<h3 class="text-xs font-semibold uppercase tracking-wide"
style="color: var(--chat-text-muted, #777);">Timeline</h3>
style="color: var(--ds-text-muted);">Timeline</h3>
<chat-timeline-slider [agent]="agent" />
<div class="mt-4">
<h4 class="text-xs font-semibold uppercase tracking-wide mb-2"
style="color: var(--chat-text-muted, #777);">How It Works</h4>
<p class="text-xs" style="color: var(--chat-text-muted, #777);">
style="color: var(--ds-text-muted);">How It Works</h4>
<p class="text-xs" style="color: var(--ds-text-muted);">
Each message creates a checkpoint. Use the slider to navigate
through conversation history and branch from any point.
</p>
Expand Down
3 changes: 1 addition & 2 deletions cockpit/chat/timeline/angular/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
<title>Chat Timeline — Angular</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-950 text-gray-100 h-screen">
<body>
<app-timeline></app-timeline>
</body>
</html>
3 changes: 3 additions & 0 deletions cockpit/chat/timeline/angular/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// SPDX-License-Identifier: MIT
import { bootstrapApplication } from '@angular/platform-browser';
import { installEmbeddedTheme } from '@ngaf/example-layouts';
import { appConfig } from './app/app.config';
import { TimelineComponent } from './app/timeline.component';

installEmbeddedTheme();

bootstrapApplication(TimelineComponent, appConfig).catch(console.error);
11 changes: 10 additions & 1 deletion cockpit/chat/timeline/angular/src/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
/* Global styles for the timeline capability demo */
@import "../../../../../libs/example-layouts/src/theme.css";

/* App-specific globals (none for now; add below this line if needed). */
html, body {
height: 100%;
margin: 0;
background: var(--ds-canvas);
color: var(--ds-text-primary);
font-family: var(--ds-font-sans);
}
Loading
Loading