Commit Graph

4200 Commits

Author SHA1 Message Date
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
Andreas Nedbal 6fa26340ef Add bigger shadow to popover 2023-01-10 20:53:55 +01:00
Andreas Nedbal 53bc270e08
Apply review suggestions from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-01-10 20:49:37 +01:00
Andreas Nedbal 122935e723 only show formatting help on focus/hover in inbox entries 2023-01-10 16:05:50 +01:00
Andreas Nedbal cb7f9179e3 Add format help to inbox entries 2023-01-10 15:51:43 +01:00
Andreas Nedbal 30933e6ca1 Add Stimulus controller to launch format popup 2023-01-10 15:49:52 +01:00
Andreas Nedbal eccb51eab0 Add formatting help markup/translations 2023-01-10 15:48:56 +01:00
dependabot[bot] 04f53f356d
Merge pull request #942 from Retrospring/dependabot/npm_and_yarn/fontsource/lexend-4.5.14 2023-01-09 11:25:12 +00:00
dependabot[bot] faec9c170d
Merge pull request #941 from Retrospring/dependabot/npm_and_yarn/esbuild-0.16.16 2023-01-09 11:24:34 +00:00
dependabot[bot] 72e769c551
Merge pull request #937 from Retrospring/dependabot/bundler/pghero-3.1.0 2023-01-09 09:16:29 +00:00
dependabot[bot] 6129720e74
Merge pull request #939 from Retrospring/dependabot/bundler/rspec-mocks-3.12.2 2023-01-09 09:14:43 +00:00
dependabot[bot] fced9b5a2f
Merge pull request #940 from Retrospring/dependabot/bundler/bullet-7.0.7 2023-01-09 09:14:30 +00:00
dependabot[bot] b9eefe5c28
Merge pull request #943 from Retrospring/dependabot/github_actions/actions/checkout-3.3.0 2023-01-09 09:14:02 +00:00
dependabot[bot] cce7331bd3
Bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [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/v3.2.0...v3.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 09:07:34 +00:00
dependabot[bot] 94bb99a046
Bump @fontsource/lexend from 4.5.13 to 4.5.14
Bumps [@fontsource/lexend](https://github.com/fontsource/fontsource/tree/HEAD/fonts/google/lexend) from 4.5.13 to 4.5.14.
- [Release notes](https://github.com/fontsource/fontsource/releases)
- [Changelog](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fontsource/fontsource/commits/HEAD/fonts/google/lexend)

---
updated-dependencies:
- dependency-name: "@fontsource/lexend"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 09:02:04 +00:00
dependabot[bot] a4611629b5
Bump esbuild from 0.16.14 to 0.16.16
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.16.14 to 0.16.16.
- [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.14...v0.16.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 09:01:53 +00:00
dependabot[bot] cd73edfa59
Bump bullet from 7.0.5 to 7.0.7
Bumps [bullet](https://github.com/flyerhzm/bullet) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/7.0.5...7.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 09:01:44 +00:00
dependabot[bot] 1933d799cd
Bump rspec-mocks from 3.12.1 to 3.12.2
Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks) from 3.12.1 to 3.12.2.
- [Release notes](https://github.com/rspec/rspec-mocks/releases)
- [Changelog](https://github.com/rspec/rspec-mocks/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-mocks/compare/v3.12.1...v3.12.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 09:01:29 +00:00
dependabot[bot] 2e654723f3
Bump pghero from 3.0.1 to 3.1.0
Bumps [pghero](https://github.com/ankane/pghero) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/ankane/pghero/releases)
- [Changelog](https://github.com/ankane/pghero/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/pghero/compare/v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: pghero
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 09:01:00 +00:00
Karina Kwiatek 4e78efcae7 Add tests for sending long questions with question worker 2023-01-08 19:22:00 +01:00
Karina Kwiatek cfba963b55 Only reset character counters when they are present
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2023-01-08 18:51:43 +01:00
Karina Kwiatek 2e7fca67fa Update long question warning to be more descriptive 2023-01-08 17:20:12 +01:00
Karina Kwiatek e3254cba42 Remove trailing comma 2023-01-08 17:14:56 +01:00