Commit graph

44 commits

Author SHA1 Message Date
47d255a3e8 Add more advanced filtering methods 2025-11-22 09:22:06 +01:00
54c57e085a Add mechanism for data migrations 2025-11-22 09:04:06 +01:00
ce56fb65c6 Prepare more complex matching 2025-11-22 00:29:43 +01:00
aff235b9a9 Clean up fetch-more-posts! 2025-11-22 00:13:21 +01:00
97965ce8b0 Separate iterate-cursor and transduce-cursor 2025-11-22 00:10:31 +01:00
1573341c18 Simplify debounce function and increase timeout 2025-11-22 00:09:52 +01:00
85004ada3f Provide stable keys for components in lists
See https://preactjs.com/tutorial/08-keys/
2025-11-21 17:03:50 +01:00
58d709f7be Fix attachment reusal bug
The way that the atom was sometimes dereferenced and sometimes not
caused weird re-rendering artifacts, where sometimes attachment would
show up below posts that they actually did not belong to.
Refactoring all of the different cases to be handled by separate
functions seems to solve this.
2025-11-21 13:59:09 +01:00
a02c33c620 Clean up database calls 2025-11-21 13:39:26 +01:00
54067c2103 Shout less in database wrapper 2025-11-21 13:15:00 +01:00
5eb75a3ac2 Fix typo 2025-11-21 13:07:28 +01:00
28eb3655c3 Fix lazy image loading 2025-11-21 09:12:55 +01:00
1b54880e8a Prevent flickering when paginating requests 2025-11-21 08:55:17 +01:00
33ebd5eb2a Start autoplaying gifs only on hover or tap 2025-11-21 07:44:15 +01:00
aea0c8f1f1 Remove ?code= parameter after fetching bearer token
This is to ensure that it's not stored in any bookmark. The parameter
only has a short validity, so it's mostly cosmetic, but the docs
[recommend treating it
securely](https://docs.joinmastodon.org/methods/oauth/#200-ok).

Unfortunately it will still show up in logs. We should consider
switching to `urn:ietf:wg:oauth:2.0:oob`.
2025-11-21 07:28:56 +01:00
a9e4d2aa38 Simplify and gather reactive refresh logic in one place 2025-11-21 00:20:02 +01:00
7d359c2ed7 Fix index lookup for minimal and maximal favorite id 2025-11-20 23:21:38 +01:00
7ea11bfeb4 Do not autoplay sound for gifv attachments 2025-11-20 19:48:33 +01:00
a06ec7ceae Fix "fetch more" button
This sent a lot of unnecessary requests, because the `min_id` / `max_id`
parameters that were fetched from the database were way off. No idea why
exactly that happened, but aggregating the result manually seems to work
fine.
2025-11-20 19:36:32 +01:00
a5dea165af Remove stray console.log in attachment component 2025-11-20 15:02:18 +01:00
8d7e4dde0e Debounce refresh when typing 2025-11-20 12:19:48 +01:00
c91b1ff2d4 Add support for gifs 2025-11-20 11:25:46 +01:00
2b78afde38 Clean up database interop 2025-11-20 11:25:41 +01:00
b0b4b01e37 Fix bug in debounce 2025-11-19 22:16:09 +01:00
b7fce71a17 Fix bug in promise-all 2025-11-19 20:49:57 +01:00
aec81cc1d7 Match query hits in image and video descriptions 2025-11-19 20:21:59 +01:00
fa3e3ad5cb Disable fetch more button while posts are loaded 2025-11-19 20:21:42 +01:00
dbe15d9054 Fix pagination direction for "fetch more" button 2025-11-19 20:13:12 +01:00
f984e9b14d Add "load more" button and fix pagination 2025-11-19 19:43:09 +01:00
80d0a6e258 Implement nicer loading indicator 2025-11-19 13:23:00 +01:00
4fe1ea90cc Use button for controls in header 2025-11-18 22:26:11 +01:00
51d8a023fe Use "connect your account" instead of login 2025-11-18 22:26:07 +01:00
9505023718 Use keyword as index name 2025-11-18 22:14:08 +01:00
5452579f0d Add tests for query syntax 2025-11-18 21:48:32 +01:00
934c499e93 Add logout buttons 2025-11-18 21:47:08 +01:00
6b62af8727 Fix video dimensions on mobile 2025-11-18 21:45:59 +01:00
46a0766995 Re-enable attachments 2025-11-18 20:25:32 +01:00
54d35961d1 Sort posts by creation date, most recent first 2025-11-18 20:20:10 +01:00
973004f1dd Be more consistent in section styling 2025-11-18 20:19:27 +01:00
f41af48bb0 Implement "Copy URL to Clipboard" 2025-11-18 19:46:44 +01:00
cb974cb498 Handle loading state of parallel long-running updates correctly 2025-11-18 16:42:36 +01:00
342462fd63 Improve post view
Moves link below main post and adds date
2025-11-18 16:42:28 +01:00
566bc711be fix typo 2025-11-18 16:09:58 +01:00
eb2b10571d clean up 2025-11-18 14:08:24 +01:00