Commit Graph

107 Commits

Author SHA1 Message Date
Jarek Radosz fa3e1598aa
DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
Kris dd8ebd24e8
DEV: add appEvent for solution-toggled (#273) 2023-12-20 11:58:47 -05:00
Kris 655c97e569
UX: add `linked-stat` class to profile stat (#266) 2023-11-06 13:30:52 -05:00
David Taylor b0d3d5017e
FIX: Solved count on user profile (#264)
Followup to 8352a79145
2023-10-30 12:57:34 +00:00
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
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
Joffrey JAFFEUX a6f911b907
DEV: apply ember-template-lint fixes (#126) 2021-04-27 12:01:53 +02: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
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 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
Bianca Nenciu f788093e6a
UX: Improve button position and visibility. (#79) 2019-07-15 17:30:58 +03:00
Sam Saffron a0191a1e50 Revert "UX: Improve button position and visibility. (#78)"
This reverts commit d394d64285.

We made the UX here a bit too strong, we will followup with a reduction
of noise and ensure the new "loud UX" only appears for the OP
and only appears when no solution is accepted
2019-06-29 08:12:41 +10:00
Bianca Nenciu d394d64285 UX: Improve button position and visibility. (#78) 2019-06-28 18:50:42 +02:00