bcgov / ckan-ui

CKAN UI - VueJS
GNU Affero General Public License v3.0
14 stars 4 forks source link

Review UX for Deletion of Record (#447) #320

Open SteveChapmanBCDX opened 3 years ago

SteveChapmanBCDX commented 3 years ago

When a record is deleted, the user is notified (by toast). However, the user remains in the record view and the deleted record is displayed.

Recommend that on deletion:

SteveChapmanBCDX commented 3 years ago

@yuisotozaki - What would you recommend here? I think that most users would expect to end up back at the dataset lists view, but not sure how to handle the "record deleted" notification.

yuisotozaki commented 3 years ago

@SteveChapmanBCDX Tested the flow on toyger Version: 1.9.0-85b4524 Api Version: 2.7.5 When the user presses Delete Dataset on Dataset View:

Based on this observation, here are my recommendations:

annikaLiving commented 3 years ago

@yuisotozaki will add that being able to Delete a Record should only be allowed when a record is in Draft. This is currently how it is in Cat Classic. We want to encourage people once published that they Archive a record, not delete it.

ghost commented 2 years ago

https://dpdd.atlassian.net/browse/DDS-447