Commit Graph

4222 Commits

Author SHA1 Message Date
Andreas Nedbal 5f529b2b26 Add Stimulus theme controller 2023-01-17 07:39:14 +01:00
Andreas Nedbal ab8d608458 Extract theme-related utilities 2023-01-17 07:38:32 +01:00
Andreas Nedbal 79fa204897 Remove theming handler features 2023-01-17 07:38:02 +01:00
dependabot[bot] 53574ebf03
Merge pull request #962 from Retrospring/dependabot/npm_and_yarn/eslint-plugin-import-2.27.4 2023-01-16 09:37:39 +00:00
dependabot[bot] f90c50e9b8
Bump eslint-plugin-import from 2.26.0 to 2.27.4
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.26.0 to 2.27.4.
- [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.26.0...v2.27.4)

---
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-01-16 09:33:55 +00:00
dependabot[bot] a2c8b4bfde
Merge pull request #964 from Retrospring/dependabot/npm_and_yarn/melloware/coloris-0.17.0 2023-01-16 09:32:39 +00:00
dependabot[bot] 934c8ac3f2
Merge pull request #963 from Retrospring/dependabot/npm_and_yarn/esbuild-0.17.0 2023-01-16 09:31:36 +00:00
dependabot[bot] 60bd07a662
Merge pull request #960 from Retrospring/dependabot/bundler/spring-4.1.1 2023-01-16 09:05:32 +00:00
dependabot[bot] def3f1d41c
Bump @melloware/coloris from 0.16.1 to 0.17.0
Bumps [@melloware/coloris](https://github.com/melloware/coloris-npm) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/melloware/coloris-npm/releases)
- [Commits](https://github.com/melloware/coloris-npm/compare/0.16.1...0.17.0)

---
updated-dependencies:
- dependency-name: "@melloware/coloris"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 09:02:59 +00:00
dependabot[bot] ea26a55a6a
Merge pull request #961 from Retrospring/dependabot/bundler/rubocop-1.43.0 2023-01-16 09:02:56 +00:00
dependabot[bot] 1dd1c0d5c6
Bump esbuild from 0.16.16 to 0.17.0
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.16.16 to 0.17.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.16.16...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 09:02:44 +00:00
dependabot[bot] b3166cbb46
Bump rubocop from 1.42.0 to 1.43.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.42.0...v1.43.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 09:01:40 +00:00
dependabot[bot] 5b30760053
Bump spring from 4.1.0 to 4.1.1
Bumps [spring](https://github.com/rails/spring) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/rails/spring/releases)
- [Changelog](https://github.com/rails/spring/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rails/spring/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: spring
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 09:00:53 +00:00
Karina Kwiatek 596c1c5240 Remove underline on smiles list 2023-01-15 12:40:48 +01:00
Karina Kwiatek e16f4b49e0 Bump version to 2023.0113.2 2023-01-13 19:15:18 +01:00
Andreas Nedbal 61d77bf20e Fix announcements not closing when button is pressed 2023-01-13 19:00:23 +01:00
Andreas Nedbal 87630c87a6 Fix layout of announcements after Bootstrap 5 update 2023-01-13 19:00:23 +01:00
Karina Kwiatek 9503ec7527 Bump version to 2023.0113.1 2023-01-13 17:39:43 +01:00
Karina Kwiatek e765c23ec8
Merge pull request #953 from Retrospring/fix/truncate-question-text-for-notifications
Shorten question text in notifications to short question length
2023-01-13 17:39:30 +01:00
Karina Kwiatek 3dbbed3ef2 Shorten question text in notifications to short question length 2023-01-13 17:30:37 +01:00
Karina Kwiatek 7b91c5e225 Bump version to 2023.0113.0 2023-01-13 17:07:27 +01:00
Karina Kwiatek b0739c384c
Merge pull request #952 from Retrospring/bugfix/question-header-collapse
Fix alignment of collapsibles in question headers
2023-01-13 17:00:50 +01:00
Andreas Nedbal 8b4909ab80 use height limiting instead of legacy line-clamp 2023-01-13 15:58:07 +01:00
Andreas Nedbal 0d41da54b8 Fix layout for inbox entries as well 2023-01-12 23:21:08 +01:00
Andreas Nedbal f0b9a00923 Fix alignment of collapsibles in question headers
Co-Authored-By: Georg Gadinger <nilsding@nilsding.org>
2023-01-12 23:17:09 +01:00
Andreas Nedbal a2139213c7 Hide collapse from screenreaders
Co-Authored-By: Georg Gadinger <nilsding@nilsding.org>
2023-01-12 21:03:44 +01:00
Andreas Nedbal a8fb9fd701 Refactor render_theme method
Co-Authored-By: Georg Gadinger <nilsding@nilsding.org>
2023-01-12 21:03:44 +01:00
Andreas Nedbal e85f9d6867 Re-add support for detail page `display_all` condition 2023-01-12 21:03:44 +01:00
Andreas Nedbal 527f3fc3f5 Add tests for new theme helper functionality 2023-01-12 21:03:44 +01:00
Andreas Nedbal 07a13d39da Add support for theme helper mapping specifying multiple target values 2023-01-12 21:03:44 +01:00
Andreas Nedbal 430cfa1a38 Add RGB variables for some theme colors 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 46830f50cd Add Stimulus controller for collapse functionality 2023-01-12 21:03:44 +01:00
Andreas Nedbal 3258ea4f0b Implement shared collapse partial 2023-01-12 21:03:44 +01:00
Andreas Nedbal e8657891a9 Add wrapper -body classes to answerbox sections 2023-01-12 21:03:44 +01:00
Andreas Nedbal b66c2b1f36 add `long?` method and constant to Answer model 2023-01-12 21:03:44 +01:00
Karina Kwiatek 4692753485
Merge pull request #935 from Retrospring/feature/long-questions
Add option to allow long questions
2023-01-11 22:25:08 +01:00
Karina Kwiatek c919b4913f
Merge branch 'main' into feature/long-questions 2023-01-11 22:24:58 +01:00
Andreas Nedbal c93255338e Add dev indicator to guest navbar 2023-01-11 22:24:16 +01:00
Andreas Nedbal 9150d09960 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-01-11 22:24:16 +01:00
Andreas Nedbal 710192e8fa Add "DEV" badge to navigation brand 2023-01-11 22:24:16 +01:00
Andreas Nedbal 8e915e1c0a Add dev env indicator to navigation 2023-01-11 22:24:16 +01:00
Georg Gadinger e1ec0590ae
Merge pull request #946 from Retrospring/test-locale-gen
add spec to verify that generating test locales works
2023-01-11 22:13:31 +01:00
Georg Gadinger 1ef9fadf69 add specs for version bump rake task 2023-01-11 21:18:07 +01:00
Georg Gadinger 0ed4b2ac90 add spec to verify that generating test locales works 2023-01-11 21:18:07 +01:00
Karina Kwiatek 8bff5f6494 Bump version to 2023.0111.0 2023-01-11 12:37:11 +01:00
Karina Kwiatek 27daab6a51
Merge pull request #945 from Retrospring/feature/formatting-help
Add formatting help
2023-01-11 12:36:23 +01:00
Karina Kwiatek e8780783b5
Merge pull request #948 from Retrospring/bugfix/global-mute-everything
Prevent global anon blocks blocking every anon question with a user
2023-01-11 12:35:54 +01:00
Andreas Nedbal 00e677886f Prevent global anon blocks blocking every anon question with a user 2023-01-11 01:47:32 +01:00
Andreas Nedbal 7970838659 Remove superfluous focus styling 2023-01-10 20:54:13 +01:00