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

Open
opened 6 days ago by WofWca · 3 comments
WofWca commented 6 days ago

Description

You were right #2767

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 6 days ago
konrad commented 6 days ago
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?
dpschen commented 6 days ago
Collaborator

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.
WofWca commented 5 days ago
Poster

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.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/frontend#3253
Loading…
There is no content yet.