feat: request log analytics #615

Closed
opened 2026-04-05 17:27:26 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Fredkiss3 on 11/19/2025

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Main changes:

  • Request logs analytics page showing analytics grouped by countries and also grouped by day
  • Also translated the sidebar headings (they weren't before)
  • Added an endpoint for getting all resource names, this is what is shown in the resource filter of the analytics page

Other changes:

  • log postgres DB queries in DEV
  • Added a component TailwindIndicator for showing the current breakpoint and screen width, this component is only shown in DEV
  • Added react compiler for quick and easy perf wins
  • Updated the set:pg & set:sqlite scripts to also export a driver variable:
    // server/db/index.ts
    export * from "./pg";
    export const driver: "pg" | "sqlite" = "pg";
    

Screenshots

- -
Analytics page chart Screenshot 2025-11-21 at 06 01 57
Analytics page contries Screenshot 2025-11-21 at 06 02 58
Tailwind Indicator image
*Originally created by @Fredkiss3 on 11/19/2025* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description **Main changes:** - Request logs analytics page showing analytics grouped by countries and also grouped by day - Also translated the sidebar headings (they weren't before) - Added an endpoint for getting all resource names, this is what is shown in the resource filter of the analytics page **Other changes:** - log postgres DB queries in DEV - Added a component `TailwindIndicator` for showing the current breakpoint and screen width, this component is only shown in DEV - Added react compiler for quick and easy perf wins - Updated the `set:pg` & `set:sqlite` scripts to also export a `driver` variable: ```ts // server/db/index.ts export * from "./pg"; export const driver: "pg" | "sqlite" = "pg"; ``` ## Screenshots | - | - | | ------ | ------ | | Analytics page chart | <img width="1868" height="1159" alt="Screenshot 2025-11-21 at 06 01 57" src="https://github.com/user-attachments/assets/bf21e282-0d57-4b3c-9bf7-e667f93495b0" /> | | Analytics page contries | <img width="1868" height="1159" alt="Screenshot 2025-11-21 at 06 02 58" src="https://github.com/user-attachments/assets/275b13f0-b3b4-4d4d-971a-fcbfbb4e1ddc" /> | | Tailwind Indicator | <img width="200" height="101" alt="image" src="https://github.com/user-attachments/assets/eb8c2aa4-e826-4698-9416-ab5341875d2f" /> |
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#615