Commit Graph

427 Commits

Author SHA1 Message Date
Jarek Radosz 830062a9e6
DEV: Use `cloneJSON` in tests (#195) 2022-03-10 17:34:11 +01:00
David Taylor 9ef62060c4
DEV: Skip UI delay in test mode (#194)
This was adding 2s to every topic-view test when the solved plugin was loaded
2022-03-10 11:07:12 +00:00
Jarek Radosz 4a3ceaca9c
FIX: Intializer regression (#193) 2022-03-07 00:19:21 +01:00
Jarek Radosz 7c50330e04
DEV: Fix imports (#192) 2022-03-06 21:33:24 +01:00
Jarek Radosz 6007395cfb
DEV: Lose the es6 suffix (#191) 2022-03-06 21:20:09 +01:00
Joffrey JAFFEUX 56cf5a7dbd
FIX: refresh custom fields and removes dup fabricator (#190) 2022-02-23 10:57:32 +01:00
discoursebot 922ca15fc9
DEV: Update CI workflows (#189)
Co-authored-by: discoursebuild <build@discourse.org>
2022-01-25 11:49:23 +00:00
Penar Musaraj fd40559798
FIX: Do not render no-answer nudge on mobile (#188) 2022-01-23 18:41:17 +01:00
Bianca Nenciu 833070e2a1
FIX: Add a popupId to store state (#186)
The dismissed state will be stored in local storage because popupId is
present now.
2022-01-19 16:20:16 +02:00
Discourse Translator Bot a5b36dc344
Update translations (#187) 2022-01-18 14:43:04 +01:00
Discourse Translator Bot d7c8c95f2d
Update translations (#185) 2022-01-11 14:23:12 +01:00
Dan Ungureanu ec9258d2ee
FIX: Do a transition to update 'solved' queryparam (#184)
A more involved transition / redirect was happening which sometimes
made Ember think it was an incomplete transition and threw an error.
2022-01-08 13:58:41 +02:00
Discourse Translator Bot 5e87180ed7
Update translations (#183) 2022-01-04 17:40:00 +01:00
Discourse Translator Bot 470f625636
Update translations (#182) 2021-12-28 14:14:34 +01:00
Kris 40fa1d235a
UX: update filter breadcrumb due to core changes (#181)
* UX: update filter breadcrumb due to core changes

* remove trailing spaced
2021-12-23 13:46:56 -05:00
Discourse Translator Bot 4cf4b41c4e
Update translations (#180) 2021-12-22 18:29:28 +01:00
discoursebot 6f50e26335
DEV: Update CI workflows (#179)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-12-16 18:05:49 +00:00
Bianca Nenciu 4bb06f0e16
FEATURE: Show notice if user can accept an answer (#175)
Implements a a notice that will show for old topics with no accepted
answers.
2021-12-15 17:16:41 +02:00
Kris 8635fed3d6
UX: prevent solve text and icon from wrapping (#177) 2021-12-14 21:35:05 -05:00
Discourse Translator Bot 9184f95299
Update translations (#176) 2021-12-07 16:20:18 +01:00
Discourse Translator Bot 40277e50d4
Update translations (#174) 2021-11-23 17:29:48 +01:00
Discourse Translator Bot 177e0cbe84
Update translations (#173) 2021-11-16 16:17:29 +01:00
Joffrey JAFFEUX 9b8aa09855
DEV: adds an automation script for first accepted solution (#172) 2021-11-12 16:00:48 +01:00
Martin Brennan 6767d8c60b
DEV: Update code for eslint object-shorthand-rule (#171)
See 4f7aba06c0
2021-11-10 12:01:13 +11:00
Jarek Radosz 668ea21131
DEV: Drop obsolete code (#170) 2021-10-28 15:13:24 +02:00
Discourse Translator Bot 2678dbdf0c
Update translations (#169) 2021-10-05 16:00:41 +02:00
Andrei Prigorshnev 473c530018
FEATURE: improve blank page syndrome (#168) 2021-09-28 19:22:08 +04:00
Robin Ward 55cb184f7e
FIX: Import test helpers properly (#167) 2021-09-21 13:29:00 -04:00
Discourse Translator Bot 8dbbc8f608
Update translations (#166) 2021-09-21 15:13:23 +02:00
tshenry 55c9fca212
FIX: typo in mixin and incorrect setting description (#165)
`allow_accepted_answer` should be `allow_accepted_answers` (with an `s` at the end) in the `TopicAnswerMixin`.

The `enable_solved_tags` setting description seemed to be using the description intended for `allow_solved_on_all_topics`. Both descriptions have been updated.
2021-09-17 18:07:01 -07:00
Roman Rizzi 66999ee3fb
FEATURE: Enable solved for topics with specific tags. (#164)
This PR adds a site setting called `enable_solved_tags`. Solved will be enabled for topics containing these tags, just like we do for specific categories.
2021-09-17 11:12:47 -03:00
discoursebot 6c43c241f6
DEV: Update CI workflows (#163)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 20:02:05 +02:00
Bianca Nenciu b558caff37
PERF: Use UserAction to count accepted answers (#162)
The previous query which used custom fields performed a much more
complex and slower search.
2021-09-13 19:26:43 +03:00
Discourse Translator Bot 2a774f0d6f
Update translations (#161) 2021-08-31 16:08:18 +02:00
Martin Brennan cf368c19cb
FIX: Stop register_topic_list_preload_user_ids from breaking old versions (#160)
We need a proper fix, but this stops the bleeding for now.
Wrapped code related to `register_topic_list_preload_user_ids` in
a `respond_to?(:register_topic_list_preload_user_ids)` block because
this API is not available in beta or stable versions of Discourse.
2021-08-31 13:30:17 +10:00
Kris 6b6d5978a2
DEV: Add class to solved topics in list (#159) 2021-08-27 14:41:57 -04:00
Bianca Nenciu f20274f44a
FIX: Correctly serialize accepted_answers (#158) 2021-08-26 16:16:22 +03:00
Vinoth Kannan e217925e13
FIX: pin the plugin in commit for old versions of Discourse. (#157)
Recent commit 184d2e6137 is not compatible with old versions of Discourse.
2021-08-26 17:00:12 +05:30
Bianca Nenciu fafa1c22b0
FEATURE: Show number of accepted answers on user card (#154) 2021-08-26 14:25:39 +03:00
Bianca Nenciu 184d2e6137
FEATURE: Show user who posted accepted answer second (#156)
The user who posts the accepted answer will show as the second poster
in the list of posters from topics list.
2021-08-26 12:53:46 +03:00
Osama Sayegh 6123f22412
Revert "FEATURE: Show user who posted accepted answer second (#153)" (#155)
This reverts commit 556f402db8.
2021-08-26 01:05:01 +03:00
Bianca Nenciu 556f402db8
FEATURE: Show user who posted accepted answer second (#153)
The user who posts the accepted answer will show as the second poster
in the list of posters from topics list.
2021-08-25 23:33:28 +03:00
Arpit Jalan 13168027eb
UX: do not show composer education message if the post is whisper (#152) 2021-08-19 09:33:00 +05:30
dependabot[bot] 8bf5437020
Bump path-parse from 1.0.6 to 1.0.7 (#151)
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:49:08 +02:00
Penar Musaraj f5c5f28ef0
UX: Add quick search suggestion entries (#150) 2021-07-21 14:01:33 -04:00
Vinoth Kannan 5e0ef4bd36
DEV: create a sample solved topic for `dev:populate` rake task. (#149)
Solved feature will be enabled on a random category and a random post will get marked as "accepted answer" on it.
2021-07-15 19:04:28 +05:30
Discourse Translator Bot b96374bf4a
Update translations (#147) 2021-07-13 20:31:34 +02:00
Meghna 2c509208ed
UX: fix solution alignment on mobile (#148) 2021-07-12 19:51:04 +05:30
discoursebot c6c3752b97
DEV: Update CI workflows (#146)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-07-02 16:33:32 +02:00
Discourse Translator Bot 83079b756f
Update translations (#145) 2021-06-29 15:59:13 +02:00