chainchompa
79a7b11214
remove old boards list
2024-07-08 15:02:22 -04:00
chainchompa
3a85ab15a1
update BoardRecord
2024-07-08 14:55:04 -04:00
chainchompa
9ca6980c7a
cleanup and bug fixes
2024-07-08 13:29:53 -04:00
chainchompa
6437ef3f82
add view that displays private boards with shared boards
2024-07-03 14:25:36 -04:00
psychedelicious
b1cc413bbd
tidy(ui): remove search term fetching indicator
...
Don't like this UI (even though I suggested it). No need to prevent the user from interacting with the search term field during fetching. Let's figure out a nicer way to present this in a followup.
2024-07-01 20:06:28 +10:00
psychedelicious
face94ce33
feat(ui): tweak search term placeholder verbiage
2024-07-01 20:06:28 +10:00
psychedelicious
f0b1f0e5b6
feat(ui): pass search term as-is to query
...
The images service does not add the query filter if the search term is an empty string.
2024-07-01 20:06:28 +10:00
Mary Hipp
20d5c3a8bf
(ui): improve loader/fetching state while searching, make search term a string in redux
2024-07-01 20:06:28 +10:00
Mary Hipp
da05034e20
feat(ui): debounced gallery search
2024-07-01 20:06:28 +10:00
psychedelicious
10076fb1e8
feat(ui): tweak gallery settings popover divider styling
2024-06-28 18:01:01 +10:00
psychedelicious
d6e85e5f67
tidy(ui): rename GalleryBulkSelect -> GallerySelectionCountTag
2024-06-28 18:01:01 +10:00
psychedelicious
1ce459198c
chore(ui): knip
2024-06-28 18:01:01 +10:00
psychedelicious
17d337169d
fix(ui): do not reset limit when changing gallery view
2024-06-28 18:01:01 +10:00
psychedelicious
1468f4d37e
perf(ui): split out gallery settings popover components
...
This was taking over 15ms (!) to render each time a setting changed, wtf
2024-06-28 18:01:01 +10:00
psychedelicious
2b744480d6
feat(ui): update UI for sorting
2024-06-28 18:01:01 +10:00
psychedelicious
abb8d34b56
chore(ui): typegen
2024-06-28 18:01:01 +10:00
Mary Hipp
6109a06f04
feat(ui): gallery sort by created at or starred, asc or desc
2024-06-28 18:01:01 +10:00
psychedelicious
0d4b80780b
feat(ui): handle edge cases when archiving/deleting boards
...
If the currently selected or auto-add board is archived or deleted, we should reset them. There are some edge cases taht weren't handled in the previous implementation.
All handling of this logic is moved to the (renamed) listener.
2024-06-28 10:36:05 +10:00
psychedelicious
15b9ece411
chore(ui): typegen
2024-06-28 10:36:05 +10:00
Mary Hipp
b5f23292d4
lint fix
2024-06-28 10:36:05 +10:00
Mary Hipp
740bf80f3e
(ui): update query param to include_archived, fix cache when archiving boards
2024-06-28 10:36:05 +10:00
Mary Hipp
dc90de600d
(ui) allow auto-add on archived boards, reset to uncategorized if auto-add board is not currently visible due to archived view
2024-06-28 10:36:05 +10:00
psychedelicious
5709f82e5f
feat(ui): separate context menu for no board board
...
Much easier to not need to handle the board being optional in the component.
2024-06-28 10:36:05 +10:00
psychedelicious
20042d99ec
tidy(ui): archived icon component
2024-06-28 10:36:05 +10:00
Mary Hipp
8fce168dc5
fix tsc errors
2024-06-28 10:36:05 +10:00
Mary Hipp
29eb3c8b62
lint fix
2024-06-28 10:36:05 +10:00
Mary Hipp
071e8bcee4
feat(ui): make archiving and auto-add mutually exclusive
2024-06-28 10:36:05 +10:00
Mary Hipp
68c0aa898f
feat(ui): add ability to archive/unarchive boards, add toggle to gallery settings to show/hide archived boards in list
2024-06-28 10:36:05 +10:00
psychedelicious
a0a0c57789
chore(ui): knip
2024-06-27 13:48:40 +10:00
psychedelicious
32ebf82d1a
feat(ui): better pagination buttons
2024-06-27 13:48:40 +10:00
psychedelicious
2dd172c2c6
feat(ui): gallery bulk select styling
2024-06-27 13:48:40 +10:00
psychedelicious
280ec9d4b3
fix(ui): invalidate getImageDTO caches when images are mutated
2024-06-27 13:48:40 +10:00
psychedelicious
fde8fc7575
perf(ui): optimistic updates for getImageDTO query cache
2024-06-27 13:48:40 +10:00
psychedelicious
6dcdc87eb1
fix(ui): control adapter image preview
2024-06-27 13:48:40 +10:00
Mary Hipp
93ffcb642e
lint fix
2024-06-27 13:48:40 +10:00
Mary Hipp
4c914ef2e8
use correct query params for boardIdSelected listener
2024-06-27 13:48:40 +10:00
Mary Hipp
c0ad5bc4a4
fix when deleting first image in list
2024-06-27 13:48:40 +10:00
Mary Hipp
8c58a180de
GG another fix
2024-06-27 13:48:40 +10:00
Mary Hipp
715dd983b0
appease the knip
2024-06-27 13:48:40 +10:00
Mary Hipp
84ffd36071
lint fix
2024-06-27 13:48:40 +10:00
Mary Hipp
9f30f1bfec
fix circular dep
2024-06-27 13:48:40 +10:00
Mary Hipp
bdff5c4e87
only show selected when greater than 0
2024-06-27 13:48:40 +10:00
Mary Hipp
afb0651f91
clear selection when board or gallery view changes
2024-06-27 13:48:40 +10:00
Mary Hipp
66e25628c3
fix neg pages
2024-06-27 13:48:40 +10:00
Mary Hipp
3a531a3c88
remove rest of cache, add bulk select UI
2024-06-27 13:48:40 +10:00
Mary Hipp
f01df49128
lint fix
2024-06-27 13:48:40 +10:00
Mary Hipp
7bbe236107
implmenet custom sort to replace images adapter logic
2024-06-27 13:48:40 +10:00
psychedelicious
719c066ac4
feat(ui): more efficient board totals fetching
...
We only need to show the totals in the tooltip. Tooltips accpet a component for the tooltip label. The component isn't rendered until the tooltip is triggered.
Move the board total fetching into a tooltip component for the boards. Now we only fire these requests when the user mouses over the board
2024-06-27 13:48:40 +10:00
psychedelicious
689dc30f87
feat(ui): tweak pagination buttons
...
- Fix off-by-one error when going to last page
- Update component to have minimal/no layout shift
2024-06-27 13:48:40 +10:00
psychedelicious
1f22f6ae02
feat(ui): iterate on dynamic gallery limit
...
- Simplify the gallery layout
- Set an initial gallery limit to load _some_ images immediately.
- Refactor the resize observer to use the actual rendered image component to calculate the number of images per row/col. This prevents inaccuracies caused by image padding that could result in the wrong number of images.
- Debounce the limit update to not thrash teh API
- Use absolute positioning trick to ensure the gallery container is always exactly the right size
- Minimum of `imagesPerRow` images loaded at all times
2024-06-27 13:48:40 +10:00