refactor: update menu and routing for ticket management

- Replaced references to "Solicitar Acesso" with "Abrir Chamado" across the application for consistency in terminology.
- Updated routing logic to reflect the new ticket management flow, ensuring that the dashboard and sidebar components point to the correct paths.
- Removed the obsolete "Solicitar Acesso" page, streamlining the user experience and reducing unnecessary navigation options.
- Enhanced backend schema to support new ticket functionalities, including ticket creation and management.
This commit is contained in:
2025-11-14 22:50:03 -03:00
parent 9b3b095c01
commit 118051ad56
17 changed files with 2353 additions and 358 deletions

View File

@@ -376,11 +376,11 @@
{/each}
<li class="mt-auto rounded-xl">
<a
href={resolve('/solicitar-acesso')}
class={getSolicitarClasses(currentPath === '/solicitar-acesso')}
href={resolve('/abrir-chamado')}
class={getSolicitarClasses(currentPath === '/abrir-chamado')}
>
<UserPlus class="h-5 w-5" strokeWidth={2} />
<span>Solicitar acesso</span>
<span>Abrir Chamado</span>
</a>
</li>
</ul>
@@ -460,11 +460,11 @@
</div>
<div class="mt-4 space-y-2 text-center">
<a
href={resolve('/solicitar-acesso')}
href={resolve('/abrir-chamado')}
class="link link-primary block text-sm"
onclick={closeLoginModal}
>
Não tem acesso? Solicite aqui
Abrir Chamado
</a>
<a
href={resolve('/esqueci-senha')}