Commit Graph

1014 Commits

Author SHA1 Message Date
Henry Jameson
1cfdde819b don't use lodash (-~300ms speed) 2024-02-09 15:52:11 +02:00
Henry Jameson
79d2184afa more performance testing 2024-02-08 18:36:59 +02:00
Henry Jameson
6df28cde9d improvements & performance testing 2024-02-08 18:18:01 +02:00
Henry Jameson
a7d771e8c8 more dynamic vars, PROPER ICON COLORS 2024-02-07 18:54:00 +02:00
Henry Jameson
85d55c55e7 add directive to completely disable automatic text color creation 2024-02-07 16:15:25 +02:00
Henry Jameson
a9efbd2553 add directive to preserve or not the text color 2024-02-07 16:09:29 +02:00
Henry Jameson
c34590c439 update, should inherit stuff properly now. 2024-02-07 15:53:34 +02:00
Henry Jameson
d4795d2e3c moved default rules to component style.js files, added some basic text inheritance 2024-02-01 01:27:30 +02:00
Henry Jameson
53a4b1f9a6 better virtual components and stuff 2024-01-31 17:39:51 +02:00
Henry Jameson
ff2db7a247 fix states 2024-01-23 20:39:52 +02:00
Henry Jameson
22b32f149d shit more or less works for the very basic stuff 2024-01-23 19:18:55 +02:00
Henry Jameson
0729b529d7 some more stuff, generating CSS selectors from rules 2024-01-23 00:43:46 +02:00
Henry Jameson
521d308a6c themes 3 initial work 2024-01-18 14:35:25 +02:00
HJ
2b41c1cfe8 Merge branch 'notifications-thru-sw' into 'develop'
Notifications improvements.

See merge request pleroma/pleroma-fe!1873
2023-12-13 22:20:59 +00:00
Henry Jameson
ff10834f1a cleanup stray console logs 2023-12-14 00:14:06 +02:00
Henry Jameson
99d04bed2b attempt at fixing the extra notification again 2023-12-13 22:04:00 +02:00
Yonle
fb4d43ced2 file_type.service: allow apng images to be rendered
Signed-off-by: Yonle <yonle@lecturify.net>
2023-12-04 21:52:28 +07:00
Henry Jameson
51f1f05b2d use last favicon instead of first for consistency with browsers 2023-11-22 22:06:56 +02:00
Henry Jameson
c25170d7d9 fix tests and make utils consistent in where they pull configuration from 2023-11-22 21:56:48 +02:00
Henry Jameson
a5f09b7263 don't communicate with serviceworker if there's no support for it 2023-11-22 21:38:54 +02:00
Henry Jameson
33564d8ccc handle no sw registration gracefully 2023-11-22 13:17:55 +02:00
Henry Jameson
92685e37b6 fix infinity case 2023-11-21 15:29:49 +02:00
Henry Jameson
e36548579f fix notifications not catching up with "read" status as intended 2023-11-21 15:26:31 +02:00
Henry Jameson
37e3a23f2a fix badge 2023-11-20 00:20:05 +02:00
Henry Jameson
1931e7c3ba temp console log for mobile debug 2023-11-20 00:17:09 +02:00
Henry Jameson
38b6f0a013 fix notification dot in favicon and mobile nav, minor refactor 2023-11-20 00:14:56 +02:00
Henry Jameson
072a06fc89 reports visibility setting + actual filtering for desktop notifs 2023-11-19 16:40:30 +02:00
Henry Jameson
2f90c629b8 fix messages from sw not really being acted upon on mainland 2023-11-19 13:57:47 +02:00
Henry Jameson
a564fc1a1f consistentcy and bugfix 2023-11-19 13:54:26 +02:00
Henry Jameson
c216340001 use dispatch instead of commmit, fix bad copypasta 2023-11-16 22:08:51 +02:00
Henry Jameson
ce17ebd3d0 use URL for original favicon instead of canvas 2023-11-16 20:45:07 +02:00
Henry Jameson
a17defc5ab handle desktop notifications clicks 2023-11-16 20:41:41 +02:00
Henry Jameson
aad3225d25 refactored notifications into their own module separate from statuses (WIP) 2023-11-16 19:26:18 +02:00
Henry Jameson
e508ca6a1f fix 2023-11-13 17:32:14 +02:00
Henry Jameson
ec2937ec1f add options for marking single notification as read 2023-11-13 17:29:25 +02:00
Henry Jameson
c059f4a7ee Merge remote-tracking branch 'origin/develop' into notifications-thru-sw 2023-11-13 17:26:53 +02:00
tusooa
82063f34b2
Add aria-controls to extra-buttons trigger 2023-11-12 15:13:28 -05:00
NEETzsche
2c9930bd5b Display the latest scrobble under a user's name 2023-11-10 06:11:55 -07:00
Henry Jameson
e0b8ad9f14 add initial structure for notification settings 2023-11-09 01:58:33 +02:00
Henry Jameson
77e270ef58 Don't use notification-badge'd favicon for badges in notifications 2023-11-09 01:53:48 +02:00
Henry Jameson
f449bfe2f1 SW-to-window communication 2023-11-09 01:52:39 +02:00
HJ
954d03150f Merge branch 'tusooa/extra-notifications' into 'develop'
Extra notifications

See merge request pleroma/pleroma-fe!1853
2023-10-31 11:29:04 +00:00
Henry Jameson
e3bf9a5185 wrong key 2023-10-26 15:47:58 +03:00
Henry Jameson
0628aac664 fallback to old notification method, don't spam if old way of creating
notification fails, try to use favicon
2023-10-26 15:42:21 +03:00
Henry Jameson
73fbe89a4b initial work on showing notifications through serviceworkers 2023-10-25 18:58:33 +03:00
tusooa
1d679b59a0 Merge branch 'strip-unbalanced-attributes' into 'develop'
Fix HTML attribute parsing, discard attributes not strating with a letter

See merge request pleroma/pleroma-fe!1834
2023-09-04 17:26:42 +00:00
HJ
cc0a63736a Merge branch 'tusooa/1274-nonascii-tags' into 'develop'
Fix parsing non-ascii tags

Closes #1274

See merge request pleroma/pleroma-fe!1848
2023-08-22 20:37:29 +00:00
tusooa
50bad0fc68
Display unread visuals when there are unread extra notifications 2023-08-18 22:25:32 -04:00
Alexander Tumin
9baffbfbde Fix HTML attribute parsing, discard attributes not strating with a letter 2023-08-12 22:35:42 +03:00
tusooa
0b0b1dabdf
Fix parsing non-ascii tags 2023-07-21 14:03:49 -04:00