Commit Graph

49 Commits

Author SHA1 Message Date
David Taylor b483a91a09
DEV: Update linting (#318) 2024-11-20 18:34:16 +01:00
David Taylor 8374ed50de
DEV: Update eslint config (#316) 2024-11-19 11:18:08 +01:00
Jarek Radosz c2f549fd4f
DEV: Use the new `owner` arg in `shouldRender` (#314) 2024-10-31 10:56:06 +01:00
Kris 85d3e494ee
A11Y: remove heading tag from usercard stat (#299) 2024-07-17 14:55:19 -04:00
Jan Cernik 6f27ff2998
FIX: Show the solved filter on tags (#296) 2024-06-01 12:26:03 -03:00
Jordan Vidrine 526a44644a
FIX: Nest combobox within LI element (#280) 2024-02-08 15:50:26 -06:00
Jarek Radosz 3a6d2e46a1
DEV: Don't use deprecated input components (#279) 2024-02-02 15:13:55 +01:00
Jarek Radosz fa3e1598aa
DEV: Update linting (#275) 2024-01-16 17:50:43 +01: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
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
David Taylor d88b1c80d8
DEV: Update eslint-config-discourse, use prettier for hbs (#220) 2023-01-04 13:39:38 +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 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
Bianca Nenciu fafa1c22b0
FEATURE: Show number of accepted answers on user card (#154) 2021-08-26 14:25:39 +03:00
Joffrey JAFFEUX a6f911b907
DEV: apply ember-template-lint fixes (#126) 2021-04-27 12:01:53 +02: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
Joffrey JAFFEUX 613267c3a2
DEV: apply coding standards (#90) 2020-09-04 13:22:22 +02:00
jjaffeux 26d247e3d7 UX: makes solved status filter adapt width to its content 2020-02-20 11:04:26 +01: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
Kris 8e8bf5e2d8 Revert "UX: Improve button position and visibility. (#79)"
This reverts commit f788093e6a.
2019-07-18 10:56:18 -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
Kris 73aad3a608 UX: Add header for category settings 2019-04-19 14:00:39 -04:00
Vinoth Kannan effb7e168b FIX: Show topic filter dropdown only if plugin is enabled 2019-03-15 16:04:35 +05:30
Vinoth Kannan 30146dbb31 FIX: Rename connector template to resolve conflict 2019-03-14 08:22:58 +05:30
Vinoth Kannan 5ddd644e00 FEATURE: Show dropdown to filter topic lists by solved status 2019-03-14 00:41:07 +05:30
Penar Musaraj 02db4c1340 Avoid svg xml in locale strings 2018-11-12 13:26:28 -05:00
Penar Musaraj 987869e1d7 Fix user activity nav icon 2018-11-11 22:50:12 -05:00
Sam 026f7a3ab0 FEATURE: support listing user solutions in user page 2017-02-02 12:20:40 -05:00
Robin Ward 7b37021403 FIX: Works with post menu as a component 2015-07-07 00:29:02 -04:00
Sam d8705a278b FEATURE: site setting to enable solved globally 2015-06-19 16:08:43 +10:00
Sam 76e3b44cf5 FEATURE: add notification when an answer is accepted
Cleanup terminology (use solved vs accepted-answer)
Cleanup styling, get rid of green box
2015-06-15 14:24:49 +10:00
Sam Saffron 09292d6ff9 - Add security
- Add configuration option on categories to enable
2015-06-10 06:09:20 +10:00
Sam a4e9ee4552 first proof of concept, security still missing 2015-05-19 16:26:22 +10:00
Sam 43f40c9825 work in progress 2015-05-19 15:45:19 +10:00