Kris
e4b4a97d9e
DEV: re-enable and update empty state tests ( #380 )
2025-07-09 13:58:35 -04:00
Kris
1d038963fd
TEMP: skip tests due to core change ( #379 )
2025-07-09 10:24:06 -04:00
Natalie Tay
f96aceb5f4
FIX: Use SolvedTopics to list posts in /activity/solved instead of user actions ( #376 )
...
In https://github.com/discourse/discourse-solved/pull/342 we moved solutions away from topic_custom_fields into proper tables, with the tables as the proper source of truth to a topic's solution.
The user's /my/activity/solved route uses user_actions which is not accurate, and a user has reported a bug where their solution is not reflected there (user actions are not a good representation of what a topic's solution is).
This commit introduces
- a new route to get solutions, and is mindful `hide_user_profiles_from_public` and such settings
- also mindful of PMs and private categories
- a new template that makes use of the `<UserStream>` to load posts safely and avoid reimplementation
2025-07-02 16:56:12 +08:00
Sérgio Saquetim
8e72136f54
DEV: Add compatibility with the Glimmer Post Stream ( #363 )
2025-05-05 15:12:39 -03:00
David Taylor
390141297f
DEV: Drop widget post-menu test ( #356 )
...
In preparation for https://github.com/discourse/discourse/pull/31211
2025-04-01 15:23:34 +01:00
David Taylor
aede1c30cf
DEV: Update selector in test ( #354 )
...
Preparation for https://github.com/discourse/discourse/pull/32082
Followup to fc2d1a290c31eb6f415b346f8dcd01e79fad8041
2025-03-31 20:58:59 +01: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](39baa0be4a/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
David Taylor
3efcd3722a
DEV: Bump dependencies and fix linting ( #333 )
2025-02-06 17:42:05 +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
4fdf398d92
DEV: Update linting ( #319 )
2024-11-28 17:14:00 +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
Andrei Prigorshnev
143096af15
DEV: fix linting issue ( #204 )
2022-08-18 17:49:26 +04: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
Jarek Radosz
830062a9e6
DEV: Use cloneJSON
in tests ( #195 )
2022-03-10 17:34:11 +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
Martin Brennan
6767d8c60b
DEV: Update code for eslint object-shorthand-rule ( #171 )
...
See 4f7aba06c0
2021-11-10 12:01:13 +11:00
Andrei Prigorshnev
473c530018
FEATURE: improve blank page syndrome ( #168 )
2021-09-28 19:22:08 +04:00
Robin Ward
55cb184f7e
FIX: Import test helpers properly ( #167 )
2021-09-21 13:29:00 -04:00
Joffrey JAFFEUX
30248619e2
DEV: prettier 2.2.1 ( #114 )
2021-01-27 10:38:37 +01:00
Jarek Radosz
5cfb0b4590
DEV: Fix a linting error and work around a test issue ( #107 )
...
Issue introduced in https://github.com/discourse/discourse-solved/pull/105/files#diff-a2b6a1622bdc1ddf5f4fd546319bbe4c0216528d6e9a0648d105a65a9933d2eeR10
Includes:
* Fix a linting error
* Fix deprecations
* Don't rely on a prototype extension
* Don't modify the global `/search.json` fixture
* Workaround the test issue
2020-12-23 19:41:07 +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
Joffrey JAFFEUX
613267c3a2
DEV: apply coding standards ( #90 )
2020-09-04 13:22:22 +02:00
Gerhard Schlager
d9ad32b5fa
Make eslint happy
2018-12-12 11:49:13 +01:00
David Taylor
8b200aa643
DEV: Apply rubocop
2018-10-22 20:13:46 +01:00
Kyle Zhao
194b818dc4
add a test to make sure excerpts are only shown if provided
...
and excerpts are only provided if 'solved_quote_length' > 0
2017-08-09 14:49:50 -04:00