XKit-Rewritten icon indicating copy to clipboard operation
XKit-Rewritten copied to clipboard

Trim Reblogs: allow leaving >1 trail item

Open AprilSylph opened this issue 3 years ago • 2 comments

Some input[type="number"] styling in content_scripts/modals.css will be needed.

The "Trim this post?" confirmation modal should have its message changed to allow the user to customise the number of trail items kept. The input should always have min="1" and the max should be 1 less than the trail length on the post being actioned on. This input should be validated.


this is on the Feature Progress project board already but issues make april go faster. https://github.com/issues/assigned is my favourite to-do list app

AprilSylph avatar Dec 06 '21 20:12 AprilSylph

input[type="number"] doesn't have a variable instrinsic width based on content, and Firefox is bad at making select elements stylable and usable at the same time. Either way, it looks bad.

image image

This feature has only been requested twice, and the discussion where it was first proposed (#263) has no upvotes, so I'm shelving this idea until I figure something else out.

AprilSylph avatar Dec 07 '21 13:12 AprilSylph

Should be possible now by using a <form> in the modal.

AprilSylph avatar Mar 14 '22 14:03 AprilSylph