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

Search dialog triggers when manually changing sheets #1990

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

davidfig
Copy link
Collaborator

@davidfig davidfig commented Oct 24, 2024

closes #1989

When searching on one sheet, if you manually change sheets, then the search dialog will search that sheet with the same options. When searching all sheets, then the behavior is the same as before.

Copy link

qa-wolf bot commented Oct 24, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@davidfig davidfig self-assigned this Oct 24, 2024
@cla-bot cla-bot bot added the cla-signed label Oct 24, 2024
Copy link

vercel bot commented Oct 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quadratic ✅ Ready (Inspect) Visit Preview Oct 24, 2024 11:43am

@davidfig davidfig added QA bug exists in QA branch, not prod and removed cla-signed labels Oct 24, 2024
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-1990 October 24, 2024 11:31 Inactive
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.96%. Comparing base (abe2883) to head (061bcb2).
Report is 183 commits behind head on qa.

Additional details and impacted files
@@           Coverage Diff           @@
##               qa    #1990   +/-   ##
=======================================
  Coverage   90.96%   90.96%           
=======================================
  Files         250      250           
  Lines       56531    56531           
=======================================
  Hits        51422    51422           
  Misses       5109     5109           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

found.map((found) => ({ x: Number(found.x), y: Number(found.y), sheetId: found.sheet_id.id }), 0)
);
return;
const onChange = useCallback(
Copy link
Collaborator

Choose a reason for hiding this comment

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

GH should be better at diffs. Nothing changed here except moving the function signature down a line.

setResults([]);
events.emit('search');
},
[searchOptions]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems to be the only addition

Copy link
Collaborator

@davidkircos davidkircos left a comment

Choose a reason for hiding this comment

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

lgtm!

@davidkircos davidkircos merged commit 3fb7db0 into qa Nov 5, 2024
16 checks passed
@davidkircos davidkircos deleted the find-dialog-sheets branch November 5, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA bug exists in QA branch, not prod status: ready for user test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing sheets does not reset the Find dialog
3 participants