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

VACMS-15503 Add multi workflow filters to all Views that have exposed content moderation filter #15769

Merged
merged 27 commits into from
Oct 25, 2023

Conversation

swirtSJW
Copy link
Contributor

@swirtSJW swirtSJW commented Oct 21, 2023

Description

Relates to #15503

Testing done

Screenshots

QA steps

What needs to be checked to prove this works?
What needs to be checked to prove it didn't break any related things?
What variations of circumstances (users, actions, values) need to be checked?

As an admin go to the following Views and make sure the Moderation state filter is present and works.

Definition of Done

  • Documentation has been updated, if applicable.
  • Tests have been added if necessary.
  • Automated tests have passed.
  • Code Quality Tests have passed.
  • Acceptance Criteria in related issue are met.
  • Manual Code Review Approved.
  • If there are field changes, front end output has been thoroughly checked.

Select Team for PR review

  • CMS Team
  • Public websites
  • Facilities
  • User support
  • Accelerated Publishing

Is this PR blocked by another PR?

  • DO NOT MERGE

Does this PR need review from a Product Owner

  • Needs PO review

CMS user-facing announcement

Is an announcement needed to let editors know of this change?

  • Yes, and it's written in issue ____ and queued for publication.
    • Merge and ping the UX writer so they are ready to publish after deployment
  • Yes, but it hasn't yet been written
    • Don't merge yet -- ping the UX writer to write and queue content
  • No announcement is needed for this code change.
    • Merge & carry on unburdened by announcements

@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 21, 2023 03:44 Destroyed
@swirtSJW
Copy link
Contributor Author

swirtSJW commented Oct 21, 2023

Note to self:

In our multiple workflow pr in #11334
SEE IF IT BROKE (these are not covered by the patch)

  • /admin/content/promos (uses blocks)
  • /admin/content/moderated (uses revisions)
  • admin/content/audit/vamc-top-task-page-revision-histories (uses revisons)
  • /admin/content/audit/search (uses grouped filter across content types)

@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 21, 2023 04:14 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 21, 2023 04:20 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 22, 2023 01:35 Destroyed
@swirtSJW swirtSJW changed the title VACMS-15503 add multi workflow filters to all Views that have exposed content moderation filter VACMS-15503 Add multi workflow filters to all Views that have exposed content moderation filter Oct 23, 2023
@@ -10697,8 +10701,8 @@
"dev-2.x": "2.x-dev"
},
"drupal": {
"version": "8.x-2.0-beta1+4-dev",
"datestamp": "1668804356",
"version": "8.x-2.0-beta2+1-dev",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unrelated metadata changes.

selected_actions:
-
action_id: node_save_action
preconfiguration:
add_confirmation: 0
add_confirmation: false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Most of these Views have not been changed in a long time so they are going to be full of this kind of noise. Sorry :(

editorial-draft: editorial-draft
editorial-review: editorial-review
editorial-published: editorial-published
editorial-archived: editorial-archived
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should have never been limited. It was just outdated.

content_publisher: '0'
content_admin: '0'
redirect_administrator: '0'
admnistrator_users: '0'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We have more users than we had when this was last updated. These are expected.

editorial-draft: editorial-draft
editorial-review: editorial-review
editorial-published: editorial-published
editorial-archived: editorial-archived
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Incorrectly limited in the old.

editorial-draft: editorial-draft
editorial-review: editorial-review
editorial-published: editorial-published
editorial-archived: editorial-archived
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Incorrectly limited which was inadvertently hiding "pending appoval" status.

@swirtSJW swirtSJW force-pushed the VACMS-15503-add-multi-workflow-filters branch from 285547b to 1dd5fe4 Compare October 24, 2023 14:17
@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 24, 2023 14:17 Destroyed
@swirtSJW
Copy link
Contributor Author

I just fixed the two issues @omahane identified. Is rebuilding now.

Copy link
Contributor

@omahane omahane left a comment

Choose a reason for hiding this comment

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

This looks great. It's working on all pages.

Copy link
Contributor

@ndouglas ndouglas left a comment

Choose a reason for hiding this comment

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

This looks good to me. Thank you for asking for a review, and sorry about the delay. I need some kind of automated queue to keep track of what I should be doing 🥵

@swirtSJW
Copy link
Contributor Author

image

@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 25, 2023 19:08 Destroyed
@swirtSJW swirtSJW merged commit 43da80d into main Oct 25, 2023
13 checks passed
@swirtSJW swirtSJW deleted the VACMS-15503-add-multi-workflow-filters branch October 25, 2023 19:08
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.

5 participants