Commit Graph

178 Commits

Author SHA1 Message Date
discoursebot e517e69c09
DEV: Update CI workflows (#88)
Co-authored-by: discoursebuild <build@discourse.org>
2022-03-22 14:03:20 +01:00
Kris 700008b792
DEV: add plugin outlet to enable custom checkbox css (#86) 2022-03-18 13:28:11 -04:00
Kris e7c8217570
DEV: add plugin outlets for custom controls (#87) 2022-03-18 13:27:14 -04:00
Bianca Nenciu 4c0f58d982
FIX: Remove reference to share-popup (#85) 2022-03-15 21:27:01 +02:00
Jarek Radosz 650b10ef42
DEV: Lose the es6 suffix (#84) 2022-03-05 17:23:56 +01:00
Discourse Translator Bot 9931542117
Update translations (#83) 2022-02-15 15:10:14 +01:00
Discourse Translator Bot 01f673db24
Update translations (#82) 2022-02-08 14:12:58 +01:00
Discourse Translator Bot 9c4588c80b
Update translations (#81) 2022-02-01 16:15:23 +01:00
Krzysztof Kotlarek 7c54952414
FIX: TopicViewItem and TopicUser for doc topics (#80)
When a documentation topic is viewed, corresponding TopicViewItem and TopicUser should be created.

A method from a TopicController is called, however, specs should warn us if ever that core method would change.
2022-02-01 16:38:54 +11:00
Andrei Prigorshnev 6bad85b1ef
FEATURE: improve blank page syndrome (#79) 2022-01-28 20:10:53 +04:00
David Taylor 05678c451c DEV: Bump eslint-config-discourse and correct violations 2022-01-26 14:46:52 +00:00
discoursebuild 1cbd194205 DEV: Update CI workflows 2022-01-26 14:46:52 +00:00
Discourse Translator Bot 63246eb707
Update translations (#78) 2022-01-25 14:27:09 +01:00
Jarek Radosz 272488b0a4
UX: Minor visual tweaks (#76) 2022-01-24 00:34:59 +01:00
Penar Musaraj 39f956fa13
DEV: Add outlet + scroll event to support DiscoTOC (#75) 2022-01-19 12:43:00 -05:00
Discourse Translator Bot f8ac536160
Update translations (#74) 2022-01-11 14:21:42 +01:00
David Taylor 841a814bfb
DEV: Update plugin-outlet arguments (#73)
Core's defaults are changing in https://github.com/discourse/discourse/pull/13685. This commit ensures the behaviour of this plugin will not change.
2022-01-06 20:33:34 +00:00
discoursebot e56816eb50
DEV: Update CI workflows (#72)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-12-16 16:18:16 +00:00
Discourse Translator Bot 1ee9957cc6
Update translations (#71) 2021-12-14 14:53:39 +01:00
Jordan Vidrine d3eee7008b
UX: Adjust topic list item spacing (#70) 2021-11-17 13:28:40 -06:00
Jordan Vidrine 0aef9946b4
SYNTAX: Add classes in prep for Topic list refactor (#69)
* DEV: Prep for topic-list refactor
2021-11-16 13:56:12 -06:00
Kris 4631ccb8b1
DEV: add plugin outlet, li class (#68) 2021-11-05 15:09:24 -04:00
Kris 6e13e4de0b
UX: Solved filter alignment adjustment (#67) 2021-11-05 12:06:59 -04:00
Discourse Translator Bot ccbf73d3e9
Update translations (#66) 2021-10-26 11:01:09 -04:00
jbrw c38dc7c216
FIX: Hide navigation elements when printing a Docs topic (#65) 2021-10-22 16:59:14 -04:00
Joffrey JAFFEUX 8321e74b60
DEV: fixes qunit imports (#64) 2021-10-22 09:51:23 +02:00
Jordan Vidrine d8c48e6218
FEATURE: Add filter + alpha & numeric sort to categories and tags in docs sidebar (#62)
* UX: Docs sidebar changes

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
2021-10-19 10:04:36 -05:00
Discourse Translator Bot 0f78bcc9db
Update translations (#63) 2021-10-19 15:23:58 +02:00
Penar Musaraj bfed4ba324
UX: Add in:docs quick tip in search widget (#61) 2021-10-12 10:11:29 -04:00
Gavin ac9d01dc18
Update README.md (#60) 2021-10-04 12:36:30 -04:00
Krzysztof Kotlarek 72cdd8d415
FIX: ignore category filter when incorrect param (#59)
Category filter accepts ids of categories. If value is manipulated, we should ignore it.
2021-09-27 14:52:27 +10:00
discoursebot b2de26d52c
DEV: Update CI workflows (#58)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 19:56:29 +02:00
dependabot[bot] a5936fe9d2
Build(deps): Bump path-parse from 1.0.6 to 1.0.7 (#57)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 00:50:35 +02:00
Penar Musaraj 17a21cad4d
UX: Add `in:docs` filter to search (#56) 2021-07-21 15:53:40 -04:00
Discourse Translator Bot 3c8d3d28b3
Update translations (#55) 2021-07-21 10:30:16 +02:00
discoursebot 372d541c0b
DEV: Update CI workflows (#54)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-07-02 17:01:48 +02:00
Penar Musaraj 8754aaf061
DEV: SCSS cleanup 2021-06-23 23:01:54 -04:00
Discourse Translator Bot b184b14266
Update translations (#53) 2021-06-22 15:12:10 +02:00
dependabot[bot] b69f437458
Build(deps): Bump glob-parent from 5.1.1 to 5.1.2 (#52)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 13:56:30 +02:00
Discourse Translator Bot 7782de1558
Update translations (#51) 2021-06-01 15:11:37 +02:00
Discourse Translator Bot e76f7fff62
Update translations (#50) 2021-05-18 15:07:35 +02:00
Penar Musaraj b985ebad4c
DEV: Remove SCSS color vars fallbacks (#49) 2021-05-12 16:17:44 -04:00
dependabot[bot] 7433305f44
Build(deps): Bump lodash from 4.17.20 to 4.17.21 (#48)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:40:21 -04:00
dependabot[bot] 071128fa55
Build(deps): Bump handlebars from 4.7.6 to 4.7.7 (#47)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:48:24 +10:00
Discourse Translator Bot 4cc5e8780b
Update translations (#46) 2021-05-05 13:23:09 +02:00
Jarek Radosz 378f8d24f4
FIX: Correctly trigger actions (#45)
Fixes a regression introduced in #32. Reported in https://meta.discourse.org/t/meta-discourse-org-docs-sidebar-filter-doesnt-work/188350/2

Included:
* DEV: Use `query` helper
* DEV: Simplify the Docs model
* DEV: Add a test
* FIX: Correctly trigger actions
* DEV: Use `count` instead of `queryAll`
2021-04-29 16:36:14 +02:00
discoursebot f75c9d5e32
DEV: Update CI workflows, fix linting issues (#32)
Included:

* DEV: Update CI workflows
* DEV: Update the plugin URL
* DEV: Update Gemfile.lock
* DEV: Remove an old rubocop artifact
* DEV: Add .prettierrc
* DEV: Clean up .gitignore
* DEV: Add license
* DEV: Update package.json
* DEV: Fix template issues
* DEV: Re-format code
* DEV: Use `@action`
* DEV: `inject as controller`
* DEV: Use `@computed`
* DEV: Avoid naming collision and extra indirection
* DEV: Use `discourse-common/utils/decorators`
* DEV: Use `role="button"`

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: jjaffeux <j.jaffeux@gmail.com>
2021-04-27 20:49:34 +02:00
Discourse Translator Bot 50f7c25de2
Update translations (#43) 2021-04-20 15:30:54 +02:00
Discourse Translator Bot 67a8f5b59c
DEV: Add Crowdin support (#42) 2021-04-15 22:03:56 +02:00
Osama Sayegh 312cafe9d7
DEV: Compatibility with Discourse on Rails 6.1 (#41)
Related to https://github.com/discourse/discourse/pull/12688.

The tags and categories count queries are failing on Rails 6.1 with `ERROR:  column "topics.bumped_at" must appear in the GROUP BY clause or be used in an aggregate function`. The reason these queries didn't fail prior to 6.1 was because Active Record would automatically drop the `ORDER BY` clause from the queries when we called `count` on them. This behavior has been [changed](5812feffe3) in 6.1 so now Active Record only drops the `ORDER BY` clause if there is no `GROUP BY` clause. Our queries do have `GROUP BY` clauses, so we need to drop the `ORDER BY` clauses ourselves before we call `count` to make them work on 6.1.
2021-04-15 19:17:26 +03:00