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

Add 'hidden' state to dkan_publishing workflow (round 2) #3742

Merged
merged 8 commits into from
Jan 26, 2022
Merged

Conversation

clayliddell
Copy link
Contributor

fixes WCMS-4889

The original PR (#3718) for this was reverted. This PR fixes some issues found related to unpublished nodes being visible from the frontend.

  • Test coverage exists
  • Documentation exists

QA Steps

Hidden State

  1. Edit an existing dataset or create a new dataset.
    a. Select the "Publish (Hidden)" moderation state at the bottom of the form.
    b. Click Save.
  2. Search for the hidden dataset.
    a. The dataset should not show up in the search results.
  3. Navigate to the hidden dataset.
    a. It should be visible.
  4. Unhide & publish the hidden dataset.
  5. Search for the dataset.
    a. It should show up in the search results.

Archived State

  1. Edit an existing dataset or create a new dataset.
    a. Select the "Archive" moderation state at the bottom of the form.
    b. Click Save.
  2. Search for the archived dataset.
    a. The dataset should not show up in the search results.
  3. Navigate to the archived dataset.
    a. It should not be visible.
  4. Unarchive & publish the archived dataset.
  5. Search for the dataset.
    a. It should show up in the search results.

@dafeder dafeder force-pushed the hidden-state branch 2 times, most recently from 959937d to 87c5182 Compare January 26, 2022 00:04
@dafeder dafeder requested a review from dgading January 26, 2022 15:58
@dafeder dafeder merged commit 0471fae into 2.x Jan 26, 2022
@janette janette deleted the hidden-state branch May 19, 2023 14:25
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