Commit Graph

29 Commits

Author SHA1 Message Date
Karina J. Kwiatek 115166997b
Merge pull request #1459 from Retrospring/fix/prefetch-reaction-state
Pre-emptively fetch answer reaction state
2023-12-08 22:59:53 +01:00
Karina Kwiatek b55e6da9a5 Use subqueries to check reaction/subscription state 2023-11-26 19:32:50 +01:00
Ahmed Ejaz 198b84efe1 1448, use clipboard controller 2023-11-26 17:12:56 +01:00
Ahmed Ejaz 93d67a8307 #1448, add copy to clipboard option 2023-11-26 17:12:56 +01:00
Karina Kwiatek 0877b938a3
Merge pull request #1417 from Retrospring/feature/turbo-subscriptions
Move subscription functionality to Turbo Streams
2023-10-28 10:16:20 +02:00
Andreas Nedbal f30b1b820e Add `show_reactions` action and move markup into it 2023-10-28 04:39:15 +02:00
Andreas Nedbal 8842998229 Render shared subscription actions in answerbox actions 2023-10-25 03:14:57 +02:00
Andreas Nedbal 9f999189cd Add Stimulus sharing feature to answerboxes 2023-10-17 20:14:28 +02:00
Karina Kwiatek 7aed99d187 Appease the dog overlords 2023-05-05 16:01:38 +02:00
Karina Kwiatek 2604e6b240 Prefetch subscriptions 2023-05-05 16:01:21 +02:00
Georg Gadinger 0451e2fedd actions/_share: add telegram 2023-02-19 21:15:56 +01:00
Karina Kwiatek 854cf2662e Specify username param for pin/unpin path 2023-02-12 20:19:50 +01:00
Karina Kwiatek 410d9b5d8e Implement unpinning answers 2023-02-12 20:19:50 +01:00
Karina Kwiatek b196909b79 Create frontend endpoint for pinning answers 2023-02-12 20:19:50 +01:00
Karina Kwiatek 3451ae1fb0 Display pinned answers on profiles 2023-02-12 20:19:50 +01:00
Karina Kwiatek 6b771887ab Fix unprivileged comment actions being visible
- Fixes an error when viewing answers containing comments while not logged in
- Hides the report option while not logged in
2023-01-23 09:04:55 +01:00
Karina Kwiatek e16f460b53 Add option to view comments in rails admin 2023-01-22 00:03:53 +01:00
Andreas Nedbal 572a9ab076 Fix positioning of dropdown menus 2023-01-05 10:35:52 +01:00
Andreas Nedbal 09954c15d2 Fix data attributes for functionality in Bootstrap 5 2023-01-05 10:35:52 +01:00
Andreas Nedbal 05494e8822 change fa-mask icon back to fa-user-secret 2023-01-03 17:21:09 +01:00
Andreas Nedbal a7269bb202 Replace some icons with better choices from FA6 2023-01-03 17:21:09 +01:00
Andreas Nedbal b81fbb7fe6 Wire up Turbo Streams action calls in templates 2022-11-21 22:30:15 +01:00
Georg Gadinger caf73558d6 views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
Andreas Nedbal 4ba954a3cf Add (un)subscribing to vocabulary 2022-08-21 16:55:09 +02:00
Andreas Nedbal cc3934b423 Replace `has_role?` use in action partial with `admin?` 2022-08-21 15:12:12 +02:00
Andreas Nedbal 656a9e8a86 Add missing newlines 2022-08-21 15:10:17 +02:00
Andreas Nedbal 24be74a5a2 Split and reuse question actions in partial 2022-08-21 15:04:54 +02:00
Andreas Nedbal 2a2f1a9988 Split actions from comments into separate partial 2022-08-21 15:04:12 +02:00
Andreas Nedbal 5562bd0de0 Split actions from answerbox into separate partials 2022-08-21 15:03:42 +02:00