feat: APP-887 Change "edit project" on project page#2812
feat: APP-887 Change "edit project" on project page#2812alexander-astrand wants to merge 3 commits intodevfrom
Conversation
✅ Deploy Preview for terrasos ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR changes the "edit project" button on the project page to say "manage project" and redirects to the manage page (/dashboard/projects/{id}/manage) instead of the old edit page (/project-pages/{id}/edit/basic-info).
Changes:
- Added a new
MANAGE_PROJECTi18n constant and replacedEDIT_PROJECTusage in bothSellOrdersActionsBarcomponents. - Updated the navigation target from
/project-pages/{id}/edit/basic-infoto/dashboard/projects/{id}/managein both the Next.js and legacy React Router versions of the component.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
web-marketplace/src/legacy-pages/ProjectEdit/ProjectEdit.constants.ts |
Adds new MANAGE_PROJECT i18n constant |
web-marketplace/src/components/organisms/SellOrdersActionsBar/SellOrdersActionsBar.tsx |
Updates button text and route to manage page (Next.js version) |
web-marketplace/src/components/organisms/SellOrdersActionsBar/SellOrdersActionsBar.legacy.tsx |
Updates button text and route to manage page (legacy React Router version) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ec689e4111
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses an improvement to the project page by updating the 'Edit Project' button. The button's text has been changed to 'Manage Project', and its associated navigation link now directs users to a dedicated 'manage' dashboard page, streamlining the user experience for project administration. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request successfully implements the feature described in the title, changing the 'edit project' button to 'manage project' and updating the corresponding navigation paths. The changes are consistently applied across the relevant files, including the import statements, button text, and routing logic. A new constant MANAGE_PROJECT has been introduced to support this change.
|
@erikalogie @S4mmyb See testing instructions. |
web-marketplace/src/components/organisms/SellOrdersActionsBar/SellOrdersActionsBar.legacy.tsx
Outdated
Show resolved
Hide resolved
f0fb703 to
5af01f1
Compare
@erikalogie you can have another look |

Description
https://regennetwork.atlassian.net/browse/APP-887
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
How to test
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...