Skip to content

Conversation

@Axlrbs
Copy link
Contributor

@Axlrbs Axlrbs commented Dec 10, 2025

No description provided.

Axlrbs and others added 4 commits December 10, 2025 14:34
- Updated FSTileDashboardsList, FSTileDeviceOrganisationsList, FSTileFoldersList, FSTileGroupsList, FSTileLocationsList, FSTileModelsList, and FSTileUserOrganisationsList components to support selectable and single-select functionalities.
- Added modelValue prop to manage selected items across various tile lists.
- Implemented corresponding storybook entries for each tile list to demonstrate selectable and single-select features.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a reusable tile list system with support for selection, search, and entity-specific implementations. The changes include a base FSTileList component, seven entity-specific tile list components, and a dynamic FSTileEntitiesList wrapper that switches between them based on entity type.

  • Added FSTileList component with search, selection (single/multi), and loading states
  • Created entity-specific tile list components for devices, dashboards, folders, users, groups, locations, and models
  • Enhanced FSSimpleTileUI with selectable functionality and v-model support
  • Updated lerna to version 9.0.0 and added OIDC permissions to GitHub workflow

Reviewed changes

Copilot reviewed 30 out of 31 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
FSSimpleTileUI.vue Added selectable prop and update:modelValue emit for selection support
FSTileList.vue New base component providing search, filtering, selection logic, and layout options
FSTileUserOrganisationsList.vue Entity-specific wrapper for user organisations with data fetching
FSTileModelsList.vue Entity-specific wrapper for models with data fetching
FSTileLocationsList.vue Entity-specific wrapper for locations with data fetching
FSTileGroupsList.vue Entity-specific wrapper for groups with data fetching
FSTileFoldersList.vue Entity-specific wrapper for folders with data fetching
FSTileDeviceOrganisationsList.vue Entity-specific wrapper for device organisations with data fetching
FSTileDashboardsList.vue Entity-specific wrapper for dashboards aggregating three dashboard types
FSTileEntitiesList.vue Dynamic component router that loads appropriate tile list based on entity type
package.json Updated lerna dependency from 7.3.0 to 9.0.0
publish-npm.yml Added OIDC permissions for secure npm publishing
TileList.stories.ts Storybook story demonstrating FSTileList usage with selection and custom props
TileUserOrganisationsList.stories.ts Storybook stories for user organisations tile list variations
TileModelsList.stories.ts Storybook stories for models tile list variations
TileLocationsList.stories.ts Storybook stories for locations tile list variations
TileGroupsList.stories.ts Storybook stories for groups tile list variations
TileFoldersList.stories.ts Storybook stories for folders tile list variations
TileDeviceOrganisationsList.stories.ts Storybook stories for device organisations tile list variations
TileDashboardsList.stories.ts Storybook stories for dashboards tile list variations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Axlrbs Axlrbs requested a review from peyronth December 11, 2025 08:25
:imageId="item.imageId"
:label="item.label"
:code="item.code"
:width="direction === 'column' ? 'fill' : undefined"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a pas mieux que undefined ? (valable pour toutes les listes)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si je mets null, cela casse la width le tuile. Cela ne prends pas en compte la valeur par défaut.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undefined c'est vraiment ce qu'on veut car ce qu'on veut c'es prendr ela taille par défaut de la tuile

:imageId="item.imageId"
:label="item.label"
:code="item.code"
:width="direction === 'column' ? 'fill' : undefined"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undefined c'est vraiment ce qu'on veut car ce qu'on veut c'es prendr ela taille par défaut de la tuile

@peyronth peyronth merged commit 5d77493 into main Dec 18, 2025
1 check passed
@peyronth peyronth deleted the features/add-fstile-entitylist branch December 18, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants