Sérgio Saquetim
47d24da9a7
DEV: Update has_accepted_answer property to track solution state
2025-06-24 16:23:18 -03:00
Sérgio Saquetim
0365e44a33
FIx failing tests
2025-06-24 16:21:40 -03:00
Sérgio Saquetim
25920252f3
Fix linting issues
2025-06-24 01:31:09 -03:00
Sérgio Saquetim
5aed0b41c5
FEATURE: Real-time updates for accepted and unaccepted solutions
...
Introduce real-time message bus updates for accepted and unaccepted solutions, ensuring live synchronization across users.
Key changes:
- Publish solution acceptance/unacceptance updates via MessageBus.
- Refactor `accepted_answer_post_info` and related logic for cleaner handling of accepted answer data.
- Update both backend and frontend to support reactive updates when solutions are toggled.
- Add loading states for Accept/Unaccept buttons to enhance UX during async operations.
2025-06-24 01:08:02 -03:00
Sérgio Saquetim
f03f64a33c
DEV: Refactor topic model to use tracked properties for accepted answer logic
...
Refactored the `topic` model to replace legacy Ember property access (`get/set`) with modern tracked properties. Updated related logic in `add-topic-list-class` and `solved-unaccept-answer-button` to align with these changes.
2025-06-20 19:07:35 -03:00
Sérgio Saquetim
855745b4f8
DEV: Use the PostQuotedContent component to render the accepted answer
...
Refactored the `solved-accepted-answer` component to utilize the `PostQuotedContent` component, simplifying the structure and removing redundant code. Updated system tests to verify behavior of expandable accepted answer quotes. Added new compatibility entry for version `< 3.5.0.beta7-dev` and included TODO comments regarding event handling for Glimmer Post Stream.
2025-06-20 18:45:07 -03:00
David Taylor
ba3d4276ee
DEV: Fix linting violations ( #367 )
2025-05-16 13:24:01 +01:00
Sérgio Saquetim
8e72136f54
DEV: Add compatibility with the Glimmer Post Stream ( #363 )
2025-05-05 15:12:39 -03:00
David Taylor
ae01ad30c3
DEV: Remove legacy topic-list code ( #362 )
2025-04-14 14:38:48 +01:00
Sérgio Saquetim
b128e65ae5
DEV: Remove the legacy widget post menu code ( #351 )
2025-04-02 22:31:40 +01:00
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
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
Kelv and Jarek 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
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
Sérgio Saquetim
28ae24ffb8
DEV: Added compatibility with the Glimmer Post Menu ( #313 )
2024-11-12 20:45:17 -03: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
David Taylor
8352a79145
DEV: Resolve deprecated use of registerConnectorClass ( #262 )
2023-10-23 22:26:07 +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
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
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
Kris
6b6d5978a2
DEV: Add class to solved topics in list ( #159 )
2021-08-27 14:41:57 -04:00
Penar Musaraj
f5c5f28ef0
UX: Add quick search suggestion entries ( #150 )
2021-07-21 14:01:33 -04: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
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
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
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
Penar Musaraj
2918f4a012
Update deprecated icon reference
2019-04-23 13:53:27 -04:00
Kris
97821bc96c
UX: Add class to accepted answer quote in posts ( #76 )
2019-03-14 17:19:58 +11:00