galaxy icon indicating copy to clipboard operation
galaxy copied to clipboard

History deletion wording inconsistency

Open bernt-matthias opened this issue 1 year ago • 6 comments

Describe the bug

The history menu entry Delete this history has a tooltip Permanently delete this history

  • Permanently should be removed from the tooltip (because permanence is only optional)
  • We should use only one of permanently delete or purge throughout the UI (we use the former in the confirmation dialog and the later in the history list)

Screenshot from 2024-07-18 21-24-03

Screenshot from 2024-07-18 21-32-11

Galaxy Version and/or server at which you observed the bug Galaxy Version: 24.1

bernt-matthias avatar Jul 18 '24 19:07 bernt-matthias

Permanently should be removed from the tooltip (because permanence is only optional)

I have a change here in https://github.com/galaxyproject/galaxy/pull/18265 (in this commit) that deals with this change.

We should use only one of permanently delete or purge throughout the UI (we use the former in the confirmation dialog and the later in the history list)

Yes, we can pick either Purge or Permanently delete. Purge might make more sense as it appears in tooltips and text next to the purge icon in various places.

ahmedhamidawan avatar Jul 22 '24 23:07 ahmedhamidawan

Yes, we can pick either Purge or Permanently delete. Purge might make more sense as it appears in tooltips and text next to the purge icon in various places.

I'm fine with either but as a non-native English speaker, I thought "purge" could have negative connotations. The definitions usually say: to remove something bad or wrong while Permanently delete makes it more clear to me what is going to happen and makes me think that there is a difference between "delete" and "permanently delete" which is something people usually are confused when they "delete" something but it is still taking space...

davelopez avatar Jul 23 '24 08:07 davelopez

+1

Not sure how, but maybe we could also express that "purge"/"permanently delete" history actually only means that the data associated with the history is removed from disk. But this would probably just increase confusion.

bernt-matthias avatar Jul 23 '24 09:07 bernt-matthias

Discussed in dev meeting, seems like preference is to standardize on 'permanently delete', purged is an implementation detail that users odn' tnee dto see.

dannon avatar Jul 23 '24 14:07 dannon

This has been mostly fixed in https://github.com/galaxyproject/galaxy/pull/18265 (); as far as history details sections and actions go. A few other places still say "Purged" like: image

but there is a concern about not enough space to fit "Permanently Deleted" in these cases

ahmedhamidawan avatar Jul 26 '24 16:07 ahmedhamidawan

One idea, in that particular case, we could keep Purged, the tooltip will explain that it is permanently deleted. Another idea is to remove the text and increase the icon a bit to make the tooltip target bigger. But I know there are also concerns about showing only icons without text.

davelopez avatar Jul 26 '24 17:07 davelopez