A bulk way to accept suggested places is required.
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.
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
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.
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:
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>
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.
@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 )