Esdras Renan
29b865885c
fix: ensure legacy companies jsonify
2025-10-27 14:56:19 -03:00
Esdras Renan
d23987eda8
feat: ajustar board de tickets
2025-10-27 14:50:17 -03:00
Esdras Renan
e9a8bd6b9b
Abrevia fila Laboratorio para Lab
2025-10-27 12:03:43 -03:00
Esdras Renan
5154d34cde
Refina separadores e prioridade
2025-10-27 12:02:36 -03:00
Esdras Renan
292de05039
Ajusta layout da tabela de tickets
2025-10-27 11:45:15 -03:00
Esdras Renan
f3a7045691
feat: cadastro manual de acesso remoto e ajustes de horas
2025-10-24 23:52:58 -03:00
codex-bot
8e3cbc7a9a
Remove unused ReactNode dependency in sidebar
2025-10-24 17:31:53 -03:00
codex-bot
b1130c2a3d
Fix sidebar trigger hydration imports
2025-10-24 17:26:56 -03:00
codex-bot
ddbf019d12
Add live ticket animations and fix sidebar hydration
2025-10-24 17:24:51 -03:00
codex-bot
2a9170f7dd
Make ticket mention extension override link parsing
2025-10-24 16:53:36 -03:00
codex-bot
6702811f4a
Align ticket status colors across views
2025-10-24 16:48:24 -03:00
codex-bot
296e02cf0c
Normalize ticket mentions in editor and server
2025-10-24 16:35:55 -03:00
codex-bot
cf11ac9bcb
Fix CSS syntax: remove stray closing brace in globals.css
2025-10-24 14:59:42 -03:00
codex-bot
b3fa6955b7
Editor mentions: style [data-type=ticketMention] with colored status dot via ::before to match display chips
2025-10-24 14:31:55 -03:00
codex-bot
3b013f205a
Rich text: unify ticket mention chip style while editing (Tiptap span)
2025-10-24 14:18:37 -03:00
codex-bot
12a6d231fa
Improve admin actions and ticket board layout
2025-10-24 14:04:12 -03:00
codex-bot
92ac0fafc6
fix: restore mention keyboard shortcuts
2025-10-24 13:12:55 -03:00
Esdras Renan
a319aa0eff
Align admin tables with ticket styling and add board view
2025-10-24 12:23:27 -03:00
Esdras Renan
63cf9f9d45
Keep ticket mention chip styling during edits
2025-10-24 10:55:33 -03:00
Esdras Renan
e47ea5eecc
Refine admin users filters with searchable combobox
2025-10-24 10:15:30 -03:00
Esdras Renan
b51d0770d3
Restore client user editing sheet and tweak pagination copy
2025-10-24 09:50:40 -03:00
Esdras Renan
c7aaa60d9a
Fix admin cleanup hook order and lint setup
2025-10-24 09:21:31 -03:00
Esdras Renan
37c32149a6
feat: improve requester combobox and admin cleanup flows
2025-10-24 00:45:41 -03:00
codex-bot
788f6928a1
Garante tipos no timeline de solicitante
2025-10-23 18:31:54 -03:00
codex-bot
a7c3c743d7
Corrige flag de alteração de solicitante
2025-10-23 18:00:12 -03:00
codex-bot
4aee7d7719
Permite selecionar solicitante e empresa nos tickets
2025-10-23 17:47:23 -03:00
codex-bot
25321224a6
Redesenha top clientes por horas
2025-10-23 16:54:43 -03:00
codex-bot
34018bed04
Centraliza coluna de empresa na lista
2025-10-23 16:37:30 -03:00
codex-bot
aef5e66718
Exibe loading em máquinas e moderniza time picker
2025-10-23 15:06:41 -03:00
codex-bot
9bfdb451bc
fix(editor/mentions): do not cache empty results so numeric queries like @41005 revalidate after deploy
2025-10-23 10:37:09 -03:00
codex-bot
66fe34868c
feat(mentions): switch to Convex-backed search so @<ref> and text queries return visible tickets for the current user; keep permissions
2025-10-23 10:34:32 -03:00
codex-bot
e6c841383e
fix(mentions): search numeric references directly in DB and avoid Tiptap duplicate 'link' extension by configuring link via StarterKit
2025-10-23 10:17:24 -03:00
codex-bot
4374b1c777
fix(new-ticket-dialog): place allowTicketMentions inside component to satisfy TS and restore build
2025-10-23 10:05:14 -03:00
codex-bot
904134604c
feat(editor): enable ticket mentions on new-ticket forms and fix @mention popup layering\n\n- New Ticket page/dialog/portal now support @ to link tickets\n- Mention popup uses fixed strategy + high z-index\n- Add minimal Tippy box styling to globals.css\n- Keeps existing server-side permissions for mentions
2025-10-23 09:48:16 -03:00
Esdras Renan
b0f57009ac
feat: link tickets in comments and align admin sidebars
2025-10-23 00:46:50 -03:00
Esdras Renan
c35eb673d3
fix(machines): hydrate company name without slug flash
2025-10-22 22:39:17 -03:00
Esdras Renan
20a5c902bc
docs: add admin machines skeleton troubleshooting
2025-10-22 22:19:49 -03:00
Esdras Renan
2a359b7a65
fix(machines): derive machine id from router params
2025-10-22 22:08:53 -03:00
Esdras Renan
1017d563b5
fix(machines): guard hydration before loading machine details
2025-10-22 21:56:28 -03:00
Esdras Renan
3417388cb0
chore(machines): verbose probe diagnostics
2025-10-22 21:24:32 -03:00
Esdras Renan
a1f456a5fd
chore(machines): add probe logging
2025-10-22 21:10:09 -03:00
Esdras Renan
55316e51c6
fix(machines): ensure machine details probe resolves
2025-10-22 20:49:43 -03:00
Esdras Renan
3fce36d4e5
fix(machines): remove artificial delay; always probe details immediately; fallback tri-state guarded only by fallback state
2025-10-22 20:07:08 -03:00
Esdras Renan
39726b360e
feat(machines): robust probe for machine details + clear error/not-found states\n\n- Probe Convex (browser) and server route when query is undefined or null\n- Tri-state fallback (undefined|null|data) to disambiguate not-found\n- Restore skeleton + not-found + error rendering with actionable retry\n- No behavior change when data is available
2025-10-22 19:40:07 -03:00
Esdras Renan
c640e288b1
chore(types): remove anys and harden Convex data fetch
...
- Strongly type company-service and API routes
- Fix Next.js searchParams (promise) in admin/machines page
- Add vitest module marker + stub for tsconfig-paths/register
- Use Convex query in client as primary fallback for machine details
- Replace any casts in admin machines components
Build + lint are clean locally; details page no longer skeleton-loops.
2025-10-22 19:19:38 -03:00
Esdras Renan
eee0f432e7
chore: document and stabilize vitest browser setup
2025-10-22 17:19:12 -03:00
codex-bot
42942350dc
feat(admin): exibir mensagem de erro no detalhe da máquina quando Convex/fallback falham e oferecer retry; prioriza caminho Convex e esclarece 404
2025-10-22 11:15:20 -03:00
codex-bot
ee1f19f7f2
fix(machines): reduce HTTP fallback delay on admin machine details to 300ms to bypass Convex client loading edge cases; Convex already returns full data for machine id
2025-10-22 10:22:23 -03:00
codex-bot
7a7154775c
fix(web): suppress hydration mismatch at root html to avoid React 418 on production (extensions/content-scripts DOM changes)
2025-10-22 10:16:59 -03:00
codex-bot
a18536dd5f
fix(api): Next.js 16 route handler types — params is Promise in context
...
- Update GET signature to (req: NextRequest, ctx: { params: Promise<{id:string}> })
- Await ctx.params and pass id to Convex client
- Keeps NextResponse return type
2025-10-22 09:46:50 -03:00