@@ -40,21 +40,71 @@ export interface QueueTodo {
4040}
4141
4242const sampleMessages: QueueMessage [] = [
43- { id: ' msg-1' , parts: [{ type: ' text' , text: ' How do I set up the project?' }] },
44- { id: ' msg-2' , parts: [{ type: ' text' , text: ' What is the roadmap for Q4?' }] },
45- { id: ' msg-3' , parts: [{ type: ' text' , text: ' Can you review my PR?' }] },
46- { id: ' msg-4' , parts: [{ type: ' text' , text: ' Please generate a changelog.' }] },
47- { id: ' msg-5' , parts: [{ type: ' text' , text: ' Add dark mode support.' }] },
48- { id: ' msg-6' , parts: [{ type: ' text' , text: ' Optimize database queries.' }] },
49- { id: ' msg-7' , parts: [{ type: ' text' , text: ' Set up CI/CD pipeline.' }] },
43+ {
44+ id: ' msg-1' ,
45+ parts: [{ type: ' text' , text: ' How do I set up the project?' }],
46+ },
47+ {
48+ id: ' msg-2' ,
49+ parts: [{ type: ' text' , text: ' What is the roadmap for Q4?' }],
50+ },
51+ {
52+ id: ' msg-3' ,
53+ parts: [{ type: ' text' , text: ' Update the default logo to this png.' }, {
54+ type: ' file' ,
55+ url: ' https://github.com/peoray.png' ,
56+ filename: ' setup-guide.png' ,
57+ mediaType: ' image/png' ,
58+ }],
59+ },
60+ {
61+ id: ' msg-4' ,
62+ parts: [{ type: ' text' , text: ' Please generate a changelog.' }],
63+ },
64+ {
65+ id: ' msg-5' ,
66+ parts: [{ type: ' text' , text: ' Add dark mode support.' }],
67+ },
68+ {
69+ id: ' msg-6' ,
70+ parts: [{ type: ' text' , text: ' Optimize database queries.' }],
71+ },
72+ {
73+ id: ' msg-7' ,
74+ parts: [{ type: ' text' , text: ' Set up CI/CD pipeline.' }],
75+ },
5076]
5177
5278const sampleTodos: QueueTodo [] = [
53- { id: ' todo-1' , title: ' Write project documentation' , description: ' Complete the README and API docs' , status: ' completed' },
54- { id: ' todo-2' , title: ' Implement authentication' , status: ' pending' },
55- { id: ' todo-3' , title: ' Fix bug #42' , description: ' Resolve crash on settings page' , status: ' pending' },
56- { id: ' todo-4' , title: ' Refactor queue logic' , description: ' Unify queue and todo state management' , status: ' pending' },
57- { id: ' todo-5' , title: ' Add unit tests' , description: ' Increase test coverage for hooks' , status: ' pending' },
79+ {
80+ id: ' todo-1' ,
81+ title: ' Write project documentation' ,
82+ description: ' Complete the README and API docs' ,
83+ status: ' completed' ,
84+ },
85+ {
86+ id: ' todo-2' ,
87+ title: ' Implement authentication' ,
88+ status: ' pending' ,
89+ },
90+ {
91+ id: ' todo-3' ,
92+ title: ' Fix bug #42' ,
93+ description: ' Resolve crash on settings page' ,
94+ status: ' pending' ,
95+ },
96+ {
97+ id: ' todo-4' ,
98+ title: ' Refactor queue logic' ,
99+ description: ' Unify queue and todo state management' ,
100+ status: ' pending' ,
101+ },
102+ {
103+ id: ' todo-5' ,
104+ title: ' Add unit tests' ,
105+ description: ' Increase test coverage for hooks' ,
106+ status: ' pending' ,
107+ },
58108]
59109
60110const messages = ref <QueueMessage []>(sampleMessages )
0 commit comments