Commit graph

6476 commits

Author SHA1 Message Date
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
Weblate Admin a7719981fa Added translation using Weblate (Pennsylvania Dutch (pdc)) 2024-09-11 17:39:38 +00:00
Tirifto 250fcc0413 Translated using Weblate (Esperanto)
Currently translated at 92.0% (1098 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2024-09-04 14:20:03 +00:00
marcin mikołajczak 380a42a40b Translated using Weblate (Polish)
Currently translated at 57.1% (682 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/pl/
2024-09-04 14:20:03 +00:00
Gllm R 260c067370 Translated using Weblate (French)
Currently translated at 94.5% (1128 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2024-09-04 14:20:03 +00:00
SyoBoN 9676e78736 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 97.1% (1159 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2024-09-04 14:20:03 +00:00
Eric Zhang 1e1978b6a2 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (1189 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2024-09-04 14:20:03 +00:00
Mark Felder 06ebbaf7ba Simplify the OAuth client_name
Every time PleromaFE is used to login it will need to do the OAuth dance and request an app key. If the client name is not stable it will pollute the server's database with entries.

This also happens on every unauthenticated page load at the moment until #1339 is resolved
2024-09-01 12:09:07 -04:00
HJ 87fe063cb6 Apply 1 suggestion(s) to 1 file(s) 2024-08-28 21:18:35 +00:00
HJ e7741e619d Apply 1 suggestion(s) to 1 file(s) 2024-08-28 21:17:37 +00:00
Henry Jameson f5fbf9af64 fix nested panel headers 2024-08-28 23:54:46 +03:00
Henry Jameson ab90dc9fb1 Revert all the user highlight stuff for now 2024-08-15 21:53:12 +03:00
Henry Jameson a9c2d37315 ok i'm dumb, no manual caching needed tehepero 2024-08-15 21:49:45 +03:00
Henry Jameson 5384d3b7a2 fix solid color highlight 2024-08-15 20:43:11 +03:00
Henry Jameson 482f353f4d make posts have highlight on higher level 2024-08-15 11:35:33 +03:00
Henry Jameson 8b87d548ac didn't work, lol 2024-08-15 01:01:31 +03:00
Henry Jameson 5ad4d82b6b try to fix gaps 2024-08-15 00:57:23 +03:00
Henry Jameson 1f50fc2a8b oops 2024-08-15 00:06:32 +03:00
Henry Jameson 1b371afff3 fix instance theme not applying 2024-08-14 00:40:16 +03:00
Henry Jameson cfba4cc6b3 don't do no-auto for themes2 seems to work better 2024-08-14 00:08:56 +03:00
Henry Jameson 99490cdb21 speed up emoji picker somewhat 2024-08-13 23:54:18 +03:00
Henry Jameson c4352a1936 cache emoji groups etc 2024-08-13 22:51:17 +03:00
marcin mikołajczak 0878f5bfb4 Inform users that Smithereen public polls are public
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-13 19:41:06 +02:00
Henry Jameson aa17a92d4a fix missing zoom in appearance tab 2024-07-26 15:41:00 +03:00
Henry Jameson 27ee145450 fix theme preview styles being applied to post preview 2024-07-25 19:48:14 +03:00
Henry Jameson 3baad46309 fix some broken themes found in wild 2024-07-25 19:19:46 +03:00
Henry Jameson d728fea3b1 fix language switcher 2024-07-25 11:58:58 +03:00
Henry Jameson da5df6e684 more moving 2024-07-25 11:55:41 +03:00
Henry Jameson e8d7d341f0 Merge remote-tracking branch 'origin/develop' into fix-develop-issues 2024-07-25 11:53:58 +03:00
Henry Jameson 0ca9a2c8c0 Fix font size and language switcher? 2024-07-25 11:49:18 +03:00
HJ 4797b13625 Merge branch 'fix-nonexistent-setting' into 'develop'
remove nonexistent setting (probably comatose contribution?)

See merge request pleroma/pleroma-fe!1923
2024-07-24 18:54:50 +00:00
Henry Jameson b8ac355202 remove nonexistent setting (probably comatose contribution?) 2024-07-24 21:53:25 +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 aa7bdbae21 rearrange tabs 2024-07-24 16:02:18 +03:00
Henry Jameson 5a929db010 fixed lack of gap in panel headers 2024-07-24 15:43:03 +03:00
Henry Jameson ece38e6876 spacing for number setting as well 2024-07-23 21:52:01 +03:00
Henry Jameson 355bcc49b7 increase gap in settings modal titlebar buttons 2024-07-23 21:46:22 +03:00
Henry Jameson 5d78d12c8d elaborates, refuses to leave 2024-07-23 21:36:20 +03:00
Henry Jameson f4544f0742 elaboration and spacing 2024-07-23 21:35:29 +03:00
Henry Jameson 2928959138 fix huge previews on firefox 2024-07-23 16:29:54 +03:00
HJ 169f71c006 Apply 1 suggestion(s) to 1 file(s) 2024-07-22 19:53:06 +00:00
Henry Jameson df22cc4bdd update icon 2024-07-21 23:53:24 +03:00
Henry Jameson 55d7ec4130 remove unused files 2024-07-21 23:49:37 +03:00
Henry Jameson e984004c42 localization file fix 2024-07-21 23:49:13 +03:00
Henry Jameson 041da0cdff fix step not working in unit input 2024-07-21 23:46:54 +03:00
Henry Jameson 72b252c803 cleanup 2024-07-21 23:46:01 +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 895261e112 comment out toposort console debug 2024-07-21 22:55:59 +03:00
Henry Jameson c87d85edd8 cleanup console logs 2024-07-21 22:55:28 +03:00
HJ d096962b05 Merge branch 'status-notification-type' into 'develop'
Support `status` notification type

See merge request pleroma/pleroma-fe!1916
2024-07-21 19:44:05 +00:00
Mark Felder fa1c02f4d4 Fix spelling errors
Submitted by: Jens of Fossies.org
2024-07-17 18:46:32 -04: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 9bbdad1a6f theme selector new 2024-07-17 19:58:04 +03:00
Henry Jameson 1866dcfdc2 fix checkbox in preview 2024-07-17 17:26:03 +03:00
Henry Jameson 40c9163d21 optimizations, WIP theme selector 2024-07-17 17:19:57 +03:00
Henry Jameson 9d76fcc425 fix admin combo-dropdowns styles 2024-07-16 21:55:57 +03:00
Henry Jameson a378c999b7 add ability to override underlay color/opacity regardless of theme 2024-07-16 21:01:20 +03:00
Tirifto b69dbf658a Translated using Weblate (Esperanto)
Currently translated at 92.5% (1062 of 1148 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2024-07-12 17:02:45 +00: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