Skip to content

Conversation

@martin-brennan
Copy link
Contributor

@martin-brennan martin-brennan commented Sep 3, 2025

Add specs for the following reports:

  • Reading time
  • Activity calendar
  • Best posts
  • Best topics
  • Top words
  • Most viewed tags
  • Most viewed categories

Did some minor UI and ruby refactors for related components.

Also made a minor change to the Activity calendar, to show a title based on the number of posts or if the user was active on hover.

Still missing specs for:

  • Reactions
  • FBFF

And the newly added reports that don't yet have UI components.

@martin-brennan martin-brennan changed the title dev/adding specs and refactors DEV: Adding specs and refactors Sep 3, 2025
Return an array of hashes instead of an array of arrays, this simplifies
the component too. Also, remove unnecessary htmlSafe in the component.
@martin-brennan martin-brennan force-pushed the dev/adding-specs-and-refactors branch from e1c745b to 31cef0d Compare September 3, 2025 14:53
Also make it so we limit the amount of words returned
on the server, no point returning 100 to the client
and slicing.
@martin-brennan martin-brennan force-pushed the dev/adding-specs-and-refactors branch from eb98d91 to 87303b5 Compare November 27, 2025 05:41
Made a simpler best_book_fit method that still
works the way we want it to
@martin-brennan martin-brennan marked this pull request as ready for review November 27, 2025 06:15
@martin-brennan martin-brennan force-pushed the dev/adding-specs-and-refactors branch from b77d53c to 6dcdd52 Compare November 27, 2025 06:32
@martin-brennan martin-brennan force-pushed the dev/adding-specs-and-refactors branch from 6dcdd52 to dd10012 Compare November 27, 2025 06:56
@martin-brennan martin-brennan merged commit 26a77d4 into main Dec 1, 2025
4 checks passed
@martin-brennan martin-brennan deleted the dev/adding-specs-and-refactors branch December 1, 2025 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants