Skip to content

Draft: event-editor: Hide Cancel & Delete when read-only

This soft-depends on !418, as it makes a ton more sense when there is a tooltip explaining what's going on with the read-only status icon.

Globally, this makes the dialog look like this in the case of read-only events:

image

This might even indirectly improve accessibility by reducing the amount of unnecessary widgets a screen reader (machine or human) would need to read.

(Note that the fields being editable is a regression, see issue 1178 in the related items in #1168.)


Read-only events show a "Done" button instead of the "Save" button. The "Done" button does the same thing as "Cancel", so the "Cancel" button is then redundant.

Likewise, it is impossible to delete events from read-only calendars; there is no reason to let users wonder why they can't click "Delete". It is better to explain this in a tooltip on the padlock icon.

Fixes #1168

Edited by Jeff Fortin

Merge request reports