Fix authenticated editorial dashboard missing Vite page entry
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-14 12:04:52 +02:00
parent 203c8f9193
commit dd20e74703
12 changed files with 74 additions and 17 deletions
+10
View File
@@ -0,0 +1,10 @@
export const states: Record<string, string> = {
draft: 'Rascunho',
submitted: 'Submetido',
in_review: 'Em revisão',
approved: 'Aprovado',
published: 'Publicado',
returned: 'Devolvido',
rejected: 'Rejeitado',
archived: 'Arquivado',
};
@@ -1,6 +1,6 @@
import { Link, useForm } from '@inertiajs/react';
import { Management, Field, button, control } from './shared';
import { states } from './editorial-workflow';
import { states } from '@/lib/editorial-states';
import { labels as portfolioLabels } from '../portfolio/shared';
import SubjectForm from './editorial-subject-form';
import type { SubjectField } from './editorial-subject-form';
@@ -1,6 +1,6 @@
import { Link } from '@inertiajs/react';
import { Management } from './shared';
import { states } from './editorial-workflow';
import { states } from '@/lib/editorial-states';
const titles: Record<string, string> = {
projects: 'Projectos',
@@ -1,16 +1,8 @@
import { Link, router } from '@inertiajs/react';
import { Field, Management, button, control } from './shared';
export const states: Record<string, string> = {
draft: 'Rascunho',
submitted: 'Submetido',
in_review: 'Em revisão',
approved: 'Aprovado',
published: 'Publicado',
returned: 'Devolvido',
rejected: 'Rejeitado',
archived: 'Arquivado',
};
import { states } from '@/lib/editorial-states';
type Item = {
id: number;
title: string;
@@ -14,7 +14,7 @@ import type {
Force,
} from '@/lib/cluster-competitiveness';
import { button, control } from '../management/shared';
import { states as editorialStates } from '../management/editorial-workflow';
import { states as editorialStates } from '@/lib/editorial-states';
const labels = {
evidence: 'Observações e evidências locais',
+1 -1
View File
@@ -9,7 +9,7 @@ import {
import type { Paginated } from '../management/shared';
import { titles, statuses } from './types';
import type { Structure, StructureRecord } from './types';
import { states as editorialStates } from '../management/editorial-workflow';
import { states as editorialStates } from '@/lib/editorial-states';
export default function Index({
structure,