Commit graph

466 commits

Author SHA1 Message Date
d7322ea964 pl-fe: simplify code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-06 12:02:23 +02:00
26b922d4f6 pl-fe: Remove some anys
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-06 00:17:19 +02:00
c8b68625e1 pl-fe: Types improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-06 00:09:12 +02:00
8bc30f18f8 pl-fe: Use ParsedContent for account bios
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-06 00:04:15 +02:00
cacc89483e pl-fe: memoize purified instance description
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-05 23:54:45 +02:00
3e94d9dd53 pl-fe: Prefer using ids directly
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-05 23:49:21 +02:00
7c69260004 pl-fe: Improve types
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-05 23:43:35 +02:00
85d6a3bdc6 pl-fe: Do not show repeated emoji reaction button
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-05 23:42:20 +02:00
ad948d7d4a pl-fe: Fix autosuggestion on black theme
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-05 23:39:46 +02:00
6cabc937ae pl-fe: prefer arrays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-05 23:21:21 +02:00
cccd88fd24 pl-fe: Remove newline from yarn.lock
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-05 16:38:05 +02:00
e74da32f5b pl-fe: fix emojis
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-05 00:20:42 +02:00
2f60773b86 pl-fe: Another attempt at improving virtual scrolling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-04 01:11:41 +02:00
7685a1e087 Fix thread display behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-04 00:56:20 +02:00
8a99d8033c Do not render unnecessary emoji picker dropdowns
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-04 00:53:20 +02:00
3fdd22e900 pl-fe: Fix floating elements position
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-04 00:29:50 +02:00
93e0311984 pl-fe: further actually improve virtual scrolling behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-04 00:15:49 +02:00
ea3c70f37c Actually improve virtual scroll behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-04 00:04:27 +02:00
6bb4dc20a4 Revert "pl-fe: Improve virtualization behavior"
This reverts commit d2d1840119.
2024-10-04 00:00:43 +02:00
d2d1840119 pl-fe: Improve virtualization behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-03 23:44:10 +02:00
f168ae57e6 pl-fe: do not display reactions bar when not supported
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-03 21:22:26 +02:00
5d6b15bf28 pl-fe: Move sanitize to ParsedContent
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-03 12:46:38 +02:00
e472f87aaa Move stripCompatibilityFeatures to parser code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-03 12:39:36 +02:00
63924bcc50 pl-fe: Move parsed html to a separate component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-03 12:09:35 +02:00
7b963f6e06 pl-fe: run yarn upgrade
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 20:00:22 +02:00
2b87752c1a pl-fe: Regenerate yarn.lock
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 18:54:26 +02:00
8b773e427d Upgrade React to v18.3
Co-authored-by: Alex Gleason <alex@alexgleason.me>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 18:51:41 +02:00
51498883cf pl-fe: update deps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 18:23:45 +02:00
3d282e2af8 pl-fe: More updates, remove unused packages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 18:14:27 +02:00
6efb8efac6 pl-fe: Update react
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 18:09:30 +02:00
c47415d2ee pl-fe: Fix uuid generation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 18:00:30 +02:00
97c638b871 pl-fe: replace UUID package with crypto.randomUUID
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 17:57:14 +02:00
b07205f2e0 pl-fe: update some packages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 17:45:08 +02:00
994ec59f4b pl-fe: zoom in emojis on hover
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-02 17:25:39 +02:00
d0ca585558 pl-fe: Fix account hover card
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-01 18:20:49 +02:00
04281890e6 pl-fe: fix media modal thread display
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-30 23:37:18 +02:00
e04fe6a685 pl-fe: Modify media styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-30 23:17:53 +02:00
0aa70b6789 pl-fe: Fix widgets header
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-30 18:23:05 +02:00
9bc47f3145 pl-fe: Minor changes to gallery display
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-30 18:21:52 +02:00
961044a4c6 pl-fe: Disable no-custom-classname eslint rule
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-30 17:59:57 +02:00
d21241165f pl-fe: Remove unused code(?)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-30 17:51:48 +02:00
2f8ab065a1 pl-fe: Support emojis in poll options
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-29 18:16:24 +02:00
f7cba5b305 pl-fe: Improve styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-29 13:45:21 +02:00
a5288b9ee5 pl-fe: Fix placeholder display
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-29 13:26:39 +02:00
afdaa61a06 pl-fe: Replace some redux stores with zustand
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-29 00:27:06 +02:00
b801acffe9 pl-fe: Improve StatusHoverCard ui
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-29 00:07:23 +02:00
1d26e6f6aa pl-fe: relationship entities handling cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-28 22:34:50 +02:00
93be391e23 pl-fe: show ellipsis for account bios in profile directory
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-28 16:44:51 +02:00
3bffadad36 pl-fe: open reactions/favs modal on long press
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-28 16:43:16 +02:00
d0511654df pl-fe: do not display timestamp for draft statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-28 16:29:50 +02:00
1cdbdab8f5 Update gitignore
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-28 16:20:10 +02:00
1c4aaeaea5 pl-fe: improve floating-ui behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:43:11 +02:00
4635c4daa2 Fix some typos
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:35:59 +02:00
e6bed8c471 pl-fe: improve floating-ui behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:31:19 +02:00
4d47b42e5d pl-fe: reject change to @formatjs/intl-pluralrules
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:24:23 +02:00
d2aa1a2d5a pl-fe: dependency updates
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:20:41 +02:00
3460fe2c8d pl-fe: Update formatjs, replace polyfill with one from formatjs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:17:25 +02:00
9e972c5c22 pl-fe: remove unusued dependency
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:15:01 +02:00
270e2df9d0 pl-fe: remove @webbtc/webln-types
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:10:52 +02:00
95f61f1d9f pl-fe: replace react-popper with @floating-ui/react
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:10:31 +02:00
b016dbec2b pl-fe: Allow reordering profile fields
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 22:21:21 +02:00
9227eef670 pl-fe: profile fields panel doesn't need a title
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 22:04:48 +02:00
4378adef9a pl-fe: update types
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 20:38:18 +02:00
932dc2e851 pl-fe: update lodash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 20:37:27 +02:00
bc3f02aee6 pl-fe: replace react-overlays with @floating-ui/react
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 20:35:59 +02:00
62895adb02 pl-fe: remove more unused stuff
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 18:34:02 +02:00
d17805b4e9 pl-fe: remove renovate.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 18:32:21 +02:00
4bc1ca107f pl-fe: remove obsolete code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 18:27:40 +02:00
3af6b5894e pl-fe: remove babel
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 18:24:56 +02:00
fbcd8a58a9 pl-fe: query data cannot be undefined
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 18:22:02 +02:00
d4b65e905c pl-fe: update lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 17:23:31 +02:00
ead811425f pl-fe: update some deps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 17:20:06 +02:00
29453961fd pl-fe: Update typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 17:11:37 +02:00
8f09caeb35 new pl-api release
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 12:41:07 +02:00
2061005224 pl-fe: uncomment fixed commented out code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-26 23:38:40 +02:00
2f17eefba1 pl-fe: avoiding processing the same account multiple times
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-26 23:38:16 +02:00
0c69c608c7 Add workflow for pl-api build
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-23 11:45:56 +02:00
8871284405 pl-fe: Workaround for Ladybird support
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-23 00:09:55 +02:00
8898de7bfb pl-fe: fix after react-query update
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 21:18:22 +02:00
3dfba3502e pl-fe: update @tanstack/react-query
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 21:07:51 +02:00
8452382d56 pl-fe: Me can't be undefined
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 16:38:00 +02:00
efe5df7c99 pl-fe: fix black theme after tailwind update
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 15:02:00 +02:00
dc4dd8300c pl-fe: change conditions for status collapse
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 14:50:56 +02:00
821c13935d pl-fe: Update @floating-ui/react
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 14:46:35 +02:00
420c43b9ed pl-fe: make tombstones focusable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 14:36:10 +02:00
a842368eef pl-fe: CryptoDonateModal: remove unneeded wrapper
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:20:20 +02:00
dc7c759cf4 pl-fe: lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:19:23 +02:00
a90b69a85d pl-fe: remove unused deps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:15:43 +02:00
ed714651fc pl-fe: update vite
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:13:00 +02:00
21fc11c5ec pl-fe: update tailwind
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:10:52 +02:00
ab5aa0b058 pl-fe: lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:09:45 +02:00
8a5017aa88 pl-fe: ignore unused for caught errors
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:03:59 +02:00
e78638f6c0 pl-fe: update eslint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-21 20:54:47 +02:00
9a30f20254 pl-fe: move eslint dependency to devdeps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-21 16:40:10 +02:00
9626bf6a93 pl-fe: decrease border radius for attachment thumbs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-21 16:26:16 +02:00
74cd6836dd pl-fe: do not recommend pl, it's just my personal project
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-21 00:02:38 +02:00
9096fdc9fb pl-fe: do not specify 'accept' when set to 'application/octet-stream'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-20 23:58:04 +02:00
6a31cd2c61 pl-fe: remove unused files
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-20 23:16:50 +02:00
e5098bd7d4 pl-fe: Use tabler icon for verification badge
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-20 23:15:40 +02:00
41f17e17c5 pl-fe: remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-20 21:07:10 +02:00