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

chore: adjust padding of ask ai panel #7287

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

L-Sun
Copy link
Contributor

@L-Sun L-Sun commented Jun 20, 2024

Copy link

graphite-app bot commented Jun 20, 2024

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

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

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
Contributor Author

L-Sun commented Jun 20, 2024

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

Join @L-Sun and the rest of your teammates on Graphite Graphite

@L-Sun L-Sun requested a review from fundon June 20, 2024 09:18
@L-Sun L-Sun marked this pull request as ready for review June 20, 2024 09:18
Copy link

nx-cloud bot commented Jun 20, 2024

Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.28%. Comparing base (e0c6d23) to head (b99e8b1).

Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #7287      +/-   ##
==========================================
- Coverage   58.32%   58.28%   -0.05%     
==========================================
  Files         838      838              
  Lines       36551    36551              
  Branches     3920     3919       -1     
==========================================
- Hits        21320    21302      -18     
- Misses      14938    14956      +18     
  Partials      293      293              
Flag Coverage Δ
server-test 77.44% <ø> (-0.09%) ⬇️
unittest 29.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

L-Sun added a commit to toeverything/blocksuite that referenced this pull request Jun 20, 2024
Related: [AF-928](https://linear.app/affine-design/issue/AF-928/ask-ai-出现在底部的时候-menu-弹出位置不对#comment-33f1e925)

Considering the space occupied by the scrollbar, adjust the padding of the menu to make it symmetric on both sides, which also ensure the correct pop-up position of the submenu.

The affected components include:
- Edgeless Mode Ask AI panel
- Slash Menu
- Page Mode Ask AI panel ( [PR on AFFiNE side](toeverything/AFFiNE#7287) )

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/760b8a25-4976-427c-882a-79bb80dc19f4.png)
@L-Sun L-Sun force-pushed the 06-20-chore_adjust_padding_of_ask_ai_panel branch from 8e08cf9 to 685ee59 Compare June 20, 2024 10:00
@graphite-app graphite-app bot requested review from EYHN and forehalo June 20, 2024 11:03
Copy link

graphite-app bot commented Jun 20, 2024

Merge activity

forehalo pushed a commit that referenced this pull request Jun 20, 2024
@forehalo forehalo force-pushed the 06-20-chore_adjust_padding_of_ask_ai_panel branch from 685ee59 to 9b92534 Compare June 20, 2024 11:12
@L-Sun L-Sun force-pushed the 06-20-chore_adjust_padding_of_ask_ai_panel branch from 9b92534 to b99e8b1 Compare June 20, 2024 11:20
@L-Sun L-Sun added the merge label Jun 20, 2024
@graphite-app graphite-app bot merged commit b99e8b1 into canary Jun 20, 2024
33 checks passed
@graphite-app graphite-app bot deleted the 06-20-chore_adjust_padding_of_ask_ai_panel branch June 20, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants