Commit graph

6191 commits

Author SHA1 Message Date
Michael Mayer 735136c25c Frontend: Format code and update package-lock.json 2022-06-17 05:20:28 +02:00
Heiko Mathes 580de58346
UX: Ssearch view render performance improvements (#2433)
* virtualize mosaic-view

* start virtualizing parts of the list view

* drastically improve mosaic component updating performance by not rendering cards if not necessary

* speed up list view virtualization by preventing the rendering of vue-components

* start virtualizing cards view

* continue virtualizing card view

* finish virtualizing cards

* start moving common virtualization logic into shared file

* try speeding up access to calculated photo details

* remove console.log

* improve accuracy of cards-placeholder elements

* remove console.log

* start fixing memoized values not updating on change

* fixing memoized values not updating on change

* remove console.logs

* fix getting location info after memoizing the function

* remove obsolete comment

* start rendering of only visible icons in mosaic-view

* continue rendering of only visible icons in mosaic-view

* implement rendering of only visible icons in cards-view

* implement rendering of only visible icons in list-view

* memoize some photo-model functions that are called when rendering mosaic- or cards-view

* fix cards sometimes getting smaller when scrolling

* improve fix for cards sometimes getting smaller when scrolling

* prevent rendering of no-photos-alert if photos are present

* fix selection issues after implementing conditional button-rendering

* speedup mosaic rendering by replacing vue components with html components

* speedup cards rendering by replacing vue components with html components

* speedup list rendering by replacing vue components with html components

* fix removed elements leaving behind placeholders in view

* speedup photo view rendering by replacing vue buttons and icons with regular html components

* fix positioning of card-title in placeholder elements

* fix missing icons after multiselect or select via touch

* prevent flickering of favourite button on click

* prevent flickering of favourite button on click

* use div instead of v-flex

* replace inline styles with css classes

* re-add actually necessary css-classes

* add size-containment to mosaic-elements to reduce re-layouting costs when virtualization replaces children

* fix typo in comment

* use plain html instead of components and css-classes instead of inline styles in cards.vue

* improve list scrolling by not using v-data-table for a static table

* fix icon-color on card-details in light-theme

* fix card-details showing wrong icons with wrong height on pixel 3

* fix animated gif-previews getting out of image-bounds when hovering in firefox

* fix closing brackets in mosaic view not matching opening brackets

* fix live-photo icon in mosaic- cards and list components

* improve render performance by replacing v-hover vue-component with css-hidden button

* prevent unnecessary rerenders

* prevent unnecessary rerenders

* undo "prevent unnecessary rerender" because the real-world-effect is negligable

* load next batch earlier to reduce change of scrolling to the end before the load finished

* add explanation on why the selection-button isnt removed via v-if

* remove console.log

* speed up rendering by reducing amount of observed items

* fix favourite-buttons in non-search views

* prevent unnecessary observeItems-calls by only observing items when photos changed

Co-authored-by: Heiko Mathes <heiko@pop-os.localdomain>
2022-06-17 04:44:58 +02:00
Heiko Mathes d776e9cf83
UX: Pseudo-virtualize mosaic, cards and list view (#2292)
Related / Follow-Up Issues:

- #85
- #152
- #307
- #583
- #1582
- #1623
2022-06-17 04:15:20 +02:00
Michael Mayer 0402b8d397 Demo: Remove docker-demo-debian target from Makefile 2022-06-17 01:31:03 +02:00
Michael Mayer 632f401a1e Backend: Update translations based on locales/messages.pot 2022-06-16 19:33:15 +02:00
Michael Mayer 9a61524a36 Backend: Update Go deps in go.mod and go.sum 2022-06-16 19:01:39 +02:00
Michael Mayer acc779f107 Albums: Restore deleted album when trying to create it again #2429 2022-06-16 18:59:03 +02:00
Michael Mayer d769a1e38b Demo: Update Makefile targets 2022-06-16 11:30:00 +02:00
Michael Mayer 13b801d702 Demo: Add docker-demo-latest to Makefile 2022-06-16 11:23:51 +02:00
Michael Mayer e612dcca10 Demo: Fix Makefile targets 2022-06-16 10:43:59 +02:00
Michael Mayer a19b782162 CI: Update Docker image build scripts to support additional args 2022-06-16 10:35:26 +02:00
Michael Mayer db9cbe72c6 Docker/CI: Add Ubuntu-based demo and update targets in Makefile 2022-06-16 10:21:35 +02:00
Michael Mayer 3ea21f4d24 Docker/CI: Add :ubuntu and :preview-ubuntu image tags 2022-06-16 09:55:43 +02:00
Michael Mayer 2f91813678 Metadata: Update list of unwanted descriptions 2022-06-16 09:36:34 +02:00
Michael Mayer 23fd9ae731 Colors: Use int16 instead of int8 to avoid (de)serialization issues 2022-06-16 06:30:59 +02:00
Michael Mayer d604b7c61e Frontend: Upgrade dependencies in package.json and package-lock.json 2022-06-16 03:58:37 +02:00
Michael Mayer 18a248d464 Backend: Upgrade satori/go.uuid from v1.2.0 to v1.2.1 2022-06-16 03:34:20 +02:00
Michael Mayer b2a784f074 Frontend: Update translations.json 2022-06-16 01:31:27 +02:00
Michael Mayer 64e938b0d7 MariaDB: Add migrate test database and dialect_mysql_test.go #2398 2022-06-16 01:27:14 +02:00
Michael Mayer 78c12cabe0 WebDAV: Remove debug logs from pull request for #2391 #2392 2022-06-16 01:20:44 +02:00
chain710 8254c73558
WebDAV: Fix auto indexing/importing in a sub-directory on a shared domain #2391 #2392 2022-06-16 00:47:37 +02:00
Michael Mayer 7b9434f393
Merge pull request #2424 from photoprismci/weblate-photoprism-frontend
Weblate: Update translations
2022-06-15 22:10:56 +02:00
Weblate 8fcf4334cd Merge remote-tracking branch 'origin/develop' into develop 2022-06-15 14:11:19 +02:00
Michael Mayer c5031ae124 Frontend: Update translations.json #2419 2022-06-15 14:10:48 +02:00
Weblate f7d85e1b37 Merge remote-tracking branch 'origin/develop' into develop 2022-06-15 14:10:01 +02:00
Michael Mayer e631733dbd
Merge pull request #2419 from photoprismci/weblate-photoprism-frontend
Weblate: Update translations
2022-06-15 14:09:55 +02:00
Weblate 136f3c21aa Weblate: Update frontend translations 2022-06-15 11:51:56 +02:00
Michael Mayer 54e5a63b49 Backend: Upgrade gin-gonic/gin to v1.8.1 2022-06-15 11:51:43 +02:00
Weblate d4a233e3ca Merge remote-tracking branch 'origin/develop' into develop 2022-06-15 08:01:16 +02:00
Theresa Gresch 554a774544
Merge pull request #2421 from photoprismci/weblate-photoprism-backend
Weblate: Update translations
2022-06-15 08:01:10 +02:00
Weblate 338d9d1d3b Weblate: Update frontend translations 2022-06-15 06:36:23 +02:00
Weblate b9116aa40a Weblate: Update backend translations 2022-06-14 21:36:23 +02:00
Michael Mayer dea9ff6868 Frontend: Update translations.pot 2022-06-14 13:28:00 +02:00
Michael Mayer e5baeadfa2 Frontend: Update package-lock.json 2022-06-14 13:27:50 +02:00
Michael Mayer a0c36f6af3 Frontend: Update ar.po and translations.json 2022-06-14 13:25:03 +02:00
Michael Mayer c27ee0ead5 Update CODE_OF_CONDUCT.md 2022-06-14 13:00:31 +02:00
theresa b536f5f7ad Translations: Add option for arabic 2022-06-14 12:37:40 +02:00
Michael Mayer 646419e1fa Update CODE_OF_CONDUCT.md
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-06-14 05:16:06 +02:00
Michael Mayer f2916dc14c Develop: Upgrade base image version to 220613-bookworm 2022-06-14 02:13:31 +02:00
Michael Mayer a3e6670df3 Backend: Update dependencies in go.mod and go.sum 2022-06-14 02:13:04 +02:00
Michael Mayer 942fedf679 Docker: Upgrade Go from v1.18.2 to v1.18.3 2022-06-14 01:51:53 +02:00
Michael Mayer 046acbd09c Frontend: Update package-lock.json 2022-06-13 23:46:25 +02:00
Michael Mayer 220b2b3331 Frontend: Update translations.json 2022-06-13 23:46:14 +02:00
Michael Mayer 19ee72dda9
Merge pull request #2417 from photoprismci/weblate-photoprism-frontend
Weblate: Update translations
2022-06-13 23:43:49 +02:00
Weblate b0211d94e0 Translations: Resolve frontend/src/locales/ar.po merge conflicts 2022-06-13 23:40:37 +02:00
Michael Mayer ddb49b3824 Update CODE_OF_CONDUCT.md 2022-06-13 23:13:02 +02:00
Michael Mayer 7ee76de4b7 Update CODE_OF_CONDUCT.md 2022-06-13 22:27:00 +02:00
Theresa Gresch a846c28fc4
Merge pull request #2413 from photoprismci/weblate-photoprism-backend
Weblate: Update translations
2022-06-13 11:49:05 +02:00
Weblate 0db0493fb1 Weblate: Update backend translations 2022-06-12 00:36:22 +02:00
Michael Mayer de11a9001f Migrations: Remove UPDATE SET SUBSTR() #2398 2022-06-09 20:28:18 +02:00