hariettem / Artemis

Issue tracker for Artemis app
59 stars 2 forks source link

Improve UX of the highlighting of text in replies when you re-open them #378

Open deadwingso opened 11 months ago

deadwingso commented 11 months ago

I have just noticed that if you tap out of the comment box while writing a comment/post and then tap in to the box to edit again, all the text in the comment box is automatically selected. This has led to several instances of replacing several paragraphs with a single letter, space or deleting.

Currenty I believe the best fix would be to stop the text box highlighting all text and instead place the cursor at the start of the text/in front of the first character in the text box.

An undo button built into the text box/comment box would also help.

Running artemis on iOS 16.6, iPhone SE 3rd gen.


Suggestions from River:

  1. Add an undo button to the UI - this is useful in general, in case you copy-paste the wrong thing, or highlight-delete on your own or etc.
  2. Make this highlighting of text optional in user preferences, defaulting to ON.

The priority of 1 is a lot higher than 2, but I think both should eventually be done.

RheingoldRiver commented 11 months ago

I have also noticed that if you tap out of the comment box after this has happened and then tap back into the comment box, you are unable to utilise the undo/shake-to-undo command with the iPhone keyboard. I have not been able to find an undo button within Artemis’s text/comment box.

I am going to split this out as a separate ticket, and mark this as an enhancement with the primary request of adding an "undo" button and secondary request of a preference to toggle highlighting in this case. So, I am going to edit your text a bit.

omlettehead commented 11 months ago

FYI, A temporary way I've found to mitigate this issue is to long press the space bar in the software keyboard to enter "cursor mode". It'll deselect all the text and place the cursor where you direct it.