Skip to content

Commit ceafd80

Browse files
committed
feat: Add TicketsWithoutAnAssignee component to display unassigned tickets
Signed-off-by: Andre Bossard <anbossar@microsoft.com>
1 parent 69030f0 commit ceafd80

2 files changed

Lines changed: 510 additions & 11 deletions

File tree

‎frontend/src/App.jsx‎

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,28 @@
88
*/
99

1010
import {
11-
makeStyles,
12-
Subtitle1,
13-
Tab,
14-
TabList,
15-
Text,
16-
tokens,
11+
makeStyles,
12+
Subtitle1,
13+
Tab,
14+
TabList,
15+
Text,
16+
tokens,
1717
} from '@fluentui/react-components'
1818
import {
19-
AlertUrgent24Regular,
20-
Bot24Regular,
21-
Home24Regular,
22-
Info24Regular,
23-
TaskListLtr24Regular,
19+
AlertUrgent24Regular,
20+
Bot24Regular,
21+
Home24Regular,
22+
Info24Regular,
23+
PersonQuestionMark24Regular,
24+
TaskListLtr24Regular,
2425
} from '@fluentui/react-icons'
2526
import { Navigate, Route, Routes, useLocation, useNavigate } from 'react-router-dom'
2627
import About from './components/About'
2728
import Dashboard from './features/dashboard/Dashboard'
2829
import OllamaChat from './features/ollama/OllamaChat'
2930
import TaskList from './features/tasks/TaskList'
3031
import TicketList from './features/tickets/TicketList'
32+
import TicketsWithoutAnAssignee from './features/tickets/TicketsWithoutAnAssignee'
3133

3234
const useStyles = makeStyles({
3335
app: {
@@ -67,6 +69,7 @@ export default function App() {
6769
{ value: 'dashboard', label: 'Dashboard', icon: <Home24Regular />, path: '/dashboard', testId: 'tab-dashboard' },
6870
{ value: 'tasks', label: 'Tasks', icon: <TaskListLtr24Regular />, path: '/tasks', testId: 'tab-tasks' },
6971
{ value: 'tickets', label: 'QA Tickets', icon: <AlertUrgent24Regular />, path: '/tickets', testId: 'tab-tickets' },
72+
{ value: 'unassigned', label: 'Unassigned', icon: <PersonQuestionMark24Regular />, path: '/unassigned', testId: 'tab-unassigned' },
7073
{ value: 'ollama', label: 'AI Chat', icon: <Bot24Regular />, path: '/ollama', testId: 'tab-ollama' },
7174
{ value: 'about', label: 'About', icon: <Info24Regular />, path: '/about', testId: 'tab-about' },
7275
]
@@ -106,6 +109,7 @@ export default function App() {
106109
<Route path="/dashboard" element={<Dashboard />} />
107110
<Route path="/tasks" element={<TaskList />} />
108111
<Route path="/tickets" element={<TicketList />} />
112+
<Route path="/unassigned" element={<TicketsWithoutAnAssignee />} />
109113
<Route path="/ollama" element={<OllamaChat />} />
110114
<Route path="/about" element={<About />} />
111115
<Route path="*" element={<Navigate to="/dashboard" replace />} />

0 commit comments

Comments
 (0)