-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
feat: navigate to submissions page when clicked on the file icon in qr popup #1300
Conversation
@@ -74,7 +78,9 @@ const TaskSectionPopup = ({ taskId, body, feature }: TaskSectionPopupPropType) = | |||
<AssetModules.DescriptionOutlinedIcon | |||
style={{ width: '20px' }} | |||
className="hover:fmtm-text-primaryRed" | |||
onClick={() => {}} | |||
onClick={() => { | |||
navigate(`/project-submissions/MTAwMTExMTE=?tab=table&task_id=${taskId}`); |
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.
Is this navigating to a hardcoded project url?
Shouldn't it be dynamic based on the current project page, or am I missing something?
* fix customDataExtract: extract type option remove, naming changes * fix projectSliceType: projectInfo type update
Co-authored-by: sujanadh <sujanadh07@gmail.com>
Looks like a merge got bodged somewhere π
git checkout development
git pull
git checkout feat/qr-popup-icons
git rebase development |
@spwoodcock sorry for the mistake, I will proceed to do as you mentioned. |
This looks good, but still includes commits from other PRs somehow. Feel free to copy the code across to another PR if it helps π |
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.
see comment
@spwoodcock , I am closing this PR. I will make changes and push in another PR. |
What type of PR is this? (check all applicable)
Related Issue
Fixes #1243
Describe this PR
This PR enables us to navigate to the submissions page when clicked on the
QR-popup
file icon with thetaskId
filter on.Screenshots
Please provide screenshots of the change.
Checklist before requesting a review
[optional] What gif best describes this PR or how it makes you feel?