[PR #3117] [MERGED] feat: Show a loading animation on http request logs table #20456

Closed
opened 2026-05-21 22:06:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/3117
Author: @Fredkiss3
Created: 5/20/2026
Status: Merged
Merged: 5/22/2026
Merged by: @oschwartz10612

Base: devHead: refactor/loading-animation-on-request-logs


📝 Commits (10+)

  • 8127496 🚧 refactor
  • c500979 Merge branch 'dev' into refactor/loading-animation-on-request-logs
  • 67fb2be Merge branch 'dev' into refactor/loading-animation-on-request-logs
  • 1dfb340 ♻️ use react query for fetching instead of useEfffect
  • a163cc3 💄 show loading animation on http request logs table
  • 5efcd44 Merge branch 'dev' into refactor/loading-animation-on-request-logs
  • c1b8dfc ♻️ refactor
  • 21a1447 Add access react query
  • 5bf8b33 ♻️ useQuery for fetching access logs
  • 2b46e8e ♻️ use useQuery for network action logs

📊 Changes

7 files changed (+750 additions, -868 deletions)

View changed files

📝 messages/en-US.json (+1 -0)
📝 src/app/[orgId]/settings/logs/access/page.tsx (+124 -221)
📝 src/app/[orgId]/settings/logs/action/page.tsx (+108 -202)
📝 src/app/[orgId]/settings/logs/connection/page.tsx (+133 -248)
📝 src/app/[orgId]/settings/logs/request/page.tsx (+134 -189)
📝 src/components/LogDataTable.tsx (+15 -1)
📝 src/lib/queries.ts (+235 -7)

📄 Description

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.

Summary

This table may have lots of data and it should show an animation when first loading if the data is taking some amount of time instead of nothing.

Screenshots

Name Screenshot
Http request logs
Admin audit logs Screenshot 2026-05-21 at 23 23 13
Network logs Screenshot 2026-05-21 at 23 26 09
Authentication logs Screenshot 2026-05-21 at 23 01 03

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/pangolin/pull/3117 **Author:** [@Fredkiss3](https://github.com/Fredkiss3) **Created:** 5/20/2026 **Status:** ✅ Merged **Merged:** 5/22/2026 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `refactor/loading-animation-on-request-logs` --- ### 📝 Commits (10+) - [`8127496`](https://github.com/fosrl/pangolin/commit/81274960f67164b8d82d24237be80ace045396cd) 🚧 refactor - [`c500979`](https://github.com/fosrl/pangolin/commit/c500979099fa735cc02409a18e63895d60a1590f) Merge branch 'dev' into refactor/loading-animation-on-request-logs - [`67fb2be`](https://github.com/fosrl/pangolin/commit/67fb2beba18d1f84a61020a6d878aab6449041a7) Merge branch 'dev' into refactor/loading-animation-on-request-logs - [`1dfb340`](https://github.com/fosrl/pangolin/commit/1dfb3408e8cd2c09e1ee56252c1e3663d5063375) ♻️ use react query for fetching instead of `useEfffect` - [`a163cc3`](https://github.com/fosrl/pangolin/commit/a163cc3678a5c71cbfb59a42cefe457b38762567) 💄 show loading animation on http request logs table - [`5efcd44`](https://github.com/fosrl/pangolin/commit/5efcd4479a6f1e5252d6bc80fcc59007045a7370) Merge branch 'dev' into refactor/loading-animation-on-request-logs - [`c1b8dfc`](https://github.com/fosrl/pangolin/commit/c1b8dfc8634422fb789d2f7bceafdb1c156285e7) ♻️ refactor - [`21a1447`](https://github.com/fosrl/pangolin/commit/21a144753dcc4a96409a4d6d951d9137cf09f2e1) ✨ Add `access` react query - [`5bf8b33`](https://github.com/fosrl/pangolin/commit/5bf8b336c50b27c9578828846a372a103678751e) ♻️ useQuery for fetching access logs - [`2b46e8e`](https://github.com/fosrl/pangolin/commit/2b46e8eaba29c3751f81582693a63302ab6027fc) ♻️ use useQuery for network action logs ### 📊 Changes **7 files changed** (+750 additions, -868 deletions) <details> <summary>View changed files</summary> 📝 `messages/en-US.json` (+1 -0) 📝 `src/app/[orgId]/settings/logs/access/page.tsx` (+124 -221) 📝 `src/app/[orgId]/settings/logs/action/page.tsx` (+108 -202) 📝 `src/app/[orgId]/settings/logs/connection/page.tsx` (+133 -248) 📝 `src/app/[orgId]/settings/logs/request/page.tsx` (+134 -189) 📝 `src/components/LogDataTable.tsx` (+15 -1) 📝 `src/lib/queries.ts` (+235 -7) </details> ### 📄 Description ## 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. ## Summary This table may have lots of data and it should show an animation when first loading if the data is taking some amount of time instead of nothing. ## Screenshots | Name | Screenshot | |---|---| | Http request logs | <video src="https://github.com/user-attachments/assets/2b6bbed3-6c4c-4581-9443-bb8d0a911b96"></video> | | Admin audit logs | <img width="1469" height="1061" alt="Screenshot 2026-05-21 at 23 23 13" src="https://github.com/user-attachments/assets/8d107942-65d6-429c-b329-28e582ebaac6" /> | | Network logs | <img width="1469" height="1061" alt="Screenshot 2026-05-21 at 23 26 09" src="https://github.com/user-attachments/assets/c52799ae-9d28-4a20-a2b7-d5a32b38f996" /> | | Authentication logs | <img width="1469" height="1061" alt="Screenshot 2026-05-21 at 23 01 03" src="https://github.com/user-attachments/assets/7090f222-1014-4c44-87a7-12d8f088cf89" /> | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-21 22:06:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#20456