Misc fixes #416

Open
novenary wants to merge 6 commits from novenary/akkoma-fe:misc-fixes/2024-09-17 into develop
First-time contributor

This is a collection of bug fixes and minor UX improvements based on my own experience using akkoma-fe.

Individual commits are rather small, so I'm submitting them together, but I can split up the PR if needed.

This is a collection of bug fixes and minor UX improvements based on my own experience using akkoma-fe. Individual commits are rather small, so I'm submitting them together, but I can split up the PR if needed.
novenary added 5 commits 2024-09-17 09:35:05 +00:00
This fixes random actions being triggered by the enter key while the
subject field is focused.

When pressing enter, the browser simulates a click on the first "submit"
button it finds in the form.
A submit button is a button without `type="button"` set.
Remediate this by setting the type attribute on all but the "Post"
button.

Additionally, inhibit the enter key in the subject field (ctrl+enter
still works).
This saves a click to get at your most commonly used emoji.
5 suggestions is really too little, so increase the limit and make the
list scrollable.
post_status_form: inherit language from parent
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
c2b2f59c03
If I'm replying to a post in Klingon, chances are I'm going to write in
Klingon. This reduces friction for properly marking post language in a
conversation.
novenary force-pushed misc-fixes/2024-09-17 from c2b2f59c03 to 67c0143b1f 2024-09-17 18:17:00 +00:00 Compare
novenary added 1 commit 2024-09-17 22:08:03 +00:00
conversation: scrollIntoView when collapsed
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
8b5ebe10ab
This helps find the original context when collapsing a thread on the
timeline.
novenary changed title from WIP: Misc fixes to Misc fixes 2024-09-17 22:12:35 +00:00
novenary force-pushed misc-fixes/2024-09-17 from 8b5ebe10ab to c6de61e081 2024-09-20 15:45:15 +00:00 Compare
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u misc-fixes/2024-09-17:novenary-misc-fixes/2024-09-17
git checkout novenary-misc-fixes/2024-09-17
Sign in to join this conversation.
No description provided.