-
Notifications
You must be signed in to change notification settings - Fork 3
feat: fold frontend dashboard into the monorepo #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jack482653
wants to merge
33
commits into
sciwork:main
Choose a base branch
from
jack482653:worktree-frontend-monorepo-integration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
b93a44d
docs: add frontend monorepo integration design spec
jack482653 41f9a6b
docs: add frontend monorepo integration implementation plan
jack482653 7bc1b71
feat: fold argus-dashboard into frontend/
jack482653 577c57d
feat: multi-stage Docker build for the frontend static export
jack482653 d77f6bd
ci: add frontend lint/build job
jack482653 9a9cdf1
feat: add GET /dashboard/api/me for frontend session bootstrap
jack482653 c9ce6e3
feat: serve the built frontend at /dashboard, retire two Jinja2 routes
jack482653 19420a2
feat(frontend): add API client and session auth-check hook
jack482653 3bb160d
feat(frontend): build the real event-list home page
jack482653 c28f882
feat(frontend): add event detail page with Recharts-based chart
jack482653 7235f8d
feat(frontend): add webhook logs page
jack482653 17b985f
fix(frontend): await reload() in webhook-logs handlers
jack482653 d80480a
feat(frontend): proxy API calls to the backend during next dev
jack482653 ee6d885
chore: fix ruff format drift in main.py
jack482653 ab8553c
fix(dashboard): serve Next's static events/* payload files before the…
jack482653 8cae131
feat(frontend): nav/logout, report+delete actions, error handling, sa…
jack482653 4fc82bc
chore: run frontend unit tests in CI, refresh docs, ignore built fron…
jack482653 61ea4c9
fix(frontend): target the backend origin for auth navigations in dev
jack482653 d897715
feat(frontend): dark OLED theme with indigo accent, card-based layout
jack482653 9ca7e7e
refactor(frontend): hoist the shared <main> wrapper into the root layout
jack482653 182904b
feat(frontend): add a reusable EmptyState component
jack482653 a4ccae6
feat(frontend): add expandable header/body view to webhook logs
jack482653 425462a
feat(frontend): show webhook log timestamps in Taipei time next to ID
jack482653 c91aaf6
fix(frontend): move webhook log Delete button back to the row
jack482653 739ea7d
style(frontend): pin webhook log pagination footer left/right
jack482653 3bd03ca
refactor(frontend): extract pagination footer into a shared component
jack482653 254c697
refactor(dashboard): remove the legacy /dashboard/events/{slug} route
jack482653 8de4c36
fix(frontend): stack webhook log rows into cards below tablet width
jack482653 52e05b7
fix(frontend): wrap webhook log Body summary instead of truncating
jack482653 eac02a7
fix(frontend): stack label above value in the mobile webhook log card
jack482653 32ad956
ci: add frontend LCOV coverage, uploaded to Codecov with a frontend flag
jack482653 2f81ac2
ci: run corepack enable after actions/setup-node
jack482653 46b126c
chore: drop docs/superpowers and the finished migrate-radix-to-base s…
jack482653 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,3 +7,6 @@ __pycache__ | |
| *.py[cod] | ||
| argus.db | ||
| *.db | ||
| frontend/node_modules | ||
| frontend/.next | ||
| frontend/out | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Frontend tests are run without coverage, so the current Codecov result only represents the backend. Since this PR adds most of its executable code under
frontend/, could we generate an LCOV report here and upload it with afrontendflag?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've generate an LCOV report here and upload it with a frontend flag (see commit 32ad956). CI confirms it: the upload log shows
--flag frontendfinding and uploadingfrontend/coverage/lcov.info, and the Codecov PR comment now lists frontend files under "Files with missing lines" (e.g.frontend/app/webhook-logs/page.tsx).