Andreas Nedbal
|
5f46c84850
|
remove console.log
|
2023-01-18 20:52:28 +01:00 |
Andreas Nedbal
|
5f529b2b26
|
Add Stimulus theme controller
|
2023-01-17 07:39:14 +01:00 |
Andreas Nedbal
|
ab8d608458
|
Extract theme-related utilities
|
2023-01-17 07:38:32 +01:00 |
Andreas Nedbal
|
79fa204897
|
Remove theming handler features
|
2023-01-17 07:38:02 +01:00 |
Andreas Nedbal
|
61d77bf20e
|
Fix announcements not closing when button is pressed
|
2023-01-13 19:00:23 +01:00 |
Andreas Nedbal
|
46830f50cd
|
Add Stimulus controller for collapse functionality
|
2023-01-12 21:03:44 +01:00 |
Karina Kwiatek
|
c919b4913f
|
Merge branch 'main' into feature/long-questions
|
2023-01-11 22:24:58 +01:00 |
Andreas Nedbal
|
30933e6ca1
|
Add Stimulus controller to launch format popup
|
2023-01-10 15:49:52 +01:00 |
Karina Kwiatek
|
cfba963b55
|
Only reset character counters when they are present
Co-authored-by: Andreas Nedbal <git@pixelde.su>
|
2023-01-08 18:51:43 +01:00 |
Karina Kwiatek
|
7cdb0e4976
|
Respect long question setting in frontend
|
2023-01-08 17:12:46 +01:00 |
Karina Kwiatek
|
122be928bf
|
Merge pull request #934 from Retrospring/more-obvious-sharing-options
Make sharing options more obvious
|
2023-01-08 11:24:50 +00:00 |
Andreas Nedbal
|
f6d7d6ae2d
|
Fix initializers
|
2023-01-08 12:19:45 +01:00 |
Karina Kwiatek
|
4ac3483f1a
|
Make sharing options more obvious
|
2023-01-06 17:38:27 +01:00 |
Karina Kwiatek
|
4457f2ed26
|
Prevent push enable prompt (inbox) when already subscribed
|
2023-01-05 23:20:36 +01:00 |
Karina Kwiatek
|
01f4ed499d
|
Ensure enable button doesn't unexpectedly disappear
Co-authored-by: Andreas Nedbal <git@pixelde.su>
|
2023-01-05 11:53:19 +01:00 |
Karina Kwiatek
|
7673ecdadf
|
Add missing return to subscription check
|
2023-01-05 11:22:43 +01:00 |
Karina Kwiatek
|
8a754de85c
|
Rename subscriptionCheck.ts to settingsButtons.ts
|
2023-01-05 11:22:27 +01:00 |
Karina Kwiatek
|
d288f6d6a3
|
Move subscription check logic into separate initializer
|
2023-01-05 11:08:13 +01:00 |
Karina Kwiatek
|
e93531a4af
|
Prevent WebPush init from attaching events multiple times
|
2023-01-05 10:53:04 +01:00 |
Georg Gadinger
|
b728c494d7
|
remove flag leftovers
|
2023-01-05 10:37:44 +01:00 |
Andreas Nedbal
|
61a9e39a3e
|
Fix dropdowns in mobile navigation
|
2023-01-05 10:35:52 +01:00 |
Andreas Nedbal
|
58717c0e7f
|
Fix ESLint nits
|
2023-01-05 10:35:52 +01:00 |
Andreas Nedbal
|
49a972bfd3
|
Remove jQuery call to close question modal
|
2023-01-05 10:35:52 +01:00 |
Andreas Nedbal
|
4d417f15c5
|
Fix event registration for modal autofocus
|
2023-01-05 10:35:52 +01:00 |
Andreas Nedbal
|
a00936f17e
|
Initialize Bootstrap in TypeScript
|
2023-01-05 10:35:52 +01:00 |
Karina Kwiatek
|
9fd3940b7d
|
Don't check push subscription when not logged in
|
2023-01-04 16:34:38 +01:00 |
Karina Kwiatek
|
3033ad4400
|
Fix error in checkSubscription and improve logging
|
2023-01-03 18:12:13 +01:00 |
Karina Kwiatek
|
7fa548b613
|
Remove use of @rails/ujs in report dialog handler
|
2023-01-03 15:09:23 +01:00 |
Karina Kwiatek
|
35a3b6b87a
|
Hide push notification prompt in inbox after accepting
|
2023-01-02 13:51:02 +01:00 |
Karina Kwiatek
|
05a8ef1797
|
Allow re-enabling push notifications after unsubscribing
|
2023-01-02 13:51:02 +01:00 |
Karina Kwiatek
|
1a29a19e9d
|
Allow setting up push when service worker hasn't been registered yet.
We don't register the service worker until the user opts in for push notifications.
|
2023-01-02 13:51:02 +01:00 |
Karina Kwiatek
|
2417354b31
|
Unsubscribe client on too many failures
|
2023-01-02 11:52:02 +01:00 |
Karina Kwiatek
|
fccf35fdab
|
Restore push notification prompt in inbox
|
2023-01-02 11:51:46 +01:00 |
Karina Kwiatek
|
dc80c1dba3
|
Fix push notification settings not appearing when not subscribed
|
2023-01-02 11:50:48 +01:00 |
Karina Kwiatek
|
66b1dac3b9
|
Improve UX for push subscription management
|
2023-01-02 11:50:48 +01:00 |
Karina Kwiatek
|
8ff213af4e
|
Add the ability to unsubscribe from push notifications
|
2023-01-02 11:50:48 +01:00 |
Karina Kwiatek
|
752cf1506b
|
Add settings page for push notifications
|
2023-01-02 11:50:47 +01:00 |
Karina Kwiatek
|
c8f5511a38
|
Fix capability classes being removed on page navigation
The body tag gets replaced by Turbo on page navigation, removing the classes.
|
2023-01-02 11:50:47 +01:00 |
Karina Kwiatek
|
2da4767623
|
Add JS for subscribing to and receiving push notifications
|
2023-01-02 11:50:47 +01:00 |
Andreas Nedbal
|
409c8372ba
|
Add mute action support in user action handler
|
2023-01-01 22:42:50 +01:00 |
Karina Kwiatek
|
cb61db02eb
|
Merge pull request #824 from Retrospring/feature/anonymous-block-tuuuuuuurbo
Migrate anonymous blocks to Turbo Streams
|
2022-12-04 23:23:19 +01:00 |
Andreas Nedbal
|
b51d8c048d
|
Remove legacy announcement TypeScript
|
2022-11-23 21:01:35 +01:00 |
Andreas Nedbal
|
3b1f15ebb9
|
Add Stimulus controller for announcements
|
2022-11-23 21:00:49 +01:00 |
Andreas Nedbal
|
55f26cb7d4
|
Remove settings unblock TypeScript
|
2022-11-22 08:38:33 +01:00 |
Andreas Nedbal
|
ddded27757
|
Remove anonymous block AJAX implementation
|
2022-11-21 22:28:38 +01:00 |
Andreas Nedbal
|
9a4c0d576d
|
Add Stimulus autofocus controller
|
2022-11-21 20:26:19 +01:00 |
Andreas Nedbal
|
9048a3e7d8
|
Remove AJAX Mute Rules code
|
2022-11-21 20:26:19 +01:00 |
Andreas Nedbal
|
44c0136c9e
|
Remove AJAX question generation code
|
2022-11-18 23:35:38 +01:00 |
Andreas Nedbal
|
f35d49e575
|
Properly handle placeholder fields in theme application
|
2022-11-14 23:13:22 +01:00 |
Andreas Nedbal
|
bef1c23a66
|
reset questionbox character counts after successful submit
|
2022-10-31 21:23:22 +01:00 |