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

fix bug with cmd+clicking the first cell in a boxed selection #1479

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

davidfig
Copy link
Collaborator

@davidfig davidfig commented Jun 26, 2024

Fixes #1478

To replicate:

  1. select multiple cells
  2. click cmd+click on the top-left cell

old behavior: crashes b/c of an exception
new behavior: properly selects that cell

Ideal behavior: unselects that cell (but this will require work)

Copy link

vercel bot commented Jun 26, 2024

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

Name Status Preview Updated (UTC)
quadratic ✅ Ready (Inspect) Visit Preview Jun 26, 2024 10:08pm

@cla-bot cla-bot bot added the cla-signed label Jun 26, 2024
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-1479 June 26, 2024 15:53 Inactive
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.54%. Comparing base (8805288) to head (adc5bc9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1479   +/-   ##
=======================================
  Coverage   90.54%   90.54%           
=======================================
  Files         178      178           
  Lines       32966    32966           
=======================================
  Hits        29849    29849           
  Misses       3117     3117           

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

Copy link
Contributor

@luke-quadratic luke-quadratic left a comment

Choose a reason for hiding this comment

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

fix works

@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-1479 June 26, 2024 21:56 Inactive
@davidkircos davidkircos merged commit f01cdf2 into main Jun 26, 2024
13 checks passed
@davidkircos davidkircos deleted the fix-selection-bug-first-cell-multicell branch June 26, 2024 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cmd select single cell + insert into Python breaks sheet
3 participants