Open straleyb opened 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.
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.
QA Fail - a work is still fully public after tombstoning.
QA process:
Tombstone
button on the work.
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."
@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.
@carakey Ok it ran successfully and i restarted the web server so its good for another test.
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.
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.
Sure - I was almost entirely referencing the above comments about functionality.
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.
QA round 3:
Setup:
Testing:
[x] Keep visibility as it was
[x] Remove from search results
[x] Make sure it doesn't show up in facets.
[x] Remove from collection view as a non owner of collection
[x] Tombstone page for user needs to display tombstone message and citations
[x] Notice on Tombstone Page should reflect proper information: Not "This work is under review"
[x] Add button on tombstone page to revert similar to tombstone button.
[x] Default Message: "This item has been deleted"
QA round 4:
Setup:
Testing:
<span class="translation_missing" title="translation missing: en.hyrax.tombstone.revert">Revert</span>
Here's the TL;DR list of remaining changes to get to QA Pass (for Cara):
@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 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.
Tombstoned work that is unavailable
Tombstoned FileSet that is unavailable
Tombstoned work
d6"
FileSet of Tombstoned work
Search Before Work is Tombstoned
Search After Work is Tombstoned
With Creator in Facets [Aea, J. K]
With Creator in Facets Tombstoned [Aea, J. K]
Work not Tombstoned in Collection
Work Tombstoned in Collection
@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.
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.
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.
[ ] Get rid of the second notification email; keep the one that uses the "tombstone" wording.
[ ] Remove the text string with the work type in parentheses from the show page of a tombstoned work (top right, just below title).
[ ] Prevent tombstoned works + thumbnails from appearing in user collections
Setup:
Testing:
(Image)
on my test item, and I also see (Generic)
in @straleyb 's screenshots.@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.
@straleyb Just to remove the (Image)
text. I don't know any reason why it should be there.
re: My Collection showing tombstoned work:
^ 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.
^ 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.
I am getting different results in my unaffiliated user collection from what @straleyb is seeing. Trying to reproduce:
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. cara_test
user, navigate to Cara Test collection. See three thumbnails showing, 2 of them for currently tombstoned works. QA round 6:
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).
The string displaying the work type in parentheses has been removed from the tombstoned work's show page.
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.
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.
@straleyb How hard would it be to add Tombstoned to the filter to the Works > Suppressed Bsi?
If those two items will be resolved on deploy, then this is ready to QA pass except for Julia's question.
Descriptive summary
Should we have tombstoning in OD2? Do we have a usecase?