Commit Graph

117 Commits

Author SHA1 Message Date
David Taylor 8352a79145
DEV: Resolve deprecated use of `registerConnectorClass` (#262) 2023-10-23 22:26:07 +01:00
David Taylor 56d936be63
FIX: Correct getOwner import (#260)
As it's currently implemented, the fallback is essential here. `this` in a static method is `undefined`, and therefore cannot have an owner.

Unfortunately this plugin outlet does not seem to be tested in the plugin's own test suite. Core's test suite picked up this issue.

Followup to 3a0b46da7a
2023-10-17 23:37:07 +01:00
Robert 3a0b46da7a
DEV: Resolve import deprecation (#259) 2023-10-17 21:50:50 +02:00
Meghna 9fbf43e2f0
FIX: do not show solved/unsolved filter when editing category (#254)
UX: add spacing for solved/unsolved filter dropdown
2023-09-26 18:39:17 +05:30
David Taylor 9087034a4d
DEV: Modernise and fix behavior when used with loading-slider (#243) 2023-07-06 16:16:36 +01:00
Penar Musaraj e0cd3d11c3
FIX: Respect "display name on posts" site setting (#239)
When displaying the accepted answer in the OP.
2023-06-01 11:50:50 -04:00
Isaac Janzen daf2a823e2
DEV: Use angle bracket syntax (#235) 2023-04-28 08:14:49 -05:00
Arpit Jalan bffc46858a
FEATURE: solved topic auto close setting per category (#233)
* FEATURE: solved topic auto close setting per category

This commit adds per category "solved topics auto close hours" setting. The plugin would use the existing "solved topics auto close hours" setting, except if there was a setting for the relevant category in which case that would take precedence.

* minor changes per feedback
2023-04-19 19:44:33 +05:30
Bianca Nenciu 4ae1841479
UX: Tweak 'Solution' button design (#232)
Hide the accept solution button if a solution has been accepted already.
2023-03-17 17:35:58 +02:00
Bianca Nenciu 7ea62738c5
UX: Tweak 'Solution' button design (#230) 2023-03-09 10:33:06 +02:00
David Taylor d88b1c80d8
DEV: Update eslint-config-discourse, use prettier for hbs (#220) 2023-01-04 13:39:38 +01:00
Andrei Prigorshnev 4709fb17ed
UX: show blank page placeholder instead of the blue panel that says "No Activity" (#197) 2022-08-18 16:51:28 +04: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
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
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
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
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
Andrei Prigorshnev 473c530018
FEATURE: improve blank page syndrome (#168) 2021-09-28 19:22:08 +04:00
Kris 6b6d5978a2
DEV: Add class to solved topics in list (#159) 2021-08-27 14:41:57 -04:00
Bianca Nenciu fafa1c22b0
FEATURE: Show number of accepted answers on user card (#154) 2021-08-26 14:25:39 +03:00
Penar Musaraj f5c5f28ef0
UX: Add quick search suggestion entries (#150) 2021-07-21 14:01:33 -04:00
Meghna 2c509208ed
UX: fix solution alignment on mobile (#148) 2021-07-12 19:51:04 +05:30
Joffrey JAFFEUX a6f911b907
DEV: apply ember-template-lint fixes (#126) 2021-04-27 12:01:53 +02:00
Kris 5c5b63e822
UX: Fixed solved alignment with buttons due to core changes (#120) 2021-02-16 18:36:07 -05:00
Kris 8116c7974c
FIX: update solved filter due to core changes (#119) 2021-02-13 15:19:34 -05:00
Joffrey JAFFEUX 30248619e2
DEV: prettier 2.2.1 (#114) 2021-01-27 10:38:37 +01:00
Alan Guo Xiang Tan 160faf9f6c
DEV: Add acceptance tests for solved icon in full page search. (#105) 2020-12-23 15:37:06 +08:00
tshenry 02981fe1d9
UX: Do not render solved filter on categories page (#100)
There is no topic list to filter on the categories page, so we should not be rendering the solved filter there.

This also addresses a few deprecations in the code.
2020-11-11 10:08:09 -08:00
Ahmed Gagan 945974a5e4
FIX: Change to new discourse plugin-api for advanced search options (#91)
Changed to new discourse plugin-api and added status:unsolved option
2020-09-11 11:15:34 +01:00
Joffrey JAFFEUX 613267c3a2
DEV: apply coding standards (#90) 2020-09-04 13:22:22 +02:00
Joe 5dd60d5511 UX: anon solved label color should match logged in button 2020-06-09 10:41:57 +08:00
Joe 4e687d4846 UX: fix solved colors 2020-06-01 09:24:01 +08:00
Vinoth Kannan f4aea44db8 UX: Add "solved" status filter in advanced search page.
And rename `in:solved` to `status:solved`.
2020-03-06 08:57:38 +05:30
jjaffeux 26d247e3d7 UX: makes solved status filter adapt width to its content 2020-02-20 11:04:26 +01:00
Mark VanLandingham 2de08c8ad7 DEV: Remove unused import 2019-11-05 16:00:03 -06:00
Mark VanLandingham ad787656fe FIX: Pass in DecoratorHelper to PostCooked 2019-11-05 15:58:09 -06:00
Joffrey JAFFEUX e974c35d38
FIX: enable_accepted_answers state was not correctly displayed (#82) 2019-10-23 15:37:37 +02:00
Joffrey JAFFEUX c630c14d6c REFACTOR: old patterns and deprecations (#81) 2019-10-02 15:36:35 +10:00
Penar Musaraj be6ecbf667 Replace deprecated icon 2019-08-25 21:28:46 -04:00
Kris 3763ca4aaa Solved button text margin fix 2019-07-25 16:03:37 -04:00
Kris e9bd783bb7 remove unused variable 2019-07-24 11:38:56 -04:00
Kris 9550ced040
UX: If I can't unselect an answer, show text not a button (#80)
* UX: If I can't unselect an answer, show text not a button

* UX: Hide button text when post controls are expanded on mobile
2019-07-24 11:01:47 -04:00
Kris 8e8bf5e2d8 Revert "UX: Improve button position and visibility. (#79)"
This reverts commit f788093e6a.
2019-07-18 10:56:18 -04:00
Kris d3babfddd3 Revert "UX: Integrate text with button to improve spacing"
This reverts commit ad4bae2f4d.
2019-07-18 10:55:44 -04:00
Kris ad4bae2f4d UX: Integrate text with button to improve spacing 2019-07-16 11:08:05 -04:00