Commit Graph

533 Commits

Author SHA1 Message Date
Andreas Nedbal c42e36af12 Fix inbox view spec 2023-12-10 22:39:58 +01:00
Andreas Nedbal 11535a17a3 Adjust inbox entry view spec 2023-12-09 21:38:29 +01:00
Andreas Nedbal 796a848110 Add specs for reaction controller create/destroy methods 2023-12-09 00:59:14 +01:00
Andreas Nedbal 9ce68bffb2 Fix answerbox comments view specs 2023-12-09 00:59:14 +01:00
Andreas Nedbal 4e434dd268 Remove legacy SmileController 2023-12-09 00:59:14 +01:00
Ahmed Ejaz 91ab795e38 #1448, add specs 2023-11-26 17:12:56 +01:00
Ahmed Ejaz 7ef521ad1f 1448, update specs 2023-11-26 17:12:56 +01:00
Ahmed Ejaz dee298fe33 1448, remove share#copyToClipboard changes 2023-11-26 17:12:56 +01:00
Ahmed Ejaz ac3dc12ee3 1448, fix lint issues 2023-11-26 17:12:56 +01:00
Ahmed Ejaz 6d1a8c92ec #1448, add specs 2023-11-26 17:12:56 +01:00
Andreas Nedbal 80b0df1ddd
Merge branch 'main' into task/refactor-comment-controller 2023-10-29 21:54:32 +01:00
Andreas Nedbal b7808e85c6 Check proper render result in spec 2023-10-29 21:52:38 +01:00
Andreas Nedbal ca043d56ef Rename `ReactionController` to `ReactionsController` 2023-10-29 21:52:38 +01:00
Andreas Nedbal 5d093c621b Rename `#show` to `#index` action for comment reactions 2023-10-29 21:48:41 +01:00
Andreas Nedbal 91716454c3 Render correct template in spec 2023-10-29 21:34:13 +01:00
Andreas Nedbal e8e833f9bd Move comment reactions into own controller 2023-10-29 21:32:39 +01:00
Andreas Nedbal 5afaef427c Rename `CommentController` to `CommentsController` 2023-10-29 21:30:32 +01:00
Karina Kwiatek d36fbf85f4 Reload target before checking smile count 2023-10-29 20:47:18 +01:00
Andreas Nedbal 4458aba37f Add tests for reaction use cases 2023-10-29 20:47:18 +01:00
Andreas Nedbal e802e0197d Make `turbo does not succeed` example for in `RelationshipsController` 2023-10-28 10:41:24 +02:00
Andreas Nedbal 54fb4d09fd Fix lint nits 2023-10-28 10:41:24 +02:00
Andreas Nedbal e222ab7c30 Temporarily fix turbo stream error example 2023-10-28 10:41:24 +02:00
Andreas Nedbal fc420a8091 Add specs for `RelationshipsController` 2023-10-28 10:41:24 +02:00
Andreas Nedbal 10473f4ed0 Remove `Ajax::RelationshipController` and spec 2023-10-28 10:41:24 +02: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 bc0ce6be3f Add specs for comment and modal controller Turbo Frame actions 2023-10-28 04:39:15 +02:00
Andreas Nedbal 795e687bc8 Fix reaction exporter spec 2023-10-28 02:44:48 +02:00
Andreas Nedbal 20cf1ac85b Fix rubocop nits 2023-10-28 02:44:48 +02:00
Andreas Nedbal 1e29d3f86f Rename `Appendable::Reaction` to `Reaction` 2023-10-28 02:44:48 +02:00
Andreas Nedbal 6e6cf5358b Add specs for `SubscriptionsController`
These are mostly the old `AjaxController::SubscriptionController` specs, but adjusted for Turbo (and the proper action names)
2023-10-25 03:14:57 +02:00
Andreas Nedbal 778d4c7b44 Tighten inbox entry view spec
Non-direct questions can't have a non-null answer count
2023-10-22 21:04:30 +02:00
Andreas Nedbal c09cc85c4f Adjust class references to question CSS classes 2023-10-22 21:04:30 +02:00
Karina Kwiatek 2432010256
Merge pull request #1403 from Retrospring/feature/avatar-component
Install `view_component` and add initial `AvatarComponent`
2023-10-22 16:05:11 +02:00
Andreas Nedbal ae4210d36f Add spec for `AvatarComponent` 2023-10-20 12:46:42 +02:00
Andreas Nedbal f97d98d00a Include `view_component` testing helpers 2023-10-20 11:46:26 +02:00
Andreas Nedbal 50b925ec48 Prefer render responders in settings controllers 2023-10-20 02:21:52 +02:00
Andreas Nedbal 6e8f8bcc67
Merge branch 'main' into bugfix/inbox-sharing 2023-10-19 23:44:57 +02:00
Andreas Nedbal 25adb11df3 Fix rubocop nits in helper code and specs 2023-10-19 23:41:14 +02:00
Georg Gadinger c4da510fe7 fix deletion of notification entries when deleting a user 2023-10-18 22:13:25 +02:00
Georg Gadinger dc41f15097 fix deletion of inbox entries when deleting an user 2023-10-18 21:52:47 +02:00
Andreas Nedbal 274d480ba8 Adjust specs for AJAX answer endpoint 2023-10-18 20:54:41 +02:00
Andreas Nedbal dc8c5fbf82 Add option to omit URL to `prepare_tweet` helper 2023-10-18 20:01:07 +02:00
Andreas Nedbal 0f0f3ae0c6 Fix sharing view spec test case 2023-10-17 20:14:28 +02:00
Andreas Nedbal 5f0fed8c94 Fix rubocop nits 2023-10-17 20:14:28 +02:00
Andreas Nedbal e74e233548 Add spec for `answer_share_url` 2023-10-17 20:14:28 +02:00
Karina Kwiatek ed664c9580 Add view tests for smiles list partial 2023-10-15 18:42:30 +02:00
Karina Kwiatek 81b271ab03 Move reactions to separate view/endpoint 2023-10-15 18:42:30 +02:00
Karina Kwiatek 9563a586c2 Appease the dog overlords (mostly) 2023-10-15 18:42:30 +02:00
Karina Kwiatek adf294e6cb Add tests for viewing comments 2023-10-15 18:42:30 +02:00
Andreas Nedbal 9053483952 Fix rubocop nits 2023-10-15 10:16:21 +02:00