-
Notifications
You must be signed in to change notification settings - Fork 401
upcoming: [UIE-9402] - Update pagination in the owned groups table #13535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
fabrice-akamai
merged 19 commits into
linode:develop
from
fabrice-akamai:UIE-9402-owned-groups-table-pagination
Mar 31, 2026
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8680aae
Added missing padding around the Managed dashboard card
fabrice-akamai d53e3f6
changed spacing to spacingFunction
fabrice-akamai ef5485f
Merge branch 'develop' of https://github.com/fabrice-akamai/manager iβ¦
fabrice-akamai 2a8188d
Merge branch 'develop' of https://github.com/fabrice-akamai/manager iβ¦
fabrice-akamai 2db02f3
Merge branch 'develop' of https://github.com/fabrice-akamai/manager iβ¦
fabrice-akamai a8323a1
Merge branch 'develop' of https://github.com/fabrice-akamai/manager iβ¦
fabrice-akamai 77ec16e
Merge branch 'develop' of https://github.com/fabrice-akamai/manager iβ¦
fabrice-akamai 5eff798
Replace PaginationFooter by CDS pagination component
fabrice-akamai 91890bc
Add sharegroup factory for testing and mocking
fabrice-akamai d4295a4
Update pagination to show only when sharegroups count exceeds 25
fabrice-akamai 4c18c40
Merge branch 'develop' into UIE-9402-owned-groups-table-pagination
fabrice-akamai 6c0f4fb
Added changeset: Add shareGroup factory for testing and mocking data
fabrice-akamai 0767069
Move shareGroup factory to linode utilities
fabrice-akamai 2ff7d8e
Merge branch 'UIE-9402-owned-groups-table-pagination' of https://githβ¦
fabrice-akamai 58c525e
Merge branch 'develop' into UIE-9402-owned-groups-table-pagination
fabrice-akamai 4c71d04
Added changeset: Private Image Sharing: update pagination footer in Oβ¦
fabrice-akamai 4043437
Merge branch 'UIE-9402-owned-groups-table-pagination' of https://githβ¦
fabrice-akamai a658d4d
Merge branch 'develop' into UIE-9402-owned-groups-table-pagination
fabrice-akamai 5ab8bda
Fix formatting in sharegroups.ts
fabrice-akamai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-13535-upcoming-features-1774884439494.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@linode/manager": Upcoming Features | ||
| --- | ||
|
|
||
| Private Image Sharing: update pagination footer in Owned groups tab ([#13535](https://github.com/linode/manager/pull/13535)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/manager/src/features/Images/ImagesLanding/v2/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const DEFAULT_PAGE_SIZES = [25, 50, 75, 100]; | ||
5 changes: 5 additions & 0 deletions
5
packages/utilities/.changeset/pr-13535-upcoming-features-1774634932470.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@linode/utilities": Upcoming Features | ||
| --- | ||
|
|
||
| Add shareGroup factory for testing and mocking data ([#13535](https://github.com/linode/manager/pull/13535)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
pmakode-akamai marked this conversation as resolved.
fabrice-akamai marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| import { Factory } from './factoryProxy'; | ||
|
|
||
| import type { | ||
| AddSharegroupImagesPayload, | ||
| AddSharegroupMemberPayload, | ||
| CreateSharegroupPayload, | ||
| GenerateSharegroupTokenPayload, | ||
| Sharegroup, | ||
| SharegroupImagePayload, | ||
| SharegroupMember, | ||
| SharegroupToken, | ||
| UpdateSharegroupImagePayload, | ||
| UpdateSharegroupMemberPayload, | ||
| UpdateSharegroupPayload, | ||
| } from '@linode/api-v4'; | ||
|
|
||
| export const sharegroupImagePayloadFactory = | ||
| Factory.Sync.makeFactory<SharegroupImagePayload>({ | ||
| description: 'A shared image for the sharegroup.', | ||
| id: Factory.each((id) => `private/${id}`), | ||
| label: Factory.each((id) => `sharegroup-image-${id}`), | ||
| }); | ||
|
|
||
| export const sharegroupFactory = Factory.Sync.makeFactory<Sharegroup>({ | ||
| created: new Date().toISOString(), | ||
| description: 'A test sharegroup.', | ||
| expiry: new Date(Date.now() + 1000 * 60 * 60 * 24 * 30).toISOString(), | ||
| id: Factory.each((id) => id), | ||
| images_count: 3, | ||
| is_suspended: false, | ||
| label: Factory.each((id) => `sharegroup-${id}`), | ||
| members_count: 2, | ||
| updated: new Date().toISOString(), | ||
| uuid: Factory.each(() => crypto.randomUUID()), | ||
| }); | ||
|
|
||
| export const createSharegroupPayloadFactory = | ||
| Factory.Sync.makeFactory<CreateSharegroupPayload>({ | ||
| description: 'A test sharegroup.', | ||
| images: sharegroupImagePayloadFactory.buildList(2), | ||
| label: Factory.each((id) => `sharegroup-${id}`), | ||
| }); | ||
|
|
||
| export const updateSharegroupPayloadFactory = | ||
| Factory.Sync.makeFactory<UpdateSharegroupPayload>({ | ||
| description: 'An updated test sharegroup.', | ||
| disk_id: 1, | ||
| label: Factory.each((id) => `updated-sharegroup-${id}`), | ||
| }); | ||
|
|
||
| export const addSharegroupImagesPayloadFactory = | ||
| Factory.Sync.makeFactory<AddSharegroupImagesPayload>({ | ||
| images: sharegroupImagePayloadFactory.buildList(2), | ||
| }); | ||
|
|
||
| export const updateSharegroupImagePayloadFactory = | ||
| Factory.Sync.makeFactory<UpdateSharegroupImagePayload>({ | ||
| description: 'An updated shared image.', | ||
| label: Factory.each((id) => `updated-sharegroup-image-${id}`), | ||
| }); | ||
|
|
||
| export const sharegroupMemberFactory = | ||
| Factory.Sync.makeFactory<SharegroupMember>({ | ||
| created: new Date().toISOString(), | ||
| expiry: new Date(Date.now() + 1000 * 60 * 60 * 24 * 30).toISOString(), | ||
| label: Factory.each((id) => `sharegroup-member-${id}`), | ||
| status: 'active', | ||
| token_uuid: Factory.each(() => crypto.randomUUID()), | ||
| updated: new Date().toISOString(), | ||
| }); | ||
|
|
||
| export const addSharegroupMemberPayloadFactory = | ||
| Factory.Sync.makeFactory<AddSharegroupMemberPayload>({ | ||
| label: Factory.each((id) => `sharegroup-member-${id}`), | ||
| token: Factory.each((id) => `sharegroup-token-${id}`), | ||
| }); | ||
|
|
||
| export const updateSharegroupMemberPayloadFactory = | ||
| Factory.Sync.makeFactory<UpdateSharegroupMemberPayload>({ | ||
| label: Factory.each((id) => `updated-sharegroup-member-${id}`), | ||
| }); | ||
|
|
||
| export const generateSharegroupTokenPayloadFactory = | ||
| Factory.Sync.makeFactory<GenerateSharegroupTokenPayload>({ | ||
| label: Factory.each((id) => `sharegroup-token-${id}`), | ||
| valid_for_sharegroup_uuid: Factory.each(() => crypto.randomUUID()), | ||
| }); | ||
|
|
||
| export const sharegroupTokenFactory = Factory.Sync.makeFactory<SharegroupToken>( | ||
| { | ||
| created: new Date().toISOString(), | ||
| expiry: new Date(Date.now() + 1000 * 60 * 60 * 24 * 30).toISOString(), | ||
| label: Factory.each((id) => `sharegroup-token-${id}`), | ||
| sharegroup_label: Factory.each((id) => `sharegroup-${id}`), | ||
| sharegroup_uuid: Factory.each(() => crypto.randomUUID()), | ||
| status: 'active', | ||
| token: Factory.each((id) => `token-${id}`), | ||
| token_uuid: Factory.each(() => crypto.randomUUID()), | ||
| updated: new Date().toISOString(), | ||
| valid_for_sharegroup_uuid: Factory.each(() => crypto.randomUUID()), | ||
| }, | ||
| ); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.