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: note height less than minimum height #8542

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

akumatus
Copy link
Member

@akumatus akumatus commented Oct 16, 2024

Fix issue BS-1615.

What changed?

  • Unify initialization height and minimum height
  • Update collapsedHeight after clamp bound height
  • Add e2e test

截屏2024-10-16 17.40.14.png

Copy link

vercel bot commented Oct 16, 2024

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

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 11:47am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2024 11:47am

Copy link

changeset-bot bot commented Oct 16, 2024

⚠️ No Changeset found

Latest commit: abcd2c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

graphite-app bot commented Oct 16, 2024

Your org has enabled the Graphite merge queue for merging into master

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @akumatus and the rest of your teammates on Graphite Graphite

Copy link

nx-cloud bot commented Oct 16, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit abcd2c6. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link
Contributor

github-actions bot commented Oct 16, 2024

size-limit report 📦

Path Size
@blocksuite/affine 13 B (0%)
@blocksuite/affine/effects 2.06 MB (-0.01% 🔽)
@blocksuite/affine/block-std 154.56 KB (0%)
@blocksuite/affine/block-std/gfx 77.47 KB (0%)
@blocksuite/affine/global 13 B (0%)
@blocksuite/affine/global/utils 13.82 KB (0%)
@blocksuite/affine/global/env 210 B (0%)
@blocksuite/affine/global/exceptions 552 B (0%)
@blocksuite/affine/global/di 1.65 KB (0%)
@blocksuite/affine/global/types 13 B (0%)
@blocksuite/affine/store 78.57 KB (0%)
@blocksuite/affine/inline 32.11 KB (0%)
@blocksuite/affine/inline/consts 51 B (0%)
@blocksuite/affine/inline/types 13 B (0%)
@blocksuite/affine/presets 1.86 MB (+0.05% 🔺)
@blocksuite/affine/blocks 1.95 MB (+0.05% 🔺)
@blocksuite/affine/blocks/schemas 87.62 KB (0%)

Copy link
Collaborator

@Saul-Mirone Saul-Mirone left a comment

Choose a reason for hiding this comment

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

LGTM 💯

Copy link
Collaborator

Saul-Mirone commented Oct 16, 2024

Merge activity

  • Oct 16, 7:45 AM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Oct 16, 7:45 AM EDT: A user added this pull request to the Graphite merge queue.
  • Oct 16, 7:49 AM EDT: A user merged this pull request with the Graphite merge queue.

Fix issue [BS-1615](https://linear.app/affine-design/issue/BS-1615).

### What changed?
- Unify initialization height and minimum height
- Update `collapsedHeight` after clamp bound height
- Add e2e test

![截屏2024-10-16 17.40.14.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/009d0ce5-31ca-49c1-ba73-7f014493bc68.png)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

2 participants