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

Abstract republishing_all controller action #9090

Merged
merged 1 commit into from
May 30, 2024

Conversation

yndajas
Copy link
Member

@yndajas yndajas commented May 30, 2024

Trello (groundwork)

In writing the next bulk republishing 'all' action (all documents), it became evident that only two lines needed changing. We'll have six or seven of these, so these abstracts the action and related code so we can keep things DRY

A minor change has been applied to the (already abstract) confirm_all action to keep the code and naming more similar between the two actions for easy comparison

This change makes the metadata name feel more wrong: having a lambda/method in metadata feels a bit wrong. One to think about


⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

In writing the next bulk republishing 'all' action (all documents), it
became evident that only two lines needed changing. We'll have six or
seven of these, so this abstracts the action and related code so we can
keep things DRY

A minor change has been applied to the (already abstract) `confirm_all`
action to keep the code and naming more similar between the two actions
for easy comparison

This change makes the `metadata` name feel more wrong: having a
lambda/method in metadata feels a bit wrong. One to think about
@yndajas yndajas force-pushed the 1167-abstract-republish-all-action branch from 301aba9 to 83d87e6 Compare May 30, 2024 13:44
@yndajas yndajas enabled auto-merge May 30, 2024 13:45
@yndajas yndajas merged commit 2ef926c into main May 30, 2024
19 checks passed
@yndajas yndajas deleted the 1167-abstract-republish-all-action branch May 30, 2024 13:49
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.

3 participants