diff --git a/packages/components/datagrid/src/components/osds-datagrid/osds-datagrid.e2e.ts b/packages/components/datagrid/src/components/osds-datagrid/osds-datagrid.e2e.ts index 5baf9200f5..15bb0889cc 100644 --- a/packages/components/datagrid/src/components/osds-datagrid/osds-datagrid.e2e.ts +++ b/packages/components/datagrid/src/components/osds-datagrid/osds-datagrid.e2e.ts @@ -31,11 +31,11 @@ describe('e2e:osds-datagrid', () => { expect(table).not.toBeNull(); }); - it('sould render 1 rows & 2 columns', async () => { + it('should render 1 rows & 2 columns', async () => { await setup({ attributes: { columns: JSON.stringify([{ title: 'Name', field: 'name' }, { title: 'Firstname', field: 'firstname' }]), rows: JSON.stringify([{ name: 'Homer', firstname: 'Simpson' }]), - }}); + } }); const columns = await table?.findAll('.tabulator-col'); expect(columns).toHaveLength(2); expect(columns?.[0].innerText).toContain('Name'); @@ -45,11 +45,11 @@ describe('e2e:osds-datagrid', () => { expect(rows?.[0].innerText).toContain('HomerSimpson'); }) - it('sould update rows', async () => { + it('should update rows', async () => { await setup({ attributes: { columns: JSON.stringify([{ title: 'Name', field: 'name' }, { title: 'Firstname', field: 'firstname' }]), rows: JSON.stringify([{ name: 'Homer', firstname: 'Simpson' }]), - }}); + } }); el.setProperty('rows', JSON.stringify([ { name: 'Homer', firstname: 'Simpson' }, { name: 'Marge', firstname: 'Simpson' }, diff --git a/packages/components/datagrid/src/components/osds-datagrid/osds-datagrid.tsx b/packages/components/datagrid/src/components/osds-datagrid/osds-datagrid.tsx index 0939e8bb4c..ae66636eb0 100644 --- a/packages/components/datagrid/src/components/osds-datagrid/osds-datagrid.tsx +++ b/packages/components/datagrid/src/components/osds-datagrid/osds-datagrid.tsx @@ -12,7 +12,7 @@ import { OdsLogger } from '@ovhcloud/ods-common-core'; }) export class OsdsDatagrid implements OdsDatagridAttribute { private readonly controler = new OdsDatagridController(this); - readonly logger = new OdsLogger('OsdsPhoneNumber'); + readonly logger = new OdsLogger('OsdsDatagrid'); private grid?: HTMLDivElement; private table?: Tabulator; diff --git a/packages/storybook/stories/components/datagrid/datagrid.specifications.stories.mdx b/packages/storybook/stories/components/datagrid/datagrid.specifications.stories.mdx index 73bb63aae7..16498cb461 100644 --- a/packages/storybook/stories/components/datagrid/datagrid.specifications.stories.mdx +++ b/packages/storybook/stories/components/datagrid/datagrid.specifications.stories.mdx @@ -1,7 +1,7 @@ import { Meta } from '@storybook/addon-docs'; import SpecificationsContentAddon from '@ovhcloud/ods-components/datagrid/documentation/specifications/specifications-datagrid.mdx'; - + # Datagrid - Technical Specification ---- diff --git a/packages/storybook/stories/components/datagrid/datagrid.web-component.stories.page.mdx b/packages/storybook/stories/components/datagrid/datagrid.web-component.stories.page.mdx index d0d96d58d1..8afb876d05 100644 --- a/packages/storybook/stories/components/datagrid/datagrid.web-component.stories.page.mdx +++ b/packages/storybook/stories/components/datagrid/datagrid.web-component.stories.page.mdx @@ -2,7 +2,7 @@ import { Description, Meta } from '@storybook/addon-docs'; import APITable from '@ovhcloud/ods-components/datagrid/dist/docs/components/osds-datagrid/readme.md'; import Usage from '@ovhcloud/ods-components/datagrid/src/docs/osds-datagrid/usage.mdx'; - + # `` diff --git a/packages/storybook/stories/components/datagrid/datagrid.web-components.stories.ts b/packages/storybook/stories/components/datagrid/datagrid.web-components.stories.ts index 159edbac17..f046d86093 100644 --- a/packages/storybook/stories/components/datagrid/datagrid.web-components.stories.ts +++ b/packages/storybook/stories/components/datagrid/datagrid.web-components.stories.ts @@ -29,7 +29,7 @@ const defaultStoryParams = { }; export default { - title: 'UI Components/Datagrid [molecule]/Web Component', + title: 'UI Components/Datagrid [organism]/Web Component', id: 'datagrid', parameters: { notes: {