Commit graph

6437 commits

Author SHA1 Message Date
Henry Jameson 81d9537f9d show warning about palettes being unsupported when using v2 theme 2024-10-03 23:03:33 +03:00
marcin mikołajczak 216ca52073 Merge remote-tracking branch 'origin/develop' into bookmark-folders
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-03 21:52:44 +02:00
HJ a1c3a7a742 Merge branch 'shadow-control-2.0' into 'develop'
Fixed and refined the shadow control in theme tab

See merge request pleroma/pleroma-fe!1939
2024-10-03 19:44:24 +00:00
HJ 56a3bff267 Merge branch 'splashscreen' into 'develop'
Splash screen

See merge request pleroma/pleroma-fe!1940
2024-10-03 19:44:12 +00:00
Henry Jameson 13838a75a9 import of v2 on appearance tab works now 2024-10-03 02:16:55 +03:00
Henry Jameson 20e6382df6 fix states not showing, move palette out of the way 2024-10-03 00:53:50 +03:00
Henry Jameson dee3cf7883 migrate all other function calls to new format 2024-10-03 00:44:16 +03:00
Henry Jameson ab295c588d better input styles 2024-10-03 00:12:40 +03:00
Henry Jameson 02ecd8bb6c remove old shadow parser, fix only first shadow applying 2024-10-02 23:59:56 +03:00
Henry Jameson 424da4c311 lint 2024-10-02 16:31:30 +03:00
Henry Jameson e876c98d5e lint 2024-10-02 16:30:07 +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
Henry Jameson 07a48315a1 popover and palette 2024-09-30 15:11:43 +03:00
Henry Jameson 89b05cfc57 export/import PoC works 2024-09-30 00:16:47 +03:00
Henry Jameson d2cce99086 palette editor done 2024-09-29 21:14:31 +03:00
Henry Jameson d5571216fe comments 2024-09-29 19:37:53 +03:00
Henry Jameson 596a1e4961 Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-29 19:24:02 +03:00
Henry Jameson 05ab57a8e6 better disabled indication 2024-09-29 19:23:32 +03:00
Henry Jameson c677bbf102 fallback 2024-09-29 19:20:58 +03:00
Henry Jameson c2dfe62481 subshadow select event + better styles for preview 2024-09-29 19:20:09 +03:00
Henry Jameson b599407b67 Shadows work now 2024-09-29 19:18:25 +03:00
Henry Jameson 9753db1c67 it works! 2024-09-29 03:20:14 +03:00
Henry Jameson 2a98ea6ddc Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-29 00:57:39 +03:00
Henry Jameson 6230edcbec small fixes 2024-09-29 00:57:33 +03:00
Henry Jameson dd4cab74d1 small fixes 2024-09-29 00:57:00 +03:00
Henry Jameson 58ac749755 Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-28 20:33:50 +03:00
Henry Jameson 0cec6dc356 better small shadow-tweak styles 2024-09-28 20:33:30 +03:00
Henry Jameson 4ddc191928 Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-28 20:28:22 +03:00
Henry Jameson d234ad8672 properly support "disabled" state of contoller 2024-09-28 20:27:55 +03:00
Henry Jameson e541e2c682 Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-28 20:26:42 +03:00
Henry Jameson 45f6e003c4 properly support "disabled" state of contoller 2024-09-28 20:23:02 +03:00
Henry Jameson 487d9c447d fallback values 2024-09-28 15:22:59 +03:00
Henry Jameson aa922faf62 small cleanup 2024-09-27 16:37:57 +03:00
Henry Jameson 415180e8fa Adding rules now works 2024-09-27 16:25:39 +03:00
Henry Jameson fb40694e8e basic colors / settings present 2024-09-26 22:31:28 +03:00
marcin mikołajczak a5689464d0 Add 'all bookmarks' link to bookmark folders list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-26 09:54:02 +02:00
marcin mikołajczak 44a7f8a485 Styles improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-26 08:26:35 +02: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
Henry Jameson 6fc929a0a0 Merge remote-tracking branch 'origin/develop' into shadow-control-2.0 2024-09-26 01:10:57 +03:00
Henry Jameson ef795becf6 shadow editor now can display shadow information 2024-09-26 01:06:14 +03:00
Henry Jameson b4a1bcd070 Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-25 23:20:31 +03:00
Henry Jameson 22cc96705a no preview support for shadow control (for themes 3 editor) 2024-09-25 17:56:34 +03:00
Henry Jameson f1468a3f5d Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-25 00:48:35 +03:00
Henry Jameson 9370ee8c17 fix lightGrid not working, add more stuff for style editor 2024-09-25 00:47:54 +03:00
Henry Jameson e7eb1059c3 better display and also temporary fallback for lowerLevelBackground 2024-09-25 00:46:58 +03:00
Henry Jameson e1d3ebc943 some initial drafts of component editor 2024-09-24 21:32:13 +03:00
Henry Jameson d5549ac1ee Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-24 19:32:21 +03:00
Henry Jameson d2a9653ecb forgot something again 2024-09-24 19:32:08 +03:00
Henry Jameson 9db5552f30 Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-24 19:20:40 +03:00
Henry Jameson 735433beb4 separate shadow preview into its own component, needed for themes3 editor 2024-09-24 19:19:53 +03:00
Henry Jameson 22d3c13135 Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-24 18:09:44 +03:00
Henry Jameson c73965bee0 Merge remote-tracking branch 'origin/develop' into themes3-grand-finale-maybe 2024-09-24 12:01:19 +03:00
Henry Jameson 144d426864 some initial work on theme editor 2024-09-24 03:07:27 +03:00
marcin mikołajczak 49ec95b8f6 Add icon for folder selector
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-24 00:44:51 +02:00
marcin mikołajczak 1097b95fa5 Merge remote-tracking branch 'origin/develop' into bookmark-folders 2024-09-24 00:38:55 +02:00
marcin mikołajczak 6c7a263371 Fix fetching more bookmarks
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-24 00:11:35 +02:00
marcin mikołajczak 796372adf3 Remove unused import
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-24 00:07:54 +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
Kian-ting Tan 6335a205c8 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 91.6% (1093 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2024-09-23 21:33:26 +00:00
Henry Jameson ab8907909b add 'none' keyword to PISS shadow definiton that equals empty array 2024-09-24 00:23:25 +03:00
marcin mikołajczak 9e45228823 Bookmark folders
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-23 23:13:40 +02:00
HJ 9e65b17644 Merge branch 'non-anonymous-polls' into 'develop'
Inform users that Smithereen public polls are public

See merge request pleroma/pleroma-fe!1932
2024-09-21 08:19:16 +00:00
Henry Jameson b5da1f8b89 fix lint 2024-09-20 12:54:47 +03:00
Henry Jameson 48f0a95a3b more tests, fixed some issues 2024-09-20 12:50:05 +03:00
Henry Jameson bd514ab6d0 found the file lol 2024-09-20 11:21:26 +03:00
Henry Jameson d8d766932a cleanup 2024-09-20 02:07:27 +03:00
Henry Jameson 71a4781080 at last... it's complete 2024-09-20 02:05:25 +03:00
Henry Jameson 0c91c37645 somehow i lost this file and had to rewrite it. now it's even better than before! 2024-09-19 21:42:14 +03:00
Henry Jameson af3b2e3dc9 temp 2024-09-19 20:37:14 +03:00
HJ 23f8c08809 Merge branch 'update-prefixer' into 'develop'
Update prefixer settings and required gitlab runner tags

See merge request pleroma/pleroma-fe!1942
2024-09-19 15:29:29 +00:00
Henry Jameson 1794d52731 changelog 2024-09-19 15:43:38 +03:00
Henry Jameson 74e5bb9104 serializer working 2024-09-19 04:24:35 +03:00
Henry Jameson e004c4e087 remove splash when it's done 2024-09-18 21:33:20 +03:00
Henry Jameson 711eb24504 cleanup 2024-09-18 17:36:50 +03:00
HJ 537145e934 Merge branch 'tusooa/date-absolute' into 'develop'
Support displaying time in absolute format

See merge request pleroma/pleroma-fe!1938
2024-09-18 01:17:05 +00:00
Henry Jameson 82936aed38 cleanup, styles, fox random, and better "animation" for orz 2024-09-18 03:37:59 +03:00
Henry Jameson ce7ac02871 better error log 2024-09-18 02:50:51 +03:00
Henry Jameson d2f85f4f25 revert interface.js since it's an action it will be always asynchronous 2024-09-18 02:49:27 +03:00
Henry Jameson 6c6d356f70 fix obvious mistakes 2024-09-18 02:41:55 +03: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
Henry Jameson 05577aea54 replace toSorted with sort, add artist credit 2024-09-17 22:57:39 +03:00
Henry Jameson 7550b8cbd2 splashscreen is now smaller, big cleanup on aisle themes - removed a lot unnecessary sync/awaits and promises that were sequential anyway 2024-09-17 22:57:39 +03:00
Henry Jameson 6c5fc53789 fix production 2024-09-17 22:57:39 +03:00
Henry Jameson 5bbfa5ab25 attemt to fix production 2024-09-17 22:57:39 +03:00
Henry Jameson 2abde63afc swap pleromatan_apology_fox location 2024-09-17 22:57:39 +03:00
Henry Jameson bfc1091f7f ugh, json 2024-09-17 22:57:39 +03:00
Henry Jameson 00df9c9c32 initial splashscreen implementation 2024-09-17 22:57:39 +03:00
Henry Jameson a0c303efb6 fixed shadow preview, added more safeguards for spread on separateInset shadows 2024-09-16 00:03:40 +03:00
HJ 8ee5122909 Merge branch 'add-pdc-language' into 'develop'
add Pennsylvania Dutch to languages

See merge request pleroma/pleroma-fe!1935
2024-09-14 23:31:53 +00:00
HJ 5ad5f4c51e Apply 1 suggestion(s) to 1 file(s) 2024-09-14 20:23:06 +00:00
Henry Jameson aa7a336183 Updated shadow control to be able to handle "absolute null" situation 2024-09-12 19:31:19 +03:00
Henry Jameson 2b9968eacd lint 2024-09-12 16:10:39 +03:00
Henry Jameson a044dc377e Massively upgraded shadow control, added sorting by specificity in themes3, added/fixed disabled inputs 2024-09-12 15:54:23 +03:00
Henry Jameson a586b9f6d2 fix themes3 specificity sorting 2024-09-12 12:46:47 +03:00
Henry Jameson 30c6eec1a1 Merge remote-tracking branch 'origin/develop' into add-pdc-language 2024-09-11 23:28:35 +03:00
Henry Jameson 8e8707bceb add Pennsylvania Dutch to languages 2024-09-11 21:17:35 +03:00