Commit Graph

33 Commits

Author SHA1 Message Date
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
Georg Gadinger b728c494d7 remove flag leftovers 2023-01-05 10:37:44 +01:00
Andreas Nedbal 538756c6aa Remove style require in TypeScript 2023-01-03 14:14:23 +01:00
Karina Kwiatek d9514a306a Make push notification settings reinit on navigation 2023-01-02 11:50:48 +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 b51d8c048d Remove legacy announcement TypeScript 2022-11-23 21:01:35 +01:00
Andreas Nedbal 0983ffca3a Merge branch 'main' into feature/stimulus-character-count 2022-10-13 22:07:15 +02:00
Georg Gadinger 4b8490a2d1 auto-foxus text field in ask modal
resolves #557
2022-10-11 22:08:59 +02:00
Andreas Nedbal 58d8c827e0 Install and setup Stimulus 2022-10-02 22:09:01 +02:00
Andreas Nedbal f05abed6ef Rename `turbolinks:load` event to `turbo:load` 2022-09-04 18:34:23 +02:00
Andreas Nedbal 6ad7b1d599 Implement frontpage theme switch 2022-04-10 22:01:27 +02:00
Andreas Nedbal 7d14e93ada Port localebox to TypeScript 2022-01-15 00:05:17 +01:00
Andreas Nedbal 1a408e1bc6 Port Memes to TypeScript 2022-01-15 00:05:17 +01:00
Andreas Nedbal 008f3c7b5d Move stylesheets from assets into javascript/styles/ 2022-01-11 22:41:37 +01:00
Karina Kwiatek d9e6982637 Address review feedback from @pixeldesu
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2022-01-09 19:01:46 +01:00
Karina Kwiatek 3e9fb2890f Port announcements functionality to TypeScript 2022-01-09 19:01:46 +01:00
Andreas Nedbal bc979a3615 Use proper event for global event handlers in answerbox 2022-01-09 16:05:37 +01:00
Andreas Nedbal ecb079b1d4 Port report dialog functionality to TypeScript 2022-01-09 16:05:37 +01:00
Andreas Nedbal 50070d9afc Setup TypeScript moderation feature 2022-01-08 20:28:52 +01:00
Andreas Nedbal bbe5325ba5 Use proper import for question functionality 2022-01-05 01:07:53 +01:00
Andreas Nedbal a6bc27e884 Port question functionality to TypeScript 2022-01-05 01:07:53 +01:00
Andreas Nedbal 88d8cae815 Port questionbox user functionality to TypeScript 2022-01-04 00:05:11 +01:00
Andreas Nedbal f7e4fc76cb Use proper events for global event handlers 2022-01-03 16:33:06 +01:00
Karina Kwiatek 23a5fb55d1 Implement frontend for adding mute rules 2022-01-02 01:55:52 +01:00
Andreas Nedbal 542cdd8b9a Setup lists feature in TypeScript 2021-12-28 21:15:15 +01:00
Andreas Nedbal cf8d6b0884 Setup user features in TypeScript 2021-12-25 03:33:09 +01:00
Andreas Nedbal 89127aa313 Add aliases for common module locations 2021-12-25 00:02:52 +01:00
Karina Kwiatek 77ec8e2f4b Add report button to answerboxes 2021-08-11 22:11:23 +02:00
Karina Kwiatek 016f369ba2 Address review comments 2021-08-10 17:11:59 +02:00
Karina Kwiatek a246083b15 Refactor sharing using feature pattern 2021-08-10 13:21:28 +02:00
Andreas Nedbal 9fceedc5b4 Add initializers for some Typescript functionality 2020-12-26 21:59:53 +01:00