Skip to content
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

Closed
wants to merge 8 commits into from

Conversation

Prajwalism
Copy link
Contributor

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation Update
  • 🎨 Style
  • πŸ§‘β€πŸ’» Code Refactor
  • πŸ”₯ Performance Improvements
  • βœ… Test
  • πŸ€– Build
  • πŸ” CI
  • πŸ“¦ Chore (Release)
  • ⏩ Revert

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 the taskId 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?

@github-actions github-actions bot added the frontend Related to frontend code label Feb 29, 2024
@@ -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}`);
Copy link
Member

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?

@spwoodcock
Copy link
Member

Looks like a merge got bodged somewhere πŸ˜„
I would either:

  • Copy your changes out somewhere, reset this branch, then copy them back in and force push.
  • Rebase this branch with development:
git checkout development
git pull
git checkout feat/qr-popup-icons
git rebase development

@Prajwalism
Copy link
Contributor Author

@spwoodcock sorry for the mistake, I will proceed to do as you mentioned.

@spwoodcock spwoodcock self-requested a review March 4, 2024 17:14
@spwoodcock
Copy link
Member

This looks good, but still includes commits from other PRs somehow.
E.g. 9cacda1

Feel free to copy the code across to another PR if it helps πŸ˜„

Copy link
Member

@spwoodcock spwoodcock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment

@NSUWAL123
Copy link
Contributor

@spwoodcock , I am closing this PR. I will make changes and push in another PR.

@NSUWAL123 NSUWAL123 closed this Mar 7, 2024
@spwoodcock spwoodcock deleted the feat/qr-popup-icons branch March 7, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code frontend Related to frontend code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues on QR pop up
5 participants