Skip to content
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

Allow each group to have different maxItems #1763

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Fweddi
Copy link
Contributor

@Fweddi Fweddi commented Feb 21, 2025

What's changed?

Implementation notes

Checklist

General

  • πŸ€– Relevant tests added
  • βœ… CI checks / tests run locally
  • πŸ” Checked on CODE

Client

  • 🚫 No obvious console errors on the client (i.e. React dev mode errors)
  • πŸŽ›οΈ No regressions with existing user interactions (i.e. all existing buttons, inputs etc. work)
  • πŸ“· Screenshots / GIFs of relevant UI changes included

@@ -83,7 +83,7 @@ libraryDependencies ++= Seq(
"com.gu" %% "content-api-client-aws" % "0.7.6",
"com.gu" %% "content-api-client-default" % capiClientVersion,
"com.gu" %% "editorial-permissions-client" % "3.0.0",
"com.gu" %% "fapi-client-play30" % "15.0.0",
"com.gu" %% "fapi-client-play30" % "16.0.0-PREVIEW.fpadd-groups-config-field.2025-02-21T1227.15f48131",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will need to swap out for 16.0.0 once guardian/facia-scala-client#345 is released.

@Fweddi Fweddi force-pushed the fp/max-items-per-group branch from 564bf14 to 9f359da Compare February 21, 2025 14:18
@@ -421,8 +421,8 @@ trait UpdateActionsTrait extends Logging {
collectionId: String,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm confused about the relation between the config groups field and the trail metadata group field.

id: 'exampleCollection',
displayName: 'Example Collection',
type: 'any',
groups: ['large', 'medium', 'small'],
Copy link
Contributor

@abeddow91 abeddow91 Feb 25, 2025

Choose a reason for hiding this comment

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

Existing/legacy containers have a concept of groups. Is the plan to move to groupsConfig for all containers rather than just for "beta" containers? If so, will that require us to repress all fronts?

Copy link
Contributor

Choose a reason for hiding this comment

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

ahh ignore the above, i see that we're supporting both here https://github.com/guardian/facia-scala-client/pull/345/files πŸ‘

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.

2 participants