Commit Graph

5604 Commits

Author SHA1 Message Date
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
dependabot[bot] c9030d5ca1
Bump stylelint from 15.10.3 to 15.11.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.3 to 15.11.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.10.3...15.11.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 09:45:45 +00:00
Karina Kwiatek e351990475
Merge pull request #1410 from Retrospring/feature/load-async-pinned-answers 2023-10-23 07:54:05 +02:00
Karina Kwiatek aaa5b605e0
Merge pull request #1409 from Retrospring/fix/no-eager-load-comments-smiles 2023-10-23 07:53:58 +02:00
Karina Kwiatek 8ac50878be Use load_async for loading pinned answers 2023-10-22 21:52:04 +02:00
Karina Kwiatek 65e802f51d Stop eager loading comments and smiles 2023-10-22 21:51:21 +02:00
Karina Kwiatek e18abd3752
Merge pull request #1071 from Retrospring/dep/rails-7.0.4.2
Bump rails to 7.0.8
2023-10-22 21:06:04 +02:00
Andreas Nedbal b5347decb4 Fix rubocop nits 2023-10-22 21:04:30 +02:00
Andreas Nedbal e01e973d76 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-10-22 21:04:30 +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 80477d17ac Remove transferred locales 2023-10-22 21:04:30 +02:00