docs.lix.systems edit links open cls even when nothing is changed #1019

Open
opened 2025-10-21 22:00:44 +00:00 by pennae · 5 comments
Owner

clicking an edit link on docs.lix.systems while in the 2.93 (and also current stable) docs immediately creates a CL on gerrit if the user clicking the link is logged in. if an actual edit is made that's fine, but if it was a misclick we end up with an empty cl. that's not great

(thanks to @helle for finding this)

clicking an edit link on docs.lix.systems while in the 2.93 (and also current stable) docs immediately creates a CL on gerrit if the user clicking the link is logged in. if an actual edit is made that's fine, but if it was a misclick we end up with an empty cl. that's not great (thanks to @helle for finding this)
Author
Owner

cl/4555 and cl/4552 are probably yet more instances of this. maybe we should remove the direct edit link altogether and put a short guide in its place?

cl/4555 and cl/4552 are probably yet more instances of this. maybe we should remove the direct edit link altogether and put a short guide in its place?
Owner

we noticed this while implementing it originally. i don't think it's avoidable unfortunately, Gerrit seems to only let you do these edits as a cl. i personally don't have issues with it, but we could implement a periodic cleanup task that abandons empty cls?

we noticed this while implementing it originally. i don't think it's avoidable unfortunately, Gerrit seems to only let you do these edits as a cl. i personally don't have issues with it, but we could implement a periodic cleanup task that abandons empty cls?
Author
Owner

have we even had a gerrit-based edit to the docs since the feature was added? all CLs with the telltale subject line are misclicks :/

have we even had a gerrit-based edit to the docs since the feature was added? all CLs with the telltale subject line are misclicks :/
Owner

in favor of dropping it tbh, though i can just filter out the misclicks in my mind

in favor of dropping it tbh, though i can just filter out the misclicks in my mind
Member

I am considering patching the doc generator and having the links have a confirm popup in front of them, this would literally avoid the clicks I have been doing anyway.

I am considering patching the doc generator and having the links have a confirm popup in front of them, this would literally avoid the clicks I have been doing anyway.
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1019
No description provided.