39 Commits

Author SHA1 Message Date
Krzysztof Kotlarek
7e59ece789
FIX: granular webhooks (#248)
After those core changes we need additional translations

https://github.com/discourse/discourse/pull/23070
2023-10-09 03:26:29 +00: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
Blake Erickson
65a9ccf876
FEATURE: Add API Scopes (#228)
Adds a single API scope for accepting or unaccepting a solution.
2023-02-23 15:00:14 -07:00
Osama Sayegh
3492d42a58
FIX: Add title to solved notifications (#226)
This commit adds a title that appears when hovering over solved notifications in the UI.
2023-02-15 16:30:33 +03: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
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
Joffrey JAFFEUX
9b8aa09855
DEV: adds an automation script for first accepted solution (#172) 2021-11-12 16:00:48 +01:00
Andrei Prigorshnev
473c530018
FEATURE: improve blank page syndrome (#168) 2021-09-28 19:22:08 +04:00
Mark VanLandingham
52d4656011
Re-add usage of add_directory_column for user directory table solutions count (#140) 2021-06-22 13:18:23 -05:00
Mark VanLandingham
7351882171
Revert "Use add_directory_column API to add solutions count to user directory (#137)" (#139)
This reverts commit 58c594fdda0a8c35a6f52079e1d8909619f6e2df.
2021-06-17 12:37:29 -05:00
Mark VanLandingham
58c594fdda
Use add_directory_column API to add solutions count to user directory (#137) 2021-06-17 09:31:11 -05: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
Gerhard Schlager
b2cf82fc3b DEV: Use consistent interpolation key format in translations 2020-06-02 19:15:45 +02:00
Blake Erickson
8d883fba93
FEATURE: Publish WebHook event when solving/unsolving (#85)
* FEATURE: Publish WebHook event when solving/unsolving

This feature will publish a post edit webhook event whenever a solution
is accepted or unaccepted.

I went ahead and used the existing post-edit webhook because all the
post custom fields for the solved plugin are already included in the
post-edit serializer.

* Create Solved Event Webhook

This commit adds a solved event webhook that will only trigger when an
answer has been marked as accepted or unaccepted.

It uses 100 as the webhook ID. This way any new webhooks in core can
keep using lower numbers like 11, 12, 13, but plugins can use 101, 102,
etc.

* Removed functionality that was added to core

This [PR][1] to discourse core adds what what removed in this commit.

It is better to have this logic in core so that it is discoverable and
future webhooks won't end up accidentally using the same ID.

[1]: https://github.com/discourse/discourse/pull/9110

* UX: Add "solved" status filter in advanced search page.

And rename `in:solved` to `status:solved`.

* FEATURE: Publish WebHook event when solving/unsolving

This feature will publish a post edit webhook event whenever a solution
is accepted or unaccepted.

I went ahead and used the existing post-edit webhook because all the
post custom fields for the solved plugin are already included in the
post-edit serializer.

* Create Solved Event Webhook

This commit adds a solved event webhook that will only trigger when an
answer has been marked as accepted or unaccepted.

It uses 100 as the webhook ID. This way any new webhooks in core can
keep using lower numbers like 11, 12, 13, but plugins can use 101, 102,
etc.

* Removed functionality that was added to core

This [PR][1] to discourse core adds what what removed in this commit.

It is better to have this logic in core so that it is discoverable and
future webhooks won't end up accidentally using the same ID.

[1]: https://github.com/discourse/discourse/pull/9110

Co-authored-by: Vinoth Kannan <vinothkannan@vinkas.com>
2020-03-06 11:28:29 -07: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
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 f788093e6aedc220bed38f77361b5a6d3529183c.
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 d394d64285dfbc0f42dfe22162977b50b7ea5c3f.

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
Vinoth Kannan
5ddd644e00 FEATURE: Show dropdown to filter topic lists by solved status 2019-03-14 00:41:07 +05:30
Vinoth Kannan
6fb6f8849b Revert "REVERT: 'FEATURE: Add solved icon for topic titles in search results and other topic lists'"
This reverts commit 6dbd420c9e6cea85caad4cf1f0c821e95dce0c27.
2019-03-13 22:40:54 +05:30
Vinoth Kannan
6dbd420c9e REVERT: 'FEATURE: Add solved icon for topic titles in search results and other topic lists' 2019-03-13 19:38:31 +05:30
Vinoth Kannan
b1682574d0 remove unused key in locale 2019-03-13 16:08:09 +05:30
Vinoth Kannan
e9be43becd FEATURE: Add solved icon for topic titles in search results and other topic lists 2019-03-13 15:59:07 +05:30
Penar Musaraj
02db4c1340 Avoid svg xml in locale strings 2018-11-12 13:26:28 -05:00
Penar Musaraj
fa14f1dee6 replace icon refs in client.en.yml 2018-11-12 10:30:06 -05:00
Arpit Jalan
54379204f3 FIX: jump to solved post instead of opening in new tab 2018-02-18 10:27:51 +05:30
Andrew Schleifer
1f11d810d1 add a call to action
this disambiguates the tooltip
2018-01-24 12:41:53 -06:00
Robin Ward
19b1448d76 FIX: Missing icon in notifications for solved 2017-09-15 13:55:08 -04:00
David Taylor
f17d8ca52e Add missing translation string 2017-02-27 17:42:58 +00:00
Sam
026f7a3ab0 FEATURE: support listing user solutions in user page 2017-02-02 12:20:40 -05:00
Jeff Atwood
e736087326 copyedits 2015-07-20 15:56:26 -07:00
Sam
394fbb83ff UX: shorten text to "Solution"
UX: styles Solved in green
UX: hide by XYZ by default
2015-07-14 16:18:56 +10:00
Sam
57b4cb853f FEATURE: display icon on front page 2015-06-15 16:26:40 +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
b662143cae FIX: correct button for anon
FEATURE: suppress button for staff
UX: remove strong green style
2015-06-10 18:31: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