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

Add link to reports from detection submit modal #379

Merged
merged 11 commits into from
Apr 1, 2024

Conversation

mrose15
Copy link
Member

@mrose15 mrose15 commented Mar 27, 2024

This resolves #361 and potentially #240

Copy link
Member

@paulcretu paulcretu left a comment

Choose a reason for hiding this comment

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

Looks really nice!
image

Requesting some changes, really the only important one is the relative href

ui/src/components/Player/DetectionDialog.tsx Outdated Show resolved Hide resolved
ui/src/components/Player/DetectionDialog.tsx Show resolved Hide resolved
ui/src/components/Player/DetectionDialog.tsx Show resolved Hide resolved
ui/src/components/Player/DetectionDialog.tsx Outdated Show resolved Hide resolved
ui/src/components/Player/DetectionDialog.tsx Show resolved Hide resolved
ui/src/components/Player/DetectionDialog.tsx Outdated Show resolved Hide resolved
ui/src/components/Player/DetectionDialog.tsx Outdated Show resolved Hide resolved
@mrose15
Copy link
Member Author

mrose15 commented Mar 31, 2024

@paulcretu this is ready for another review

@paulcretu paulcretu temporarily deployed to orcasite-pr-379 April 1, 2024 21:55 Inactive
Copy link
Member

@paulcretu paulcretu left a comment

Choose a reason for hiding this comment

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

Thanks for the changes, looks great! I'll get it merged 🚀

Some other thoughts, not worth worrying about now but things we could do down the line:

  • Might be worth refactoring the markup into just two conditional blocks (submitted vs !submitted)
  • We could pull out the Dialog into a new modal component (include stuff like the close button by default) that we can re-use across the whole project
  • It would be good to setup linting and formatting as a Github action so it gets caught automatically

@paulcretu paulcretu changed the title Feature/thank you modal 361 Add link to reports from detection submit modal Apr 1, 2024
@paulcretu paulcretu linked an issue Apr 1, 2024 that may be closed by this pull request
@paulcretu paulcretu merged commit fad63c7 into orcasound:main Apr 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants