Skip to content

Commit

Permalink
feat(vcd): fix filenames cases according to guidelines
Browse files Browse the repository at this point in the history
ref: MANAGER-15996

Signed-off-by: Paul Dickerson <[email protected]>
  • Loading branch information
Paul Dickerson committed Nov 28, 2024
1 parent 07b4acf commit b75486f
Show file tree
Hide file tree
Showing 18 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { VCDOrganization } from '@ovh-ux/manager-module-vcd-api';
import {
DATA_PROTECTION_BACKUP_LABEL,
DATA_PROTECTION_RECOVERY_LABEL,
} from '@/pages/dashboard/organization/OrganizationDashboard.constants';
} from '@/pages/dashboard/organization/organizationDashboard.constants';
import BackupTileItem from './backup-tile-item/BackupTileItem.component';

type TTileProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '@ovh-ux/manager-module-vcd-api';
import { BreadcrumbItem } from '@/hooks/breadcrumb/useBreadcrumb';
import VcdDashboardLayout from '@/components/dashboard/layout/VcdDashboardLayout.component';
import { COMPUTE_LABEL, STORAGE_LABEL } from './DatacentreDashboard.constant';
import { COMPUTE_LABEL, STORAGE_LABEL } from './datacentreDashboard.constants';
import { subRoutes, urls } from '@/routes/routes.constant';
import { useAutoRefetch } from '@/data/hooks/useAutoRefetch';
import { isUpdatingTargetSpec } from '@/utils/refetchConditions';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import {
import {
COMPUTE_ORDER_MAX_QUANTITY,
COMPUTE_ORDER_MIN_QUANTITY,
} from './DatacentreComputeOrder.constants';
} from './datacentreComputeOrder.constants';
import { subRoutes } from '@/routes/routes.constant';
import { RAM_LABEL, VHOST_LABEL } from '../compute/DatacentreCompute.constants';
import { RAM_LABEL, VHOST_LABEL } from '../compute/datacentreCompute.constants';

export default function ComputeOrderPage() {
const { t } = useTranslation('datacentres/order');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from '@ovh-ux/manager-module-vcd-api';
import DatagridContainer from '@/components/datagrid/container/DatagridContainer.component';
import { subRoutes, urls } from '@/routes/routes.constant';
import { VHOST_LABEL, VHOSTS_LABEL } from './DatacentreCompute.constants';
import { VHOST_LABEL, VHOSTS_LABEL } from './datacentreCompute.constants';
import { ID_LABEL } from '../../dashboard.constants';

const DatagridIdCell = (vcdCompute: VCDCompute) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
labels,
renderTest,
} from '../../../../test-utils';
import { COMPUTE_LABEL } from '../DatacentreDashboard.constant';
import { COMPUTE_LABEL } from '../datacentreDashboard.constants';
import { VHOSTS_LABEL } from '../compute/DatacentreCompute.constants';

describe('Datacentre Compute Listing Page', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import {
STORAGE_ORDER_MAX_QUANTITY,
STORAGE_ORDER_MIN_QUANTITY,
} from './DatacentreStorageOrder.constants';
} from './datacentreStorageOrder.constants';
import { subRoutes } from '@/routes/routes.constant';

export default function StorageOrderPage() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
VCDStorage,
} from '@ovh-ux/manager-module-vcd-api';
import DatagridContainer from '@/components/datagrid/container/DatagridContainer.component';
import { STORAGE_LABEL } from '../DatacentreDashboard.constant';
import { STORAGE_LABEL } from '../datacentreDashboard.constants';
import { subRoutes, urls } from '@/routes/routes.constant';
import { capitalize } from '@/utils/capitalize';
import { ID_LABEL } from '../../dashboard.constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
labels,
renderTest,
} from '../../../../test-utils';
import { STORAGE_LABEL } from '../DatacentreDashboard.constant';
import { STORAGE_LABEL } from '../datacentreDashboard.constant';

describe('Datacentre Storage Listing Page', () => {
it('access and display storage listing page', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from '@ovh-ux/manager-module-vcd-api';
import DatagridContainer from '@/components/datagrid/container/DatagridContainer.component';
import { urls } from '@/routes/routes.constant';
import { MANAGED_VCD_LABEL } from '@/pages/dashboard/organization/OrganizationDashboard.constants';
import { MANAGED_VCD_LABEL } from '@/pages/dashboard/organization/organizationDashboard.constants';

/* ========= datagrid cells ========== */
const DatagridIdCell = (vdcOrg: VCDOrganization) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const Routes: any = [
id: 'datacentres',
path: urls.datacentres,
...lazyRouteConfig(() =>
import('@/pages/listing/datacentres/datacentres.page'),
import('@/pages/listing/datacentres/Datacentres.page'),
),
handle: {
tracking: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {
import { translations } from './test-i18n';
import { TestApp } from './TestApp';
import { APP_NAME } from '@/tracking.constant';
import { MANAGED_VCD_LABEL } from '@/pages/dashboard/organization/OrganizationDashboard.constants';
import { MANAGED_VCD_LABEL } from '@/pages/dashboard/organization/organizationDashboard.constants';

let context: ShellContextType;
let i18nState: i18n;
Expand Down

0 comments on commit b75486f

Please sign in to comment.