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
7 changes: 4 additions & 3 deletions src/app/components/dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<div class="hero-copy">
<h1>Decision Workspace Dashboard</h1>
<p>Track active workspaces, Slack conversations, and GitHub work in one place with clean structure and minimal noise.</p>
<p>Track active workspaces, Slack conversations, GitHub updates, and JIRA work in one place with clean structure and minimal noise.</p>
</div>
</section>

Expand Down Expand Up @@ -64,11 +64,12 @@ <h2>Signals</h2>
<button type="button" class="filter-pill" [class.active]="filters.source === 'all'" (click)="setSourceFilter('all')">All</button>
<button type="button" class="filter-pill" [class.active]="filters.source === 'slack'" (click)="setSourceFilter('slack')">Slack</button>
<button type="button" class="filter-pill" [class.active]="filters.source === 'github'" (click)="setSourceFilter('github')">GitHub</button>
<button type="button" class="filter-pill" [class.active]="filters.source === 'jira'" (click)="setSourceFilter('jira')">JIRA</button>
<button type="button" class="filter-pill" [class.active]="filters.status === 'all'" (click)="setStatusFilter('all')">All statuses</button>
<button type="button" class="filter-pill" [class.active]="filters.status === 'unread'" (click)="setStatusFilter('unread')">Unread</button>
</div>
</div>
<p class="section-copy">Slack messages and GitHub updates appear here as action-ready signals.</p>
<p class="section-copy">Slack messages, GitHub updates, and JIRA work appear here as action-ready signals.</p>

<app-signal-board
*ngIf="signals.length; else noSignals"
Expand All @@ -80,7 +81,7 @@ <h2>Signals</h2>
<ng-template #noSignals>
<div class="empty-state">
<h3>No matching signals</h3>
<p>Connect Slack or GitHub in workspace integrations to start pulling messages and assigned work into Sentinent.</p>
<p>Connect Slack, GitHub, or JIRA in workspace integrations to start pulling messages and assigned work into Sentinent.</p>
</div>
</ng-template>
</section>
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/signal-board/signal-board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class SignalBoardComponent {

getSourceLabel(signal: Signal): string {
if (signal.sourceType === 'slack') return 'Slack';
if (signal.sourceType === 'jira') return 'Jira';
if (signal.sourceType === 'jira') return 'JIRA';
return 'GitHub';
}

Expand All @@ -46,7 +46,7 @@ export class SignalBoardComponent {
return `#${this.getSlackChannel(signal)} in Slack`;
}
if (signal.sourceType === 'jira') {
return `${signal.metadata.projectKey} in Jira`;
return `${signal.metadata.projectKey ?? signal.sourceId ?? 'JIRA'} in JIRA`;
}

return `${this.getTypeLabel(signal)} #${signal.metadata.number} in ${signal.metadata.repository}`;
Expand Down
6 changes: 5 additions & 1 deletion src/app/services/signal.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { toError } from './http-error';
interface SignalResponse {
id: number;
workspace_id?: number;
source_type: 'slack' | 'github';
source_type: 'slack' | 'github' | 'jira';
source_id: string;
external_id?: string;
title: string;
Expand All @@ -21,6 +21,10 @@ interface SignalResponse {
repository?: string;
state?: 'open' | 'closed';
labels?: string[];
issueType?: string;
priority?: string;
projectKey?: string;
assignees?: string[];
};
received_at?: string;
}
Expand Down
Loading