-
Notifications
You must be signed in to change notification settings - Fork 55
fix: shadow clipped for notification #1069
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
Conversation
Increase window's width to prevent shadows from being clipped. pms: BUG-304379 BUG-300509
Reviewer's Guide by SourceryThis pull request addresses shadow clipping issues in the notification bubble by increasing the window width and adjusting margins. It also modifies the crystal color values to use a solid color and adjusts the shadow offset for the notification background. Updated class diagram for NotifyItemBackgroundclassDiagram
class NotifyItemBackground {
-shadowOffsetY: int
}
note for NotifyItemBackground "shadowOffsetY changed from 6 to 8"
Updated class diagram for Window in main.qmlclassDiagram
class Window {
-width: int
}
note for Window "width changed from 380 to 390"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review代码审查意见:
总体来说,这些改动看起来是为了调整UI组件的布局和视觉效果,但需要确保这些改动不会影响现有的功能和用户体验。建议在合并这些改动之前进行充分的测试,并确保所有相关组件和样式都得到了适当的调整。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @18202781743 - I've reviewed your changes - here's some feedback:
Overall Comments:
- The changes to NotifyItemContent.qml and SettingActionButton.qml include commented-out code; please remove this before merging.
- The change to NotifyItemBackground.qml increases shadowOffsetY; consider if this value should be a named constant.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, mhduiy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/forcemerge |
|
This pr force merged! (status: blocked) |
Increase window's width to prevent shadows from being clipped.
pms: BUG-304379 BUG-300509
Summary by Sourcery
Improve notification panel visual appearance and prevent shadow clipping by adjusting window dimensions and shadow properties
Bug Fixes:
Enhancements: