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

HS-968801 - Fix note filter #777

Merged
merged 7 commits into from
Jul 21, 2023
Merged

HS-968801 - Fix note filter #777

merged 7 commits into from
Jul 21, 2023

Conversation

wrandall22
Copy link
Contributor

@wrandall22 wrandall22 commented Jul 17, 2023

I imagine this will need some more work, but it is what I could get figured out today.

Helpscout

The search notes filter is currently throwing errors, so Shelby made a fix to the API which changes the shape of the GraphQL query. I have tested this on the contacts page locally, both as a saved filter and not-saved filter. The changes to FilterPanel lines 640-642 were purely for the test's benefits, this code was not reached during my testing on the site. It makes me curious if there are some improper assumptions somewhere, or if there is another way to reach that code.

@wrandall22 wrandall22 requested a review from dr-bizz July 17, 2023 20:54
@wrandall22
Copy link
Contributor Author

I think the typescript check is failing because the API changes aren't yet in production.

@aws-amplify-us-east-1
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-777.d3dytjb8adxkk5.amplifyapp.com

Copy link
Contributor

@dr-bizz dr-bizz left a comment

Choose a reason for hiding this comment

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

I have reviewed the code, made some changes, but it looks great. I'm going to merge this into staging to ensure it's working with Shelby's new API changes.

@dr-bizz dr-bizz self-requested a review July 20, 2023 20:17
@wrandall22
Copy link
Contributor Author

Does it work ok on the PGA report?

@dr-bizz
Copy link
Contributor

dr-bizz commented Jul 20, 2023

Does it work ok on the PGA report?

Good catch. It's no longer producing an error, but it doesn't filter the contacts on Notes like the other filters.

@dr-bizz
Copy link
Contributor

dr-bizz commented Jul 21, 2023

Seems like a bigger issue. A few filters on PGA report don't work. I'm looking into fixing this on this PR.

@dr-bizz dr-bizz merged commit 46f3237 into main Jul 21, 2023
15 checks passed
@dr-bizz dr-bizz deleted the HS-968801-fix-note-filter branch July 21, 2023 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants