dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Name of places with empty name not (easily?) editable anymore

Open markkorput opened this issue 5 months ago • 2 comments

OS & Hardware This is verified to happen on Firefox (142.0.1 ) and Chrome (140.0.7339.133) on mac.

Version 0.32.0

Describe the bug If you click on the name of a Place and fail/forget to give it a a name, it'll end up with an empty name.

With an empty name, the "name" of the (suggested) place is not clickable anymore (there's nothing to click on), which makes it impossible (or at least unclear?) how to edit the name from the web-UI.

This is compounded by the fact that the name auto-clears when you click on the name (to edit it) and then click away without typing anything.

To Reproduce Steps to reproduce the behavior:

  1. Go to My data (main menu) → Visits & Places
  2. Click Suggested and click on the name (Suggested Place) of a suggested place, the name should turn into a text input and have focus (so the user can start typing). The input will contain the value Suggested Place...
  3. Clicking anywhere outside the input field; the input field will disappear and the name will now be cleared
  4. It seems impossible now to edit the name again...

Expected behavior

  1. The name should not probably default to empty
  2. Even if it's explicitly made empty the name should still be editable
  3. Show a placeholder value when the name is empty, so the name is still clickable

Screenshots

Image Image

Logs N/A

Additional context N/A

markkorput avatar Sep 18 '25 11:09 markkorput

I just realized that reloading/refreshing the page will restore the Suggested Place name... so this issue is more related to the UI state-management on the page than actual names being emptied (in the DB)

I'm willing to submit a patch myself, just looking to see if anybody has this issue?

markkorput avatar Sep 18 '25 11:09 markkorput

@markkorput Yep, seeing the same. Also if you delete "Suggested Place" and click away, you can never get the textbox back

PeteH010 avatar Sep 19 '25 09:09 PeteH010