Commit graph

3073 commits

Author SHA1 Message Date
Reuben Dowle
fbd6ad2a95
Places: Fix clusters showing in the wrong location (#3657) 2023-08-21 09:34:10 +02:00
Michael Mayer
a3f27c8d67 UX: Set accent color for HTML progress bar on splash screen
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-18 11:09:09 +02:00
Michael Mayer
3c1b673f17 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-18 09:26:38 +02:00
Reuben Dowle
fc7269480c
Places: Fix cluster update callback function (#3648)
* Places: Avoid concurrently calculating markers

* Places: Ignore duplicated cluster IDs
2023-08-18 08:19:46 +02:00
Michael Mayer
5deedbf47c Places: Show 4 previews for clusters >= 10 pictures #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-17 15:10:39 +02:00
Michael Mayer
736d1a9090 Places: Skip cluster update if nothing has changed #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-17 14:20:22 +02:00
Michael Mayer
9b282e4ce0 Places: Improve code comments #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-17 11:42:36 +02:00
Michael Mayer
ae52117557 Places: Also update clusters on 'resize' and 'idle' #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-17 11:38:20 +02:00
Michael Mayer
09f324a1d9 Places: Don't also update clusters on 'move' #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 20:42:48 +02:00
Michael Mayer
a0f16b60b5 Places: Also update clusters on 'move' #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 20:34:50 +02:00
Michael Mayer
c7dae2383f Places: Reduce radius of photo cluster markers #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 19:09:17 +02:00
Michael Mayer
730cbeaf2c Places: Remove paint from clusters layer #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 14:53:05 +02:00
Michael Mayer
b85c2a2dab Places: Attach moveend handler before calling search() #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 14:17:34 +02:00
Michael Mayer
874371b046 Places: Refactor rendering of clusters on the map #1187 #2596 #3636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 13:34:13 +02:00
Reuben Dowle
f1c7378fbf
Places: Fix markers not updating correctly (#3636) 2023-08-16 12:56:38 +02:00
Michael Mayer
cb9d601dfa Frontend: Update deps in package.json and package-lock.json #1187 #2596
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 10:32:15 +02:00
Michael Mayer
3212724aae Live Photos: Update cards.vue #3559
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 15:19:12 +02:00
Michael Mayer
3f6cb27497 Live Photos: Show correct image and video dimensions #3559
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 14:51:32 +02:00
Michael Mayer
a287830d1f Videos: Allow setting a lower TTL for caching video content #3631
Adds the new "--http-video-maxage SECONDS" config option.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 11:06:43 +02:00
Michael Mayer
5da5ee72a7 Frontend: Reformat cards.vue and mosaic.vue #1187
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 09:15:17 +02:00
Michael Mayer
cc7c3e3a64 Places: Refactor Cluster View Styles #1187 #2596
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-14 15:24:47 +02:00
Michael Mayer
77b5996640 Frontend: Refactor styles and add Chrome theme
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-14 09:52:51 +02:00
Michael Mayer
104f87ea6d Fronend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-11 14:30:36 +02:00
graciousgrey
b194188e91 Tests: Add class for testing 2023-08-09 13:35:53 +02:00
graciousgrey
26ad621bd5 Tests: Add acceptance test #272 2023-08-08 13:57:31 +02:00
Michael Mayer
54326361b5 Frontend: Update translations.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-07 14:46:15 +02:00
Michael Mayer
eecce8c743 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-07 14:46:00 +02:00
Sönke Joppien
65a5dd2cb4
Update German translation (#3605)
* Update German translation

* Update "Feature Request" to "Verbesserungsvorschlag"
2023-08-05 18:59:21 +02:00
Michael Mayer
098d39f9dc Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-01 14:28:05 +02:00
Reuben Dowle
a58318f304
UX: Don't process all features for clusters exceeding 100 photos. (#3577)
* Performance: Don't process all features when creating cluster marker..

Fixes performance issues with large numbers of photos

* Performance: Only update markers after final render, rather than repeatedly during zoom, pan, etc

* UX: Spread out photos used to generate cluster marker.

This gives a slightly more representative view of cluster than taking the first
couple of photos which are often all very similar.
2023-08-01 14:06:09 +02:00
Michael Mayer
31578a3806 UX: Revert outer padding of moasic view from pa-1 to pa-2 #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-29 13:02:31 +02:00
graciousgrey
83473f6f93 Tests: Adapt acceptance test to changes #2596 2023-07-27 17:30:11 +02:00
graciousgrey
40b1f1f5cd Tests: Update testcafe config 2023-07-27 12:58:23 +02:00
Gokce Dilek
1df12bd5c9
Albums: Refresh updated timestamp when photos are added (#3566)
Related Issue:
- #3080
2023-07-25 19:10:01 +02:00
Michael Mayer
97e9ad9c1e UX: Restore 4px border radius for thumbnails in edit dialog #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 16:26:11 +02:00
graciousgrey
8f165c653f Tests: Add acceptance test 2023-07-24 16:25:52 +02:00
Michael Mayer
fd0ef7825e UX: Add 4px border radius for thumbnails in mosaic view #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 16:14:26 +02:00
Michael Mayer
ef1487ddd2 Frontend: Update translations.pot #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 14:54:43 +02:00
Michael Mayer
22bb6634af UX: Use less padding in mosaic view in favor of larger thumbnails #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 14:52:38 +02:00
Heiko Mathes
60d280430e
Places: Add Cluster View (#2596)
* enable clustering on all zoom levels

* add latmin, latmax, lngmin and lngmax to search api

* open prefiltered search when clicking a cluster on the map

* start moving places pictures to overlay

* update scrollbar hide todo comment

* add todo comments for cluster view

* start implementing possitbility to close cluster view via back button

* move selected cluster to single query param

* improve back-navigation of cluster-view

* remove outdated comment

* start showing preview-images in clusters

* cleanup some cluster-code in places

* use rounded squares instead of circles so more from the image can be seen

* try improving map visibility by adding borders

* add counter bubble to places view

* remove obsolete comment

* remove console.log

* add todo comment to fix search on cluster-view open

* fix closing a cluster resetting the places-filter

* prevent old cluster markers from being visible while zooming

* prevent cluster-previews from being smaller than single-image-previews

* make cluster-preview-images fill the whole available area and scale them to their bounding box

* increase clusterRadius to reduce likelyhood of clusters colliding on the map

* update obsolete todo comment

* try making cluster view look less broken for small clusters. elements in photo-view use block-relative percentages based on viewport-relative media queries

* remove seemingly unrequired code

* fix cluster view after "pages"-components moved to "page" (singular)
2023-07-24 10:12:22 +02:00
Michael Mayer
ea8ee0938c UX: Trim Lat / Lng and split values with regex #3568 #3571
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 08:40:27 +02:00
Michael Mayer
6b9aeda48f Themes: Darken "Mint" clipboard menu colors
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 18:00:22 +02:00
Michael Mayer
ad3da85ecb UX: Add Delete All button to archive page toolbar #272
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 17:57:48 +02:00
Michael Mayer
90eac1966b Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 16:11:40 +02:00
Michael Mayer
bf0ad09557 UX: Refactor pasting lat / lng in a single operation #3568
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 16:07:02 +02:00
Reuben Dowle
ce13135743
Frontend: Allow paste of lat/lng in single operation (#3568)
This speeds up the workflow when pasting location found in external mapping application
2023-07-23 15:48:43 +02:00
Michael Mayer
20df14e9d1 Frontend: Add "Mint" theme and move default styles to themes/default.css
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-21 09:55:57 +02:00
Michael Mayer
74f6954a90 UX: Add click handler to open image in labels tab #3532
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-20 17:16:27 +02:00
Michael Mayer
7c70ac0126 UX: Improve tab styles and layout in photo editing dialog #3532
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-20 15:35:35 +02:00
Reuben Dowle
3d828a7df0
Frontend: Show thumbnail in the Labels tab of the edit dialog (#3532) 2023-07-20 09:17:46 +02:00