"Please provide a title for the filter" warning given when title already filled out, prevents saving #2084

Closed
opened 2023-12-22 20:10:00 +00:00 by BV · 6 comments

Description

When editing a project filter you get the warning "Please provide a title for the filter" even when the title is already filled out and it prevents you from saving unless put focus in the title field and move focus away from the title field again. You don't actually have to change the title.

Vikunja Frontend Version

0.22.0

Vikunja API Version

0.22.0

Browser and version

Edge 120.0.2210.77 & Chrome 120.0.6099.129

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

image

### Description When editing a project filter you get the warning "Please provide a title for the filter" even when the title is already filled out and it prevents you from saving unless put focus in the title field and move focus away from the title field again. You don't actually have to change the title. ### Vikunja Frontend Version 0.22.0 ### Vikunja API Version 0.22.0 ### Browser and version Edge 120.0.2210.77 & Chrome 120.0.6099.129 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots ![image](/attachments/01c24ce0-2350-499d-9e9b-fc4f077d02ab)
BV added the
kind/bug
label 2023-12-22 20:10:00 +00:00
Owner

Thank you for the report.

How did you open the title field without having the input focused right away? I was not able to reproduce this using the following steps:

  1. Open an existing saved filter
  2. Click on "edit" in the three-dots menu next to the title
  3. Hit the "save" button (does not seem to matter if you actually change any of the filter values)

As expected, the filter is saved and the popup closes.

Thank you for the report. How did you open the title field without having the input focused right away? I was not able to reproduce this using the following steps: 1. Open an existing saved filter 2. Click on "edit" in the three-dots menu next to the title 3. Hit the "save" button (does not seem to matter if you actually change any of the filter values) As expected, the filter is saved and the popup closes.
Author

I just tried it in the demo site.

  1. Click Project
  2. Create a new filter
  3. Save it
  4. When the new project opens click ... > Edit at the top

The cursor focus should be in the title field and show the red message in the screenshot from the original issues report. Click Description or anywhere else and it remains.

Same thing happens if I click the ... > Edit in the left menu

I just tried it in the demo site. 1. Click Project 2. Create a new filter 3. Save it 4. When the new project opens click ... > Edit at the top The cursor focus should be in the title field and show the red message in the screenshot from the original issues report. Click Description or anywhere else and it remains. Same thing happens if I click the ... > Edit in the left menu
Owner

Still wasn't able to reproduce. Can you share a screen recording?

Still wasn't able to reproduce. Can you share a screen recording?
Author

See attached video. Near the end I ended up putting a space in the title before navigating away and saving successfully but you don't need to. You only need to tab out of the field. Clicking focus away from it, like clicking into description, does not get rid of the error for me. The recorded example was in Safari on macOS but the same thing happened in Chrome in Edge on windows as per the original report.

See attached video. Near the end I ended up putting a space in the title before navigating away and saving successfully but you don't need to. You only need to tab out of the field. Clicking focus away from it, like clicking into description, does not get rid of the error for me. The recorded example was in Safari on macOS but the same thing happened in Chrome in Edge on windows as per the original report.
Owner

Still wasn't able to reproduce it consistently, but managed to see the behaviour you're describing once in a Windows 10 vm with Edge. I've pushed a potential fix in e3cae0ed7f - please check with the next unstable build (ready in ~45 min) if the problem still happens.

Still wasn't able to reproduce it consistently, but managed to see the behaviour you're describing once in a Windows 10 vm with Edge. I've pushed a potential fix in e3cae0ed7fe098094255b85ff277b9a0a3d8c51f - please check with the next unstable build (ready in ~45 min) if the problem still happens.
Owner

This was reported as fixed via email, closing. Please ping again if you still have issues.

This was reported as fixed via email, closing. Please ping again if you still have issues.
Sign in to join this conversation.
No Milestone
No Assignees
2 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#2084
No description provided.