Commit Graph
64 Commits
Author SHA1 Message Date
Rafael Silva 34973acc55 PERF: Load reports async 2025-11-26 15:12:59 -03:00
Kris bdbac80063 UX: revert to emoji card backs (#30)
didn't get permission to use the classic solitaire images, so I switched
to some retro emoji!

<img width="717" height="219" alt="image"
src="https://github.com/user-attachments/assets/4c95da4f-dbbb-4bcb-8f4b-2e13ed287320"
/>
2025-11-24 09:38:52 -05: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. `:joy:`) 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
Jarek Radosz cdf6f0d0e7 DEV: Update linting (#23) 2025-10-09 13:53:37 +01:00
Jarek Radosz 4b621412ba DEV: Update linting config and run gjs-codemod (#18) 2025-06-05 11:39:18 +01:00
David Taylor e090efa809 DEV: Bump dependencies and fix linting (#11) 2025-02-06 19:43:34 +01:00
Jordan Vidrine b3f205375a UX: Text & width adjustments (#9) 2025-01-22 12:23:40 -03:00
Rafael dos Santos Silva 19af3cb107 Merge pull request #7 from jjaffeux/category-links
UX: Match category cards with tag cards
2025-01-15 09:45:32 -03:00
Jordan Vidrine d669a39a00 UX: Make card clickable link 2025-01-14 15:55:14 -06:00
Jordan Vidrine ff72e3ed37 UX: Adjust styles for long words 2025-01-14 11:30:13 -06:00
Jordan Vidrine 2398ab4fe6 Merge branch 'main' of https://github.com/jjaffeux/discourse-rewind into main 2025-01-14 11:02:12 -06:00
Jordan Vidrine 951a405c4c UX: Simplify hours and minutes shown 2025-01-14 11:02:03 -06:00
Jordan VidrineandJoffrey JAFFEUX 2e8e292b01 UX: More books styling (#4)
Allows to style books as series

---------

Co-authored-by: Joffrey JAFFEUX <[email protected]>
2025-01-14 17:49:57 +01:00
Jordan Vidrine a42428442f more 2025-01-13 13:49:26 -06:00
Joffrey JAFFEUX f88ab32434 linting 2025-01-13 18:13:24 +01:00
Jordan Vidrine 535aeba9fa more 2025-01-13 10:48:23 -06:00
Joffrey JAFFEUX d02e4bd5d2 removes log 2025-01-13 17:01:02 +01:00
Joffrey JAFFEUX 6bd637b7b0 fixes 2025-01-13 17:00:32 +01:00
Joffrey JAFFEUX 3049646b65 favorite categories/tags 2025-01-13 14:40:07 +01: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
Jordan Vidrine 27b3547bbe hand off to joffrey 2025-01-10 21:08:47 -06:00
Jordan Vidrine 7dc6b55b85 fbff 2025-01-10 17:02:27 -06:00
Jordan Vidrine 412a126e22 more solid styling choices 2025-01-10 14:26:35 -06:00
Jordan Vidrine 1aa62c5760 more testing 2025-01-10 08:23:31 -06:00
Joffrey JAFFEUX 2f7cd88bf2 more reports and fake data 2025-01-09 17:55:58 +01:00
Joffrey JAFFEUX 88d928c315 fake data 2025-01-09 16:52:32 +01:00
Jordan Vidrine d970dbba68 edits 2025-01-09 09:27:58 -06:00
Jordan Vidrine 2e4343fff4 latest 2025-01-09 09:18:46 -06:00
Jordan Vidrine d32072e974 books 2025-01-08 15:11:42 -06:00
Joffrey JAFFEUX 90a03dec31 create kitchen sink spec for fake data 2025-01-07 23:26:17 +01:00
Jordan Vidrine 80210f11d2 styles and animation aditions 2025-01-06 15:04:58 -06:00
Jordan Vidrine 5e7daba027 styling: 2025-01-06 11:53:18 -06:00
Jordan Vidrine 4d7aad782d fonts 2025-01-03 20:20:20 -06:00
Jordan Vidrine 6c4142b4d4 better card flip 2025-01-03 20:03:03 -06:00
Jordan Vidrine 4f381a5da7 loading kind of works 2025-01-03 17:04:03 -06:00
Jordan Vidrine 4a996e6c80 animation, need to figure out how to preload images 2025-01-03 16:56:49 -06:00
Jordan Vidrine c04ca33c1d animation 2025-01-03 16:51:46 -06:00
Jordan Vidrine a36c61c92c animations 2025-01-03 11:44:06 -06:00
Jordan Vidrine 72b5ab50c5 merge 2025-01-03 10:50:18 -06:00
Jordan Vidrine 5e2fce3fde class names 2025-01-03 10:49:43 -06:00
Joffrey JAFFEUX 39dcfc159d Merge branch 'main' of https://github.com/jjaffeux/discourse-rewind 2025-01-03 17:43:09 +01:00
Joffrey JAFFEUX f28f894b97 favorite tags/categories 2025-01-03 17:43:02 +01:00
Jordan Vidrine d0f813207b Merge branch 'main' of https://github.com/jjaffeux/discourse-rewind into main 2025-01-03 10:40:24 -06:00
Jordan Vidrine bf79dc2512 parallax works : ) 2025-01-03 10:40:06 -06:00
Joffrey JAFFEUX 9847ecfe6e bests posts/topics 2025-01-03 17:25:18 +01:00
Joffrey JAFFEUX 0ef77503de clean 2025-01-03 17:12:19 +01:00
Joffrey JAFFEUX e9e6d80eac simple word cloud 2025-01-03 17:11:20 +01:00