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

Admin deletion consistency #2228

Merged
merged 9 commits into from Jul 8, 2019
Merged

Admin deletion consistency #2228

merged 9 commits into from Jul 8, 2019

Conversation

noirbizarre
Copy link
Contributor

@noirbizarre noirbizarre commented Jul 4, 2019

This PR displays deleted item in the admin interface when its possible without a big API change.

It will be visible on:

  • System > Harvesters listing
  • Me dashboard
  • Organization dashboard

The deleted items are presented with a <del> markup (introduce a new deletable-text cell renderer):

screenshot-data xps-2019 07 04-15-46-53

Capture d’écran de 2019-07-04 15-47-44

An alternative approach is to reuse the visibility cell renderer (no new cell renderer but wider display):
screenshot-data xps-2019 07 04-15-37-52

NB: reuses test have been migrated while working on the initial specs, before the indexing part was removed. It can be submitted in another PR.

Related to #2216

@noirbizarre
Copy link
Contributor Author

Updated

Harvesters

Both alternatives have been merged ( strikethrough + proper status display)

screenshot-data xps-2019 07 04-18-00-11

The organization or user owning the harvester can the deleted state too

screenshot-data xps-2019 07 04-17-58-53

Admin home

Deleted reuses are displayed properly

screenshot-data xps-2019 07 04-17-46-30

Me and organizations tabs

Datasets and reuses listing now display the deleted state

screenshot-data xps-2019 07 04-17-44-28

@noirbizarre noirbizarre changed the title WIP: Admin deletion consistency Admin deletion consistency Jul 4, 2019
@noirbizarre noirbizarre requested a review from a team July 4, 2019 16:07
@taniki taniki mentioned this pull request Jul 5, 2019
@noirbizarre noirbizarre merged commit 7f12886 into opendatateam:master Jul 8, 2019
@noirbizarre noirbizarre deleted the gh2216-admin-deletion-consistency branch July 8, 2019 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants