OregonDigital / OD2

Next generation of Oregon Digital ( https://oregondigital.org ) digital collections platform, built on Samvera Hyrax ( https://github.com/samvera/hyrax/ )
19 stars 1 forks source link

Port over tombstoning from SA #1021

Open straleyb opened 4 years ago

straleyb commented 4 years ago

Descriptive summary

Should we have tombstoning in OD2? Do we have a usecase?

jsimic commented 4 years ago

Metadeities would like tombstoning to work like this: A work can be removed from public view (by pushing back to review or deleting), but will remain accessible to admins and curators. Tombstoning will remove the work from search results and My Shelfs. If someone has it bookmarked or finds it in some other way (direct hits) there should be a message that indicates that the work has been removed from the collection.

wickr commented 1 year ago

Also have an option for admins and curators to 'undelete' and change status. Another page in the Dashboard, similar to oEmbeds, that will list deleted works and keep them separate from others in the system.

carakey commented 11 months ago

QA Fail - a work is still fully public after tombstoning.

QA process:

FWIW after the steps above, I tried to edit the fileset and got the ACK message, then I deleted the fileset and tried to add a new file but it would not stick.

In addition to these issues, some suggested improvements around error messaging: Give a more obvious "go back" link to return to the OD home page from the Tombstone. I realize the "Oregon Digital" text will get the user back home, but it would be clearer if included in the error message text, e.g. adding a link to the "using the search box" text, or after "...or contact us" add "You can also return to the home page."

straleyb commented 11 months ago

@carakey This might need another QA. I didn't run the update to the workflows on the staging server. Ill run that and then ping you and we can see how it effects the QA. Sorry about that.

straleyb commented 11 months ago

@carakey Ok it ran successfully and i restarted the web server so its good for another test.

carakey commented 11 months ago

QA Round 2: QA Fail

I have not yet tested what happens on a direct link to the fileset, since I can't get a fileset added to the test work.

straleyb commented 11 months ago

Thanks for going through all that @carakey. Can we make a list of features and the way we want it to work here and what is done/not done so we can track this a little better? Im gonna swap this over to an epic ticket and i think we should spawn out other tickets to cover the features/needs for tombstones.

carakey commented 11 months ago

Sure - I was almost entirely referencing the above comments about functionality.

straleyb commented 11 months ago

Totally. I was just thinking that I was unsure about what people's expectations are about how this should work. I just yanked it over from Scholars Archive and want to make sure that this feature has what everyone wants.

carakey commented 10 months ago

QA round 3:

Setup:

Testing:

straleyb commented 10 months ago
carakey commented 9 months ago

QA round 4:

Setup:

Testing:

carakey commented 9 months ago

Here's the TL;DR list of remaining changes to get to QA Pass (for Cara):

straleyb commented 9 months ago

@carakey Thanks for the Tl;Dr list. The layout + needs written out in that way works way better on my end. Ill go through and make sure those get knocked out.

For my notes: The banner message is for a user that cannot see the work and fileset. Different view needs added tombstone partial.

carakey commented 9 months ago

@carakey Thanks for the Tl;Dr list. The layout + needs written out in that way works way better on my end. Ill go through and make sure those get knocked out.

Sure thing - but I see the long format as legacy documentation, helpful for capturing the full current state, for replicating the steps in future QA rounds, and capturing the rationale. So I'm gonna keep doing that too.

straleyb commented 9 months ago

Tombstoned work that is unavailable

Screenshot 2024-02-09 at 7 11 08 AM

Tombstoned FileSet that is unavailable

Screenshot 2024-02-09 at 7 33 35 AM

Tombstoned work

Screenshot 2024-02-09 at 7 12 21 AM

d6"

FileSet of Tombstoned work

Screenshot 2024-02-09 at 7 12 58 AM

Search Before Work is Tombstoned

Screenshot 2024-02-09 at 7 17 42 AM

Search After Work is Tombstoned

Screenshot 2024-02-09 at 7 18 58 AM

With Creator in Facets [Aea, J. K]

Screenshot 2024-02-09 at 7 22 41 AM

With Creator in Facets Tombstoned [Aea, J. K]

Screenshot 2024-02-09 at 7 24 30 AM

Work not Tombstoned in Collection

Screenshot 2024-02-09 at 7 28 32 AM

Work Tombstoned in Collection

Screenshot 2024-02-09 at 7 29 39 AM
straleyb commented 9 months ago

@carakey This is ready for another pass through. I posted pictures of my testing on staging for the different areas of functionality based on the Tl;Dr from last week and december 19th. Let me know if there are other hanging bits. I haven't been able to get those pesky buttons laid out proper, but I don't want that specific thing to hold up any QA for the core functionality of what we need for Tombstones to be operating within the system.

straleyb commented 9 months ago

One bug I noticed is its sending two notifications out. One deletion and one approval. Need to find the source of where this extra notification is coming from.

straleyb commented 8 months ago

Ok I think the search error I was having is actually random issue with a work. I created a new work, approved it, searched, it showed up, then tombstoned it and searched again and it was gone. Search worked properly.

carakey commented 8 months ago

QA round 5:

TL;DR list

Full QA Notes:

Setup:

Testing:

straleyb commented 8 months ago

@carakey Is the expectation for the (Image) text just to be removed? Or is there some sort of layout that is more desired? Also, could you provide a screenshot for the my collection thing? Im confused about being able to reproduce this error.

carakey commented 8 months ago

@straleyb Just to remove the (Image) text. I don't know any reason why it should be there.

re: My Collection showing tombstoned work:

image

^ The tombstoned test work is only thing that's been added to this My Collection (which is a private user collection created with my personal gmail address). This item is in tombstoned state but the collection still shows as having 1 item in the list of my collections.

image

^ In the collection view, the thumbnail for the tombstoned item still appears and the title shows on hover. If I click this I get to the tombstone show page, but it would be better if it were removed from all collections including user collections.

carakey commented 8 months ago

I am getting different results in my unaffiliated user collection from what @straleyb is seeing. Trying to reproduce:

  1. As unaffiliated cara_test user, add a test work (this one) to a user collection "Cara Test." Also added another work that won't be tombstoned for this test. Verify both appear in my Cara Test collection, along with previously tombstoned test work.
  2. As admin user, tombstone the new test work.
  3. As cara_test user, navigate to Cara Test collection. See three thumbnails showing, 2 of them for currently tombstoned works.

image

carakey commented 8 months ago

QA round 6:

  1. Right away as I started QA, I saw that my "Cara Test" User Collection thumbnails still included two tombstoned works. However, after going through the process of re-approving and then re-tombstoning the test works, the thumbnails did disappear from my collection. FWIW I re-approved one yet again and it did show back up in the list of works in my collection, but did not reappear as a thumbnail (no other thumbnail replaced it, either).

  2. The string displaying the work type in parentheses has been removed from the tombstoned work's show page.

  3. I'm still getting the two emails when I tombstone a work - one with the "Tombstone request" and the other with the "deletion request" language.

Assuming that the my collection issue is only with works tombstoned prior to the most recent changes, and since the emails aren't user facing, I can QA pass this as MVP. We'd still like to see the emails fixed and the tombstone management feature in the dashboard.

straleyb commented 8 months ago

1: This one should be fine once we deploy. There shouldn't be any tombstoned works attached to any collections so the process should work of tombstoning an item and it being removed should function as expected. The current functionality of re-adding a work that was previously featured as featured if it is reapproved wasn't discussed. Currently you can just re-add it back as a featured fileset from the collection edit page, so it should be fine. If this is a piece of functionality we want then it should be discussed as an enhancement for this rather than MVP.

2: I think this is what was discussed previously here Show page for work and fileset still has the worktype in parentheses off to the far right side - (Image) on my test item, and I also see (Generic) in @straleyb 's screenshots.

3: This problem shouldn't be an issue when we deploy. While updating and working on tombstones, multiple notifications were used. Once this gets deployed, production will only know about the tombstone notification and shouldn't have the delete one.

The tombstone management feature should be discussed by POSM for needs and requirements, then a ticket should be made for it. Thats another quite significant chunk of work and should be discussed and requirements laid out before I start tackling that.

jsimic commented 6 months ago

@straleyb How hard would it be to add Tombstoned to the filter to the Works > Suppressed Bsi? Screenshot 2024-04-23 at 10 31 00 AM

carakey commented 6 months ago

If those two items will be resolved on deploy, then this is ready to QA pass except for Julia's question.