dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

A bulk way to accept suggested places is required.

Open kuro68k opened this issue 2 months ago • 3 comments

OS & Hardware Debian 13, Docker, VM.

Version 0.33.0

Describe the bug I have 162 pages of 1611 suggested places. Too many to deal with by hand.

Expected behavior A way to bulk accept suggestions.

kuro68k avatar Oct 06 '25 15:10 kuro68k

Bulk accepting and merging visits is available on the map page, have a look at the video: https://dawarich.app/docs/features/visits-and-places

Freika avatar Oct 07 '25 18:10 Freika

I watched the video but it only seems to show confirming single visits at a time. I upgraded to 0.33.1 and could not see a way to bulk confirm visits. They are listed when you do an area select, but there is no "confirm all" or similar button.

kuro68k avatar Oct 08 '25 11:10 kuro68k

I'd +1 on this improvement request.

Maybe even a temporary solution in between, or that would work for me personally, would be to make it so that the 3 buttons ( confirm, decline & map ) are the first objects, that way if you want to go fast, you can leave your mouse in the same spot to easily confirm larger numbers, though still one by one but since not having to move the mouse, it'll be faster.

So basically changing https://github.com/Freika/dawarich/blob/master/app/views/visits/_visit.html.erb to:

<div class="group relative timeline-box">
  <div class="flex items-center justify-between">
    <div class="opacity-0 transition-opacity duration-200 group-hover:opacity-100 flex items-center ml-4">
      <%= render 'visits/buttons', visit: visit %>
      <!-- The button to open modal -->
      <label for="visit_details_popup_<%= visit.id %>" class='btn btn-xs btn-info'>Map</label>

      <%= render 'visits/modal', visit: visit %>
    </div>
    <div>
      <%= render 'visits/name', visit: visit %>
      <div><%= "#{visit.started_at.strftime('%H:%M')} - #{visit.ended_at.strftime('%H:%M')}" %></div>
    </div>
  </div>
</div>

And I would preferably have the buttons visible at all times, and since I just used inspector tool, I added a margin-right:

<div class="opacity-100 group-hover:opacity-100 flex items-center ml-4" style="margin-right: 10px;">

Which would look like this: Image

And though I'm not a frontend type of guy, I'd even argue moving the time div to the left to better align 😅

<div style="text-align: left;"><%= "#{visit.started_at.strftime('%H:%M')} - #{visit.ended_at.strftime('%H:%M')}" %></div>
Image

DanielB1990 avatar Oct 24 '25 19:10 DanielB1990

I'd say this is very much needed as well. Specifically though a way to bulk change the suggested visit to the correct place and then bulk confirm it. In my case my home is always suggested as the Fitness Store next door, so I have hundreds of visits that I have to change one by one to the correct place and then confirm. Same goes for my workplace and some other places I frequently visit.

Or does dawarich learn places you visit or change the suggestions of? That together with an auto accept would be perfect.

Magusbear avatar Dec 02 '25 07:12 Magusbear

@Freika is this something you could look into? Maybe, as a temporarily solution accept my pull request:

  • https://github.com/Freika/dawarich/pull/1979

The way it is now, it isn't intuitive ( to me at least )

DanielB1990 avatar Dec 12 '25 08:12 DanielB1990