[PR #366] [MERGED] Add /team-activity route, TeamActivityPage, and wire Team Huddle CTA to useNavigate #670

Closed
opened 2026-03-13 21:02:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AJaySi/ALwrity/pull/366
Author: @AJaySi
Created: 3/2/2026
Status: Merged
Merged: 3/3/2026
Merged by: @AJaySi

Base: mainHead: codex/replace-text-with-semantic-button-using-navigate


📝 Commits (1)

  • ef55124 Add team activity page and dashboard navigation

📊 Changes

3 files changed (+129 additions, -1 deletions)

View changed files

📝 frontend/src/App.tsx (+2 -0)
📝 frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx (+18 -1)
frontend/src/pages/TeamActivityPage.tsx (+109 -0)

📄 Description

Motivation

  • Make the Team Huddle widget's CTA semantic and navigable so users can open a dedicated team activity view using client-side routing.
  • Provide a primary place (/team-activity) to surface active runs, timeline events, alerts, and approvals that require action.

Description

  • Updated frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx to import useNavigate, call const navigate = useNavigate(), and replace the text-only CTA with a semantic button-like element that calls navigate('/team-activity') on click.
  • Added a protected route in frontend/src/App.tsx by importing TeamActivityPage and registering Route path="/team-activity" element={<ProtectedRoute><TeamActivityPage /></ProtectedRoute>} />.
  • Created frontend/src/pages/TeamActivityPage.tsx which renders mock-driven sections for active runs, an event timeline, alerts, and approvals requiring action.

Testing

  • Ran CI=true npm test -- --watch=false --passWithNoTests, which failed due to an existing Jest/ESM parsing issue with axios in the test environment (unrelated to these UI changes).
  • Attempted npm run build, which started the build but did not complete within the session capture, so final build status is not available.
  • Ran npx tsc --noEmit, which was initiated but did not return a completed result in this environment.
  • Started the dev server with npm start and attempted a Playwright screenshot of http://127.0.0.1:3000/team-activity, but the browser tooling timed out before capturing the page.

Codex Task


🔄 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/AJaySi/ALwrity/pull/366 **Author:** [@AJaySi](https://github.com/AJaySi) **Created:** 3/2/2026 **Status:** ✅ Merged **Merged:** 3/3/2026 **Merged by:** [@AJaySi](https://github.com/AJaySi) **Base:** `main` ← **Head:** `codex/replace-text-with-semantic-button-using-navigate` --- ### 📝 Commits (1) - [`ef55124`](https://github.com/AJaySi/ALwrity/commit/ef55124a56a91e3289cdf71b622abbc808035e55) Add team activity page and dashboard navigation ### 📊 Changes **3 files changed** (+129 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/App.tsx` (+2 -0) 📝 `frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx` (+18 -1) ➕ `frontend/src/pages/TeamActivityPage.tsx` (+109 -0) </details> ### 📄 Description ### Motivation - Make the Team Huddle widget's CTA semantic and navigable so users can open a dedicated team activity view using client-side routing. - Provide a primary place (`/team-activity`) to surface active runs, timeline events, alerts, and approvals that require action. ### Description - Updated `frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx` to import `useNavigate`, call `const navigate = useNavigate()`, and replace the text-only CTA with a semantic `button`-like element that calls `navigate('/team-activity')` on click. - Added a protected route in `frontend/src/App.tsx` by importing `TeamActivityPage` and registering `Route path="/team-activity" element={<ProtectedRoute><TeamActivityPage /></ProtectedRoute>} />`. - Created `frontend/src/pages/TeamActivityPage.tsx` which renders mock-driven sections for active runs, an event timeline, alerts, and approvals requiring action. ### Testing - Ran `CI=true npm test -- --watch=false --passWithNoTests`, which failed due to an existing Jest/ESM parsing issue with `axios` in the test environment (unrelated to these UI changes). - Attempted `npm run build`, which started the build but did not complete within the session capture, so final build status is not available. - Ran `npx tsc --noEmit`, which was initiated but did not return a completed result in this environment. - Started the dev server with `npm start` and attempted a Playwright screenshot of `http://127.0.0.1:3000/team-activity`, but the browser tooling timed out before capturing the page. ------ [Codex Task](https://chatgpt.com/codex/tasks/task_e_69a5b386931c8328ad19da106199a5d3) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-13 21:02:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ALwrity#670
No description provided.