Commit Graph
128 Commits
Author SHA1 Message Date
Natalie Tay a8a3554cec FEATURE: Add setting to show who marked as solved (#347)
This commit adds the site setting `SiteSetting.show_who_marked_solved` and also the following tooltip to answer posts.
2025-03-26 11:43:22 +08:00
Natalie Tay 6b07af89da UX: Better alignment and gaps for marked solved by (#346) 2025-03-26 02:21:36 +08:00
Natalie Tay 5a0c875885 FEATURE: Show 'marked solved by' in OP when topic is solved (#343)
Depends on: https://github.com/discourse/discourse-solved/pull/342

This feature adds the "Marked solved as" information to the solved post appended to OP.

Originally, I had moved the widget usage to a [component](https://github.com/discourse/discourse-solved/blob/39baa0be4a889fdbff108e887a677d9a298d27d4/assets/javascripts/discourse/components/solved-post.gjs), but due to "cooking quotes", after some internal discussion (t/95318/25) we will stick to widgets for now as the post-stream gets modernized.
2025-03-25 17:14:02 +08:00
Jarek Radosz 4e3521fd25 DEV: Update linting (#340) 2025-03-17 12:00:55 +00:00
David Taylor 3efcd3722a DEV: Bump dependencies and fix linting (#333) 2025-02-06 17:42:05 +01:00
Jarek Radosz c8ac2c7002 DEV: Display unsolved icon only on the topic list (#330)
…in the new topic-status implementation (using the next `@context` from https://github.com/discourse/discourse/pull/30940)

This roughly matches the old implementation (but there it was displayed in some places but not in others mostly because of implementation details/bugs)
2025-01-23 04:21:46 +01:00
Jarek Radosz c929f49f3d FIX: Use both possible *_answer attributes (#329)
…and simplify other conditions (`can_have_answer` is true only if `solved_enabled` and `empty_box_on_unsolved` are also true)
2025-01-23 03:53:48 +01:00
Jarek Radosz a73bfa228e DEV: Add gjs implementation of solved topic status (#327) 2025-01-14 13:38:48 +01:00
KelvandJarek Radosz 3443539725 DEV: Update more deprecated Font Awesome icon names (#325)
* DEV: Update more deprecated Font Awesome icon names

* update to square-check


Co-authored-by: Jarek Radosz <[email protected]>

---------

Co-authored-by: Jarek Radosz <[email protected]>
2024-12-06 07:16:13 +08:00
Kelv ac0c938a35 DEV: Update deprecated Font Awesome icon names (#323) 2024-12-04 02:36:24 +01:00
Jarek Radosz 024d9dd70f DEV: Use topic-list-item-class transformer (#321)
…to replace a deprecated topic-list-item customization
2024-12-03 15:09:43 +01:00
Jarek Radosz 41a8789ec3 DEV: Minor code cleanup (#322)
mostly new i18n imports and qunit-dom
2024-12-02 23:13:34 +01:00
David Taylor f6d63b7299 DEV: Convert to native class syntax (#320) 2024-11-29 16:42:42 +01:00
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
Sérgio Saquetim 28ae24ffb8 DEV: Added compatibility with the Glimmer Post Menu (#313) 2024-11-12 20:45:17 -03: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 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