list view: "Quick add magic" tip layout shifting is annoying #2026

Closed
opened 2023-03-16 15:28:11 +00:00 by WofWca · 4 comments
Contributor

Description

You were right vikunja/frontend#2767 (comment)

When you open the list view, it immediately expands. If you try to mark a task "done", on mousedown it will hide, and on mouseup the checkbox you were trying to click will go from under your cursor, resulting in task not getting marked as "done". ANGERY

Possible solutions:

  • Show it only as the user starts typing and don't ever hide it (or only if there is a good opportunity.
  • Always show it.

Vikunja Frontend Version

ee4974a4

Vikunja API Version

v0.20.4+22-769db0dab2

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

### Description You were right https://kolaente.dev/vikunja/frontend/pulls/2767#issuecomment-42018 When you open the list view, it immediately expands. If you try to mark a task "done", on `mousedown` it will hide, and on `mouseup` the checkbox you were trying to click will go from under your cursor, resulting in task not getting marked as "done". **ANGERY** Possible solutions: * Show it only as the user starts typing and *don't ever* hide it (or only if there is a good opportunity. * Always show it. ### Vikunja Frontend Version ee4974a4 ### Vikunja API Version v0.20.4+22-769db0dab2 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
WofWca added the
kind/bug
label 2023-03-16 15:28:11 +00:00
Owner

Show it only as the user starts typing and don't ever hide it (or only if there is a good opportunity.

I think that would work. Do you want to send a PR?

@dpschen since you introduced that change, what do you think?

> Show it only as the user starts typing and don't ever hide it (or only if there is a good opportunity. I think that would work. Do you want to send a PR? @dpschen since you introduced that change, what do you think?
Member

I can understand the anger. Sorry for that :D.
How about the following: we create an info icon that is clickable and displays the info in a popup.

I can understand the anger. Sorry for that :D. How about the following: we create an info icon that is clickable and displays the info in a popup.
Author
Contributor

Do you want to send a PR?

I'm a little not up to speed with composition API, but I can try, a little later maybe.

we create an info icon that is clickable and displays the info in a popup

Sounds reasonable too. Although fewer people would see it then, I think.

> Do you want to send a PR? I'm a little not up to speed with composition API, but I can try, a little later maybe. > we create an info icon that is clickable and displays the info in a popup Sounds reasonable too. Although fewer people would see it then, I think.
Member

You were right #2767

😆

> You were right #2767 😆
Sign in to join this conversation.
No Milestone
No Assignees
3 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: vikunja/vikunja#2026
No description provided.