eclipse-apoapsis / ort-server

A scalable server implementation of the OSS Review Toolkit.
Apache License 2.0
15 stars 7 forks source link

Improve editing of hierarchy element names / descriptions #831

Open sschuberth opened 1 month ago

sschuberth commented 1 month ago

Currently the edit button, e.g. for products, is displayed next the name although it actually also refers to the description, and clicking it opens a new view.

This could probably be simplified by making the name and description inline editable, similar to like the Linear issue tracker does it in several places, like issue titles. However, Linear does not currently seem to offer a way to discard changes when inline editing. I propose to simply allow pressing Esc for that, or maybe display some dynamic "Cancel" button while editing.

Etsija commented 3 weeks ago

I would say inline editing for the hierarchy elements goes against the current philosophy of using specific edit routes for editing those elements. It's probably going to be a bigger change than one thinks of, and to me feels like an unnecessary complication of the UI code.