15 Commits

Author SHA1 Message Date
Rafael Silva
34973acc55
PERF: Load reports async 2025-11-26 15:12:59 -03:00
Martin Brennan
1cdd3fd708
FIX: Various bugs from 2024 rewind (#29)
* Use post excerpt for best posts to avoid giant posts
  ruining it
* Make sure short emojis (e.g. `😂`) render in best posts
  and best topics
* Make images show in best post excerpts (requires core change)
* Fix invite action error, using column that doesn't exist
* Add missing # for top category slugs
* Refactor report service + controller a little to make it easier
  to figure out what went wrong if it fails, and to use the guardian
  user

Copies a couple of fixes from
https://github.com/discourse/discourse-rewind/pull/28 to make
things work locally, the conflicts will be easy to resolve.

**Best topics before**

<img width="977" height="712" alt="image"
src="https://github.com/user-attachments/assets/e120507f-d0d8-44f0-b242-e1056084ef03"
/>


**Best topics after**

<img width="969" height="648" alt="image"
src="https://github.com/user-attachments/assets/dd13f6ac-35df-4e9a-907e-9ed5102843b6"
/>

**Categories before**

<img width="904" height="465" alt="image"
src="https://github.com/user-attachments/assets/0d15e73d-3534-4836-b776-2c97381e58ef"
/>


**Categories after**

<img width="925" height="466" alt="image"
src="https://github.com/user-attachments/assets/3d6e4eae-32ed-4f11-a4f4-090e4473ebe9"
/>
2025-11-19 09:36:08 +10:00
Kris
972cc6e5d9
UX: restyling for 2025 (#28)
This generally updates the styles for the 2025 version. I also made more
features work in development environments (so it's easier to test) and
fixed an issue with invites that was causing the report to not show.


<img width="400" alt="image"
src="https://github.com/user-attachments/assets/69a62b79-12e3-4539-a82c-9bbf9673abe2"
/>

<img width="1554" height="896" alt="image"
src="https://github.com/user-attachments/assets/60fabac5-6f20-4e01-9679-fd228c6850c2"
/>

<img width="754" height="459" alt="image"
src="https://github.com/user-attachments/assets/6725c6e2-1bac-417e-b4ee-190841ab656b"
/>

<img width="1472" height="490" alt="image"
src="https://github.com/user-attachments/assets/87c95e6a-5d78-4fb6-9f2d-dad13bcc9788"
/>

<img width="1480" height="702" alt="image"
src="https://github.com/user-attachments/assets/67bec8f9-dce5-4077-a07d-fe9e13696958"
/>
2025-11-18 09:03:41 -05:00
Martin Brennan
a600db4d06
FIX: Rename Favorite Tags/Categories to Most Viewed Tags/Categories and isRewindActive fixes (#27)
This was confusing people last year, most people assumed it meant
the tags they used the most / categories they posted in the most.
This should clear things up.

Also removes the `isRewindActive` function in favour of
`is_rewind_active`
on the current user, since then we only have one place to check this,
and
it makes testing easier since we don't have to mock browser time.

Finally it moves the route for rewind in the UI to the new route path
format.
2025-11-07 10:20:25 +10:00
Joffrey JAFFEUX
29a54cf075 rewind title 2025-01-13 13:46:45 +01:00
Joffrey JAFFEUX
b985dc8d25 i18n 2025-01-13 13:12:12 +01:00
Joffrey JAFFEUX
66ec74bf2b DEV: move to an ember component 2024-12-13 17:00:17 +01:00
Joffrey JAFFEUX
2915b265da simpler URL to allow usage in allowed_iframe 2024-12-07 17:54:14 +01:00
Joffrey JAFFEUX
29ba2fe436 first commit 2024-12-07 17:30:25 +01:00
Martin Brennan
429ac54d42
DEV: Add more placeholders (#36)
* TODO for the meta_topic_id
* TODO for the root plugin site setting key, so all settings don't end
  up in the Plugins category
* TODO for the translation of the plugin category name, which maps
  to the root plugin site setting key
2023-11-09 11:23:55 +10:00
Sérgio Saquetim
a8fbc36368
DEV: Sets the plugin_name_enabled flag to false (#32)
Plugins in general should be disabled by default, requiring an admin to explicitly enable them.
2023-08-02 17:44:21 -03:00
David Taylor
8421cf6d72
DEV: Add rails engine and file paths to skeleton (#29) 2023-02-24 13:00:01 +00:00
Vinoth Kannan
49035947ed
FIX: add placeholder locale to fix the broken translations issue. (#9) 2021-12-03 17:53:47 +05:30
Jarek Radosz
d1e55c9361 Update settings.yml 2021-04-05 14:19:51 +02:00
Jarek Radosz
dd64ef10a8 Initial commit 2021-04-03 02:30:09 +02:00