Commit graph

27 commits

Author SHA1 Message Date
regexowl
575fe0a91f Blueprints: Move debounce wait time to a constant
This moves debounce wait time to a constant so it's reusable throughout the code base.
2024-04-25 11:32:47 +02:00
Ondrej Ezr
04131c4823 Blueprints: selected Blueprint Empty state action
Add action in the Images Table empty state when Blueprint is selected.
Change the icon to plus as it better underlines the action needed to remedy.
2024-04-17 16:03:05 +02:00
regexowl
df924ec097 Blueprints: Update Import modal padding
The `<ActionGroup>` should be a child of `<Form>`, moving it improves the padding on the Import modal.
2024-04-16 19:25:27 +03:00
regexowl
7115b43c3d Blueprints: Surface "Edit blueprint" button
This surfaces "Edit blueprint" button to the ImageTableToolbar and removes it from the blueprints actions menu as per recent mocks.
2024-04-16 18:31:05 +03:00
Anna Vítová
669e3c07e3 feat(HMS-3687): Add blueprints exporting 2024-04-12 11:19:26 +02:00
Anna Vítová
bc82ba0ab1 feat(HMS-3906): Add feature flag for import/export 2024-04-11 13:19:43 +02:00
Anna Vítová
e301271ac1 feat(HMS-3688): Add blueprints import dialog 2024-04-05 14:23:46 +02:00
regexowl
5ae3da9b6c Blueprints: Rename Clear selection button and center it
This renames the Clear selection button in the blueprints side bar and aligns it to the center.
2024-04-04 21:03:07 +03:00
Amir
1dd909adb9 fixes(HMS-3853): fix blueprint clear selection 2024-04-04 12:24:13 +02:00
regexowl
0fc1b54833 Blueprints: Update Delete blueprint modal copy
This updates the copy on `Delete blueprint` modal as per recent SPUR.
2024-04-04 12:17:59 +02:00
regexowl
155962c141 ESLint: Resolve useSelector-prefer-selectors errors
This resolves all occurences of useSelector-prefer-selectors errors.
2024-04-02 20:21:34 +02:00
Anna Vítová
eafd67ee08 fixes(#1841): Alignment of title and description in card 2024-04-02 10:17:55 +02:00
regexowl
4a74813c2b Blueprints: Add test ids
This updates the data-testid of Create button in the header (`Link` component, not OUIA-compliant) and adds a data-testid to the blueprint search input (`SearchInput` component, also not OUIA-compliant).

A testId was also added to the blueprint actions dropdown (`MenuToggle`).
2024-03-28 12:14:44 +01:00
Amir
465527bda0 Fixes #1770: keep blueprint card selected after editing 2024-03-18 10:21:03 +01:00
Anna Vítová
a3a7ea88c5 feat(HMS-3401): Add blueprints sidebar pagination 2024-03-18 10:06:05 +01:00
Ondrej Ezr
aa6b9789a7 Blueprint: Empty state action to link
Convert Empty state action to a link and add test for it.
2024-03-13 13:29:46 +01:00
Ondrej Ezr
9b5f3631d1 Blueprints: filter composes by blueprint version
Refs: HMS-3412
2024-03-07 17:19:32 +01:00
Ondrej Ezr
947c20875c ImagesTable: extract toolbar to separate component
This extracts the toolbar, that was getting bit too big to a separate component.
It also adjusts the title to correspond to the filter of the images.
If there is a Blueprint selected, it changes the title to '<BlueprintName> images'
2024-03-07 16:48:08 +01:00
Ondrej Ezr
64dbb4b912 Blueprints: Empty state create button
Make the empty state create button work.
It was a placeholder for now, we can have it working.
2024-03-06 14:02:33 +01:00
Amir
61b86da98a Blueprints: add blueprints slice for client global state 2024-03-06 12:52:03 +01:00
lucasgarfield
d204d4c5dc Blueprints Table: Clear selection button now a <Button>
As per discussion with UX, change the `Clear selection` card to a button
(link variant).
2024-03-06 10:34:22 +01:00
Anna Vítová
5813fdaf10 feat(HMS-3686): Update position of blueprint buttons 2024-03-05 13:49:31 +01:00
Anna Vítová
45194fa225 feat(HMS-3515): Change blueprint cards to be clickable 2024-02-27 18:21:41 +01:00
Ondrej Ezr
c447244c8a Blueprints: add Blueprints filtering
Enables Blueprints filtering.
Given this is a server side filtering, it also ads Debounce hook.
This hook enables delay the API request to save server roundtrips.

Refs HMS-3389
2024-02-02 14:52:46 +01:00
Anna Vítová
1be52727c7 feat(HMS-3390): Add delete button in the dropdown menu to delete a blueprint 2024-02-01 10:48:11 +01:00
Amir
017f5bfb51 feat(HMS-3391): add blueprint onclick handler 2024-01-25 09:28:34 +01:00
Amir
c2e7c34d6e feat(HMS-3386): add blueprints initial layout 2024-01-19 17:20:21 +01:00