Commit Graph

180 Commits

Author SHA1 Message Date
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
Andreas Nedbal 15d05f1699 Merge branch 'main' into feature/stimulus-character-count 2022-10-31 20:56:38 +01:00
Karina Kwiatek d3b59ae169
Merge pull request #767 from Retrospring/fix/missing-unsubscribe-text-on-comment
Fix missing unsubscribe string in answer actions when posting a comment
2022-10-26 11:37:38 +02:00
Karina Kwiatek 29608c54c9 Fix missing unsubscribe string in answer actions when posting a comment 2022-10-26 11:32:39 +02:00
Karina Kwiatek f9f49198fa Prevent error when commenting via an answer page 2022-10-26 11:29:58 +02:00
Karina Kwiatek bc1fc50780 Prevent comments from submitting after input as composition ends 2022-10-25 18:57:36 +02:00
Andreas Nedbal 724c241bed Count character count downwards instead of up 2022-10-13 22:29:04 +02:00
Andreas Nedbal 0983ffca3a Merge branch 'main' into feature/stimulus-character-count 2022-10-13 22:07:15 +02:00
Karina Kwiatek bb94845262
Merge pull request #727 from Retrospring/feature/i19n.js
Install i18n-js 4 2: Electric Boogaloo
2022-10-11 23:34:52 +02:00
Georg Gadinger 4b8490a2d1 auto-foxus text field in ask modal
resolves #557
2022-10-11 22:08:59 +02:00
Andreas Nedbal a8c1961af3 Migrate entrypoint to support new i18n-js version 2022-10-10 21:40:30 +02:00
Andreas Nedbal 93d1a4e2cb Add Stimulus controller to relevant views 2022-10-02 22:10:04 +02:00
Andreas Nedbal ff5210a891 Implement character count as Stimulus controller 2022-10-02 22:09:34 +02:00
Andreas Nedbal c7ca416e67 Import (and setup) Turbo in TypeScript 2022-09-04 18:34:23 +02:00
Andreas Nedbal 203db7565d Remove UJS and Turbolinks initializers 2022-09-04 18:34:23 +02:00
Karina Kwiatek 5baafdc38d
Merge pull request #662 from Retrospring/feature/request-js-user
Refactor user TS functionality to use `@rails/request.js`
2022-09-03 21:44:48 +02:00
Karina Kwiatek bc9db3e8fc
Merge pull request #661 from Retrospring/feature/request-js-question
Refactor question(box) TS functionality to use `@rails/request.js`
2022-09-03 21:44:38 +02:00
Karina Kwiatek 67546ec857
Merge pull request #660 from Retrospring/feature/request-js-moderation
Refactor moderation TS functionality to use `@rails/request.js`
2022-09-03 21:31:24 +02:00
Karina Kwiatek 10b596ed99
Merge pull request #659 from Retrospring/feature/request-js-lists
Refactor lists TS functionality to use `@rails/request.js`
2022-09-03 21:31:06 +02:00
Karina Kwiatek 904285ae47
Merge pull request #657 from Retrospring/feature/request-js-answerbox
Refactor answerbox TS functionality to use `@rails/request.js`
2022-09-03 21:30:55 +02:00
Andreas Nedbal 2643d1a524 Refactor user actions to use request.js 2022-09-03 16:36:02 +02:00
Andreas Nedbal d116e338a3 Move destroying and deleting questions to question/ 2022-09-03 16:20:07 +02:00
Andreas Nedbal dba817c8b6 Refactor question asking on profiles to use request.js 2022-09-03 16:19:32 +02:00
Andreas Nedbal 9c9f56e231 Refactor question asking to use request.js 2022-09-03 16:19:00 +02:00
Andreas Nedbal 2f05708a65 Refactor question answering to use request.js 2022-09-03 16:18:31 +02:00
Andreas Nedbal 918c514f12 Refactor user privilege changing to use request.js 2022-09-03 08:43:19 +02:00
Andreas Nedbal fe6b6b198f Refactor report removal to use request.js 2022-09-03 08:42:55 +02:00
Andreas Nedbal 389e1271d7 Refactor global anon blocks to use request.js 2022-09-03 08:42:37 +02:00
Andreas Nedbal 6639519905 Refactor user banning to use request.js 2022-09-03 08:42:17 +02:00
Andreas Nedbal 5aab54acdb Refactor list membership functionality to use request.js 2022-09-03 07:51:30 +02:00
Andreas Nedbal 41fea7fd5e Refactor list removal to use request.js 2022-09-03 07:50:33 +02:00
Andreas Nedbal af0258c8aa Refactor list creation to use request.js 2022-09-03 07:50:16 +02:00
Andreas Nedbal 3b6ade483f Refactor question generating to use request.js 2022-09-03 06:58:08 +02:00
Andreas Nedbal 90f33dd76c Refactor inbox entry deleting to use request.js 2022-09-03 06:57:52 +02:00
Andreas Nedbal 969f7e80f8 Refactor anon blocking to use request.js 2022-09-03 06:57:32 +02:00
Andreas Nedbal a893d11aa1 Refactor inbox answering to use request.js 2022-09-03 06:57:15 +02:00
Andreas Nedbal f55efbb017 Refactor inbox deleting to use request.js 2022-09-03 06:56:47 +02:00
Andreas Nedbal f091fd4193 Remove unused import 2022-09-03 05:20:52 +02:00
Andreas Nedbal 5295dc83c8 Refactor answer subscribing to use request.js 2022-09-03 05:05:43 +02:00
Andreas Nedbal 0aff344581 Refactor answer smile to use request.js 2022-09-03 05:05:21 +02:00