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

Hotfix for failing linking to project search #147

Merged
merged 11 commits into from
Jul 11, 2024

Conversation

ignapas
Copy link
Contributor

@ignapas ignapas commented Jun 26, 2024

@ignapas ignapas added the bug Something isn't working label Jun 26, 2024
@ignapas ignapas requested a review from egauzens June 26, 2024 14:49
@ignapas ignapas self-assigned this Jun 26, 2024
Copy link

cypress bot commented Jun 26, 2024

Passing run #168 ↗︎

0 77 1 0 Flakiness 0

Details:

Merge branch 'main' into project-filters-hotfix
Project: SPARC Vue3 Portal Testing Commit: 27451d5427
Status: Passed Duration: 17:17 💡
Started: Jul 11, 2024 10:55 AM Ended: Jul 11, 2024 11:13 AM

Review all test suite changes for PR #147 ↗︎

Copy link
Collaborator

@egauzens egauzens left a comment

Choose a reason for hiding this comment

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

Testing the changes locally, and this does not work. It still shows 11 results when navigating the the link /about/projects?consortiaType=SPARC&search=implantable&selectedProjectsAnatomicalFocusIds=Vagus

@ignapas
Copy link
Contributor Author

ignapas commented Jul 2, 2024

Testing the changes locally, and this does not work. It still shows 11 results when navigating the the link /about/projects?consortiaType=SPARC&search=implantable&selectedProjectsAnatomicalFocusIds=Vagus

I thought it was working, sorry... I made another change to avoid executing the consortiaType watcher when mounting

Screen.Recording.2024-07-02.at.13.58.13.mov

Note that I cannot load the home page...

@ignapas ignapas requested a review from egauzens July 2, 2024 13:01
Copy link
Collaborator

@egauzens egauzens left a comment

Choose a reason for hiding this comment

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

This breaks the consortia styling

@@ -680,7 +680,10 @@ export default {
const fileType = scope.row.fileType.toLowerCase()
const contentType = contentTypes[fileType]

const requestUrl = `${this.$config.public.portal_api}/download?s3BucketName=${s3BucketName}&key=${filePath}&contentType=${contentType}`
const requestUrl = new URL(this.$config.public.portal_api + '/download')
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you can revert these changes, they do not appear related

Copy link
Collaborator

Choose a reason for hiding this comment

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

please revert these changes

pages/about/projects/index.vue Show resolved Hide resolved
@ignapas ignapas requested a review from egauzens July 4, 2024 10:42
Copy link
Collaborator

@egauzens egauzens left a comment

Choose a reason for hiding this comment

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

Works!

@egauzens egauzens merged commit e442546 into nih-sparc:main Jul 11, 2024
2 checks passed
@egauzens egauzens deleted the project-filters-hotfix branch July 11, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants