Skip to content

Support duplicating groups of fields#7426

Merged
sc0ttkclark merged 4 commits intorelease/3.3.2from
feature/duplicate-group
May 26, 2025
Merged

Support duplicating groups of fields#7426
sc0ttkclark merged 4 commits intorelease/3.3.2from
feature/duplicate-group

Conversation

@sc0ttkclark
Copy link
Member

@sc0ttkclark sc0ttkclark commented May 3, 2025

Description

Allow duplicating groups of fields from REST API and from the admin UI.

Related GitHub issue(s)

#7322

Testing instructions

  1. Edit a pod
  2. Create a group with fields
  3. Click "Duplicate" on that group row
  4. See that a new group has been created below with a duplicate of all fields that original group contained

Screenshots / screencast

TBD

Changelog text for these changes

PR checklist

Remaining tasks

  • Support updating the Pods object state with a new group
  • Duplicate link should load the new group and it's fields into the admin area
  • Show errors if one is encountered
  • Update REST API endpoint to use /duplicate path and use a separate class to avoid POST collision with the group edit method

@sc0ttkclark sc0ttkclark self-assigned this May 3, 2025
@sc0ttkclark sc0ttkclark added Type: Feature Features that add entirely new functionality that was not there before Component: UI Issues related to user experience and interfaces Component: DFV Issues related to the Pods DFV JS that powers form fields labels May 3, 2025
@sc0ttkclark sc0ttkclark added this to the Pods 3.4 milestone May 3, 2025
@sc0ttkclark sc0ttkclark marked this pull request as ready for review May 3, 2025 03:36
@sc0ttkclark sc0ttkclark requested a review from JoryHogeveen as a code owner May 3, 2025 03:36
@sc0ttkclark sc0ttkclark force-pushed the feature/duplicate-group branch 2 times, most recently from e072279 to b48cdb0 Compare May 3, 2025 14:16
@sc0ttkclark sc0ttkclark changed the base branch from main to release/3.3.2 May 3, 2025 14:16
@sc0ttkclark sc0ttkclark force-pushed the feature/duplicate-group branch 2 times, most recently from 6b848b0 to 2a11b0c Compare May 3, 2025 14:18
Auto rebuild assets

DFV work for duplicate group

Separate the duplicate group endpoint

Remove temp debug

Auto rebuild assets
@sc0ttkclark sc0ttkclark force-pushed the feature/duplicate-group branch from 7ee8968 to 6d51846 Compare May 5, 2025 01:38
@sc0ttkclark sc0ttkclark merged commit ea04a94 into release/3.3.2 May 26, 2025
13 of 14 checks passed
@sc0ttkclark sc0ttkclark deleted the feature/duplicate-group branch May 26, 2025 19:49
@sc0ttkclark
Copy link
Member Author

Moved this code in to release/3.4

@sc0ttkclark sc0ttkclark restored the feature/duplicate-group branch May 26, 2025 20:49
@sc0ttkclark sc0ttkclark deleted the feature/duplicate-group branch May 26, 2025 20:50
sc0ttkclark added a commit to BrookeDot/pods that referenced this pull request Jul 7, 2025
sc0ttkclark added a commit that referenced this pull request Jul 8, 2025
sc0ttkclark added a commit that referenced this pull request Jul 8, 2025
@sc0ttkclark sc0ttkclark modified the milestones: Pods 3.4, Pods 3.4.0 Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: DFV Issues related to the Pods DFV JS that powers form fields Component: UI Issues related to user experience and interfaces Type: Feature Features that add entirely new functionality that was not there before

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant