Adithya - Fix Edit Existing Team Button#4458
Merged
one-community merged 6 commits intodevelopmentfrom Mar 21, 2026
Merged
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Contributor
beblicarl
previously approved these changes
Jan 15, 2026
|
Member
|
Thank you all, merging! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.






Description
Fixes the "Edit Existing Team" redirect issue on the Building Management Dashboard. Previously, clicking "Edit Existing Team" redirected the user to the main dashboard or a global list, causing confusion.
This PR implements a dedicated
ProjectTeamsview that:Related PRS (if any):
This frontend PR utilizes existing backend endpoints. No new backend PR is required.
Main changes explained:
ProjectTeams.jsxto render the building-specific team list.getAllUserTeams) to map Team IDs to readable names and statuses.CreateNewTeamPopupto handle team updates.How to test:
Checkout the current branch.
Run
npm installandnpm start.Clear site data/cache.
Log in as an Owner or Admin.
Navigate to BM Dashboard -> Select a Building (e.g., Building 1). http://localhost:5173/bmdashboard
Click the "Edit Existing Team" icon/button.
Verify the following:
Verify this new feature works in dark mode.
Screenshots or videos of changes:
Note:
While implementing this, I discovered that the main dashboard's "Members working on site" table currently displays hardcoded dummy data. This PR ensures the new edit view displays real data from the database, creating a temporary discrepancy with the main dashboard (which I have proposed a separate Action Item to fix).