Commit Graph

5564 Commits

Author SHA1 Message Date
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 3811f15bd7 Add use cases for creating and destroying reactions 2023-10-29 20:47:18 +01:00
Karina Kwiatek c0d169367e Update schema.rb 2023-10-28 13:02:57 +02:00
Karina Kwiatek 1ab7f5c3ca Bump version to 2023.1028.1 2023-10-28 11:23:28 +02:00
Karina Kwiatek 63b22a14ef
Merge pull request #1424 from Retrospring/fix/move-appendable-notifications
Add migration for moving notifications for appendables to reactions
2023-10-28 11:23:05 +02:00
Karina Kwiatek a9ed8a6089 Add migration for moving notifications for appendables to reactions 2023-10-28 11:22:27 +02:00
Karina Kwiatek a9f988df7d Bump version to 2023.1028.0 2023-10-28 10:45:15 +02:00
Karina Kwiatek 742492555f
Merge pull request #1421 from Retrospring/feature/turbo-relationships
Move relationship functionality to Turbo Streams
2023-10-28 10:44:47 +02: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 31ccc7c11b Remove TypeScript relationship functionality 2023-10-28 10:41:24 +02:00
Andreas Nedbal 10473f4ed0 Remove `Ajax::RelationshipController` and spec 2023-10-28 10:41:24 +02:00
Andreas Nedbal 82b959f751 Move relationship locales to controller scope 2023-10-28 10:41:23 +02:00
Andreas Nedbal e9290a73f8 Replace action targets with relationship partials 2023-10-28 10:41:23 +02:00
Andreas Nedbal be947bf4e2 Add `RelationshipsController` 2023-10-28 10:41:20 +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 2fdd2045f0 Make comment reaction modal backdrop clickable 2023-10-28 04:39:15 +02:00
Andreas Nedbal 09b0ec6888 Use proper reaction model class in `CommentController` 2023-10-28 04:39:15 +02:00
Andreas Nedbal 1573c2f702 Fix rubocop nits 2023-10-28 04:39:15 +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 4c393defb7 Add `ModalController#close` action 2023-10-28 04:39:15 +02:00
Andreas Nedbal f30b1b820e Add `show_reactions` action and move markup into it 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 6dbc57ddc3 Update contribution guidelines 2023-10-28 02:44:36 +02:00
Andreas Nedbal 3a14c03584 Add automated GitHub release categorization 2023-10-28 02:44:36 +02:00
Andreas Nedbal 91c9a86af7 Add Pull Request Labeler action 2023-10-28 02:44:36 +02:00
Andreas Nedbal 46cee3a192 Fix Turbo Stream replace targeting the wrong element 2023-10-26 08:20:56 +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 7fdf978be1 Fix rubocop nits 2023-10-25 03:14:57 +02:00
Andreas Nedbal 1bc7d04054 Move subscription locales into controller scope 2023-10-25 03:14:57 +02:00
Andreas Nedbal 8842998229 Render shared subscription actions in answerbox actions 2023-10-25 03:14:57 +02:00
Andreas Nedbal 42b5b6ccc2 Remove TypeScript subscription functionality 2023-10-25 03:14:57 +02:00
Andreas Nedbal 563f834287 Remove `Ajax::SubscriptionController` 2023-10-25 03:14:57 +02:00
Andreas Nedbal cefb805243 Add `SubscriptionsController` 2023-10-25 03:14:57 +02:00
dependabot[bot] 5b55f8e6ed
Merge pull request #1414 from Retrospring/dependabot/npm_and_yarn/eslint-plugin-import-2.29.0 2023-10-23 19:38:05 +00:00
dependabot[bot] d926346f22
Bump eslint-plugin-import from 2.28.1 to 2.29.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.1 to 2.29.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 19:33:29 +00:00
dependabot[bot] 3aa077f5fa
Merge pull request #1416 from Retrospring/dependabot/bundler/net-imap-0.4.2 2023-10-23 19:28:51 +00:00
dependabot[bot] 4fb1b705ed
Merge pull request #1413 from Retrospring/dependabot/npm_and_yarn/sass-1.69.4 2023-10-23 19:20:53 +00:00
dependabot[bot] d374664fa8
Merge pull request #1412 from Retrospring/dependabot/npm_and_yarn/stylelint-15.11.0 2023-10-23 19:20:22 +00:00
dependabot[bot] 54960d48cb
Merge pull request #1415 from Retrospring/dependabot/github_actions/actions/checkout-4.1.1 2023-10-23 10:04:45 +00:00
dependabot[bot] 2029c17735
Bump net-imap from 0.4.1 to 0.4.2
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.1...v0.4.2)

---
updated-dependencies:
- dependency-name: net-imap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 10:00:24 +00:00
dependabot[bot] 319592bef0
Bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 09:48:49 +00:00
dependabot[bot] cd3e3f683c
Bump sass from 1.69.3 to 1.69.4
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.3 to 1.69.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.69.3...1.69.4)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 09:46:09 +00:00