Commit graph

949 commits

Author SHA1 Message Date
Henry Jameson 50b1c5b640 fix theme3hacks resetting theme to default-v2 2024-12-22 16:49:42 +02:00
HJ b0e687692a Merge branch 'loader-fixes' into 'develop'
Loader fixes

See merge request pleroma/pleroma-fe!1954
2024-12-18 15:20:52 +00:00
HJ cbe9427123 Merge branch 'themes3-grand-finale-maybe' into 'develop'
Themes 3

See merge request pleroma/pleroma-fe!1951
2024-12-18 12:19:11 +00:00
Henry Jameson 3cc9afc15f remove useless strings, hide loader on eager finish 2024-12-12 15:43:17 +02:00
HJ e4a1a56dbd Merge branch 'backend-repo-url' into 'develop'
Extract backend repository from nodeinfo

See merge request pleroma/pleroma-fe!1864
2024-12-11 13:35:27 +00:00
HJ 7e92c4c1a3 Merge branch 'deprecate-subscribe' into 'develop'
Use /api/v1/accounts/:id/follow for account subscriptions instead of the deprecated routes

See merge request pleroma/pleroma-fe!1931
2024-12-11 13:34:06 +00:00
Henry Jameson b348d22a2b saving "first style palette" stuff 2024-12-04 15:54:20 +02:00
Henry Jameson 1ffbd02c87 when switching to new style, use "native" palette, also show it in appearance tab 2024-12-04 14:32:25 +02:00
Henry Jameson 3c92941664 properly reset v3 stuff when applying v2 theme 2024-12-04 11:24:33 +02:00
Henry Jameson 406b973654 don't fallback to first style if none specified 2024-11-28 18:09:42 +02:00
Henry Jameson 89b916da28 fixes for clean state 2024-11-28 18:07:22 +02:00
Henry Jameson 462d8efde8 fix accent color 2024-11-25 22:28:26 +02:00
Henry Jameson b32909a9e6 cleanup 2024-11-20 15:27:17 +02:00
Henry Jameson 313eb8f4cd bundling theme now works and so are bundled style's palettes 2024-11-19 21:33:13 +02:00
Henry Jameson 098879be3e fix cache being used even if no cache exists 2024-11-17 15:57:32 +02:00
Henry Jameson 41f5ae30f1 force recompilation on theme-related dispatches 2024-11-15 00:39:21 +02:00
Henry Jameson b6684d90b5 Compress them data + store in IndexedDB instead 2024-11-15 00:39:21 +02:00
Matrix-Sasuke 898881bac1 Absolute time format 2024-11-13 09:19:17 +00:00
Henry Jameson 86585cc644 allow setting palettes from style 2024-11-12 23:24:28 +02:00
Henry Jameson 28b8620656 style application stuff 2024-10-27 01:33:40 +03:00
Henry Jameson 69f684cb64 oops 2024-10-07 12:29:47 +03:00
Henry Jameson 4d472e1d4b fix my phone 2024-10-07 12:21:36 +03:00
Henry Jameson 191609c662 Merge remote-tracking branch 'origin/develop' into themes3-grand-finale-maybe 2024-10-05 23:15:10 +03:00
Henry Jameson bb41c13620 fix? 2024-10-05 19:30:31 +03:00
Henry Jameson 48cc7ccc78 don't normalize theme and split index fetching into its own block 2024-10-05 18:45:38 +03:00
Henry Jameson a21f25ed8e test fix 2024-10-04 15:03:36 +03:00
Henry Jameson 81d9537f9d show warning about palettes being unsupported when using v2 theme 2024-10-03 23:03:33 +03:00
Henry Jameson 13838a75a9 import of v2 on appearance tab works now 2024-10-03 02:16:55 +03:00
Henry Jameson 2eb8e1e095 fix incorrect blue/green colors 2024-10-02 16:29:33 +03:00
Henry Jameson e8d0e45b5b it is working. finally. 2024-10-02 16:22:28 +03:00
Henry Jameson ba4be2cb22 yet another massive overhaul on how themes are loaded/applied 2024-10-02 02:35:52 +03:00
Henry Jameson f0957bdb4f palettes that actually work 2024-10-01 00:42:33 +03:00
marcin mikołajczak 9f0fc431dc Allow to change bookmark folder emoji
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-26 02:02:23 +02:00
marcin mikołajczak 2b6de423d5 Bookmark folder editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-26 00:40:06 +02:00
marcin mikołajczak 89fbaa159f Allow adding bookmarks to folders
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-24 00:05:33 +02:00
marcin mikołajczak 9e45228823 Bookmark folders
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-23 23:13:40 +02:00
tusooa b14ba17256
Support displaying time in absolute format
This adds two config items: useAbsoluteTimeFormat (boolean) and
absoluteTimeFormatMinAge (string, number + unit ('d'|'h'|'m'|'s')).

When `useAbsoluteTimeFormat` is true, the Timeago component will display
absolute time if the time is at least `absoluteTimeFormatMinAge`
from now. If `longFormat` prop is true, the fully formatted time
is displayed. Otherwise, the format is determined by the `time` prop:
(1) if `time` is on the same day of now, display hour and minute;
(2) if `time` is in the same month of now, display day and hour;
(3) if `time` is in the same year of now, display month and day;
(4) otherwise, display year and month.

If it should display relative time, the format is the same as before.
2024-09-17 19:18:51 -04:00
marcin mikołajczak d67d24757f Use /api/v1/accounts/:id/follow for account subscriptions instead of the deprecated routes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-13 19:26:43 +02:00
Henry Jameson 3baad46309 fix some broken themes found in wild 2024-07-25 19:19:46 +03:00
HJ 0c9893c8a0 Merge branch 'appearance-tab' into 'develop'
Themes 3: Intermission: Appearance Tab and fixes

See merge request pleroma/pleroma-fe!1920
2024-07-24 18:51:17 +00:00
Henry Jameson 55d7ec4130 remove unused files 2024-07-21 23:49:37 +03:00
Henry Jameson 4d3d075151 fix font selector losing list of local fonts when selecting one 2024-07-21 23:45:21 +03:00
Henry Jameson 665faf892a font overrides + fixes for font component 2024-07-21 23:27:11 +03:00
Henry Jameson c87d85edd8 cleanup console logs 2024-07-21 22:55:28 +03:00
Henry Jameson 9d5514de9c fix themes v2 editor for anon users and people who never touched themes 2024-07-17 22:25:14 +03:00
Henry Jameson d2683a6728 new theme selector, RC 2024-07-17 22:10:11 +03:00
Henry Jameson 40c9163d21 optimizations, WIP theme selector 2024-07-17 17:19:57 +03:00
Henry Jameson a378c999b7 add ability to override underlay color/opacity regardless of theme 2024-07-16 21:01:20 +03:00
Henry Jameson e029732021 use separate action for setting Theme V2 2024-07-12 02:40:57 +03:00
Henry Jameson cd92eb56e0 don't recompile if cache exists 2024-07-12 02:19:38 +03:00