@@ -117,7 +117,7 @@ function toggleIssue(issueId: string) {
117117
118118 <div class =" flex flex-col gap-1.5" >
119119 <div class =" flex items-center gap-2" >
120- <span class =" text-xl font-semibold text-contrast" >{{ item.project.title }}</span >
120+ <span class =" text-lg font-semibold text-contrast" >{{ item.project.name }}</span >
121121
122122 <div
123123 class =" flex items-center gap-1 rounded-full border border-surface-5 bg-surface-4 px-2.5 py-1"
@@ -130,7 +130,7 @@ function toggleIssue(issueId: string) {
130130 <span
131131 class =" text-sm font-medium text-secondary"
132132 v-for =" project_type in item.project.project_types"
133- >{{ formatProjectType(project_type) }}</span
133+ >{{ formatProjectType(project_type, true ) }}</span
134134 >
135135 </div >
136136
@@ -178,12 +178,12 @@ function toggleIssue(issueId: string) {
178178 <div class =" h-px w-full bg-surface-5" ></div >
179179
180180 <div class =" flex items-center gap-1 rounded-full bg-surface-3 p-1" >
181- <button
181+ <div
182182 v-for =" tab in tabs"
183183 :key =" tab"
184- class =" rounded-full px-3 py-1.5 text-base font-semibold transition-colors"
184+ class =" rounded-full px-3 py-1.5 text-base font-semibold transition-colors hover:cursor-pointer "
185185 :class =" {
186- 'bg-green/30 text-green': currentTab === tab,
186+ 'bg-highlight- green text-green': currentTab === tab,
187187 'text-contrast': currentTab !== tab,
188188 }"
189189 @click ="
@@ -194,7 +194,7 @@ function toggleIssue(issueId: string) {
194194 "
195195 >
196196 {{ tab }}
197- </button >
197+ </div >
198198
199199 <span
200200 v-if =" currentTab === 'Files' && selectedFile"
@@ -207,82 +207,22 @@ function toggleIssue(issueId: string) {
207207
208208 <div class =" border-t border-surface-3 bg-surface-2" >
209209 <div v-if =" currentTab === 'Thread'" class =" p-4" >
210- <div
211- v-if =" item.thread.messages.length === 0"
212- class =" flex min-h-[200px] items-center justify-center"
213- >
210+ <div v-if =" true" class =" flex min-h-[75px] items-center justify-center" >
214211 <div class =" text-center text-secondary" >
215- <p class =" text-sm" >No messages yet</p >
212+ <p class =" text-sm" >No messages yet {{ ':(' }} </p >
216213 </div >
217214 </div >
218215
219216 <div v-else class =" flex flex-col gap-6" >
220- <div v-for =" message in item.thread.messages" :key =" message.id" class =" flex gap-3" >
221- <Avatar
222- src =" https://via.placeholder.com/40"
223- class =" rounded-full border border-surface-5"
224- size =" 2.5rem"
225- circle
226- />
227-
228- <div class =" flex flex-1 flex-col" >
229- <div class =" flex items-end gap-2" >
230- <span class =" font-semibold text-contrast" >{{ message.author_id || 'System' }}</span >
231- <span class =" text-xs text-secondary" >{{
232- new Date(message.created).toLocaleTimeString()
233- }}</span >
234- </div >
235-
236- <p v-if =" message.body.type === 'text'" class =" text-secondary" >
237- {{ message.body.body }}
238- </p >
239- <p v-else-if =" message.body.type === 'status_change'" class =" italic text-secondary" >
240- Status changed from {{ message.body.old_status }} to {{ message.body.new_status }}
241- </p >
242- <p v-else class =" italic text-secondary" >
243- {{ message.body.type }}
244- </p >
245- </div >
246- </div >
247-
248- <div class =" flex flex-col gap-3" >
249- <div class =" flex items-center gap-2" >
250- <div
251- class =" flex h-8 w-8 items-center justify-center rounded-full bg-surface-4 text-xs font-medium text-secondary"
252- >
253- Aa
254- </div >
255- <div class =" flex h-8 w-8 items-center justify-center rounded-full bg-surface-4" ></div >
256- </div >
257-
258- <div class =" rounded-2xl bg-surface-4 px-4 py-2.5" >
259- <span class =" text-secondary/60 text-sm" >Message @{{ item.project_owner.name }}</span >
260- </div >
261-
262- <div class =" flex items-center justify-between" >
263- <div class =" flex items-center gap-2" >
264- <ButtonStyled color =" green" class =" opacity-50" >
265- <button >Reply</button >
266- </ButtonStyled >
267-
268- <ButtonStyled class =" opacity-50" >
269- <button >Add note</button >
270- </ButtonStyled >
271-
272- <ButtonStyled >
273- <button >Quick reply <ChevronDownIcon class =" -scale-y-100" /></button >
274- </ButtonStyled >
275- </div >
276- </div >
277- </div >
217+ <!-- TODO: Report thread stuff -->
278218 </div >
279219 </div >
280220
281221 <div v-else-if =" currentTab === 'Files' && !selectedFile" class =" flex flex-col" >
282222 <div
283223 v-for =" (file, idx) in allFiles"
284224 :key =" idx"
285- class =" flex items-center justify-between border-x border-b border-surface-3 bg-surface-2 p-4 "
225+ class =" flex items-center justify-between border-0 border- x border-b border-solid border- surface-3 bg-surface-2 px-4 py-3 "
286226 :class =" { 'rounded-bl-2xl rounded-br-2xl': idx === allFiles.length - 1 }"
287227 >
288228 <div class =" flex items-center gap-3" >
0 commit comments