Commit graph

72 commits

Author SHA1 Message Date
Karina Kwiatek
849d4f74f2 Move comments to a turbo frame 2023-10-15 18:42:30 +02:00
Karina Kwiatek
7aed99d187 Appease the dog overlords 2023-05-05 16:01:38 +02:00
Karina Kwiatek
cc73f84152 Change smile hotkey to s 2023-04-29 09:34:28 +02:00
Karina Kwiatek
a39696dd3e Add shortcut for writing new comment 2023-04-29 09:34:26 +02:00
Karina Kwiatek
43d80fffcf Add shortcut for jumping to answers 2023-04-29 09:34:15 +02:00
Karina Kwiatek
a64a4699b0 Add Stimulus controller for navigation shortcuts 2023-04-29 09:34:15 +02:00
Karina Kwiatek
ceb55c656e Appease the dog overlords 2023-03-10 21:06:11 +01:00
Karina Kwiatek
abff39557d Allow multi-line comments 2023-03-07 17:57:41 +01:00
Andreas Nedbal
e18b9518aa Properly align the hashes 2023-01-22 11:14:24 +01:00
Andreas Nedbal
c7cc0da04b Appease the dog overlords 2023-01-22 10:57:05 +01:00
Andreas Nedbal
c122652275 Increase allowed comment length to 512 characters 2023-01-22 10:36:23 +01:00
Andreas Nedbal
d4c2ca5e5e Don't set the collapse controller for entries that aren't long 2023-01-21 04:43:48 +01:00
Andreas Nedbal
e85f9d6867 Re-add support for detail page display_all condition 2023-01-12 21:03:44 +01:00
Andreas Nedbal
a3b902b747 Add collapse to answerboxes and questions 2023-01-12 21:03:44 +01:00
Andreas Nedbal
cea1190ab9 Remove and replace usage of media classes 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
15d05f1699 Merge branch 'main' into feature/stimulus-character-count 2022-10-31 20:56:38 +01:00
Georg Gadinger
caf73558d6 views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
Andreas Nedbal
941e79d33c Adjust layout of comment input 2022-10-13 22:29:25 +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
Andreas Nedbal
99b523bf9c Use appropriate image sizes and lazy loading in answerbox 2022-10-10 23:14:07 +02:00
Andreas Nedbal
93d1a4e2cb Add Stimulus controller to relevant views 2022-10-02 22:10:04 +02:00
Andreas Nedbal
eca1e66ea9 Remove superfluous hiding span for comment actions 2022-08-31 20:16:16 +02:00
Andreas Nedbal
0380f7fcab Remove superfluous hiding span for answerbox actions 2022-08-31 18:46:00 +02:00
Andreas Nedbal
ba0ee581c4 Remove "frown" state when an answer/comment is smiled 2022-08-30 19:47:18 +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
Andreas Nedbal
f521b5f160 Implement moderation question view layout 2022-08-21 13:17:45 +02:00
Karina Kwiatek
2d01d9b365 Apply review suggestions
Co-authored-by: Andreas Nedbal <git@pixelde.su>
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-08-20 19:05:55 +02:00
Karina Kwiatek
ae5d8931af Implement frontend for blocking users site-wide 2022-08-20 19:03:05 +02:00
Andreas Nedbal
2a8711e7db Fix asked header in question and answerbox 2022-08-17 22:18:37 +02:00
Andreas Nedbal
1caac0e2db Translate post time for answerbox comments 2022-07-31 15:14:02 +02:00
Andreas Nedbal
437e72a322 Translate share alt title in answerbox actions 2022-07-31 15:14:02 +02:00
Andreas Nedbal
bb47e30ed1 Fix HAML codestyle of answerbox views 2022-07-31 15:14:02 +02:00
Andreas Nedbal
f4f581d12f Add new translations for answerbox 2022-07-31 15:14:02 +02:00
Karina Kwiatek
e887e8c4fc Refactor action strings 2022-07-30 18:50:46 +02:00
Georg Gadinger
66efa5d4f4 clean up routes
- replace `match` with `get`/`post`/`patch`/`delete`
- format routes.rb
- rename the `show_user_{profile,question,answer}` routes to
  `profile`, `question`, `answer` so `url_for` (used by Rails Admin)
  works fine for these things
- also add `to_param` to the `User` model so that `url_for(some_user)`
  uses the user name
2022-07-23 12:14:06 +02:00
Karina Kwiatek
0cfe5ee964 Replace usages of smiles with reaction appendables 2022-07-05 23:23:37 +02:00
Karina Kwiatek
5f0a546353 Refactor smiling answers to using reactions 2022-07-05 23:23:37 +02:00
Karina Kwiatek
597f8b74cb Fix everyone showing up as anonymous outside of moderation view 2022-06-27 00:41:26 +02:00
Karina Kwiatek
e5b8ea017c Show anon identifier in tooltip when unmasking 2022-06-26 21:07:28 +02:00
Karina Kwiatek
cd581fd2b1 Move anon icon tooltip text into translatable string 2022-06-23 21:29:27 +02:00
Karina Kwiatek
a2937a60e9 Add icon for anonymous questions 2022-06-23 21:29:27 +02:00
Karina Kwiatek
d1ad34eb9c Apply anon display name settings to question author display 2022-06-23 21:29:27 +02:00
Karina Kwiatek
452eca4afc Make all icons in answerbox dropdown fixed width 2022-02-02 00:08:25 +01:00
Karina Kwiatek
00e6b0925e Fix (desktop) Safari rendering dropdown item as button 2022-02-02 00:08:25 +01:00