-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Comment details menu redesign #20944
Comment details menu redesign #20944
Conversation
📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
|
Quality Gate passedIssues Measures |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/notifications_refresh_p2 #20944 +/- ##
=================================================================
Coverage 40.98% 40.98%
=================================================================
Files 1523 1523
Lines 69626 69626
Branches 11513 11515 +2
=================================================================
Hits 28534 28534
Misses 38504 38504
Partials 2588 2588 ☔ View full report in Codecov by Sentry. |
@@ -195,7 +195,9 @@ class NotificationsDetailListFragment : ListFragment(), NotificationFragment { | |||
this.footerView = footerView | |||
} | |||
|
|||
private val mOnNoteBlockTextClickListener = NoteBlockTextClickListener(this, notification, onActionClickListener) | |||
private val mOnNoteBlockTextClickListener by lazy { |
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.
onActionClickListener
is always null if we don't use by lazy
because we create mOnNoteBlockTextClickListener
when onActionClickListener
has not been set value.
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.
Awesome work @jarvislin 🏅
The code looks good and the app performed as described in my tests 🎉
5493500
into
feature/notifications_refresh_p2
Implements https://github.com/Automattic/wordpress-mobile/issues/44
This PR contains the implementations of the
Share
action andChange Status
action in the comment menu.To Test:
...
Share
buttonChange status
buttonRegression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR Submission Checklist:
skipped
Testing Checklist (strike-out the not-applying and unnecessary ones):
skipped