-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 Detail: Create the initial view #17088
Conversation
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
You can trigger an installable build for these changes by visiting CircleCI here. |
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 @dvdchr . Just a question about a bit of code that looks unused. Otherwise 👍 !
// MARK: - Localization | ||
|
||
private extension String { | ||
static let editBarButtonTitle = NSLocalizedString("Edit", comment: "Edits a Comment") |
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.
Is this needed?
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.
Nope. I forgot to clean it up. Thanks for noticing this! 😄 . Removed in ff524a7.
CommentViewController *vc = [CommentViewController new]; | ||
vc.comment = comment; | ||
Comment *comment = [self.tableViewHandler.resultsController objectAtIndexPath:indexPath]; | ||
UIViewController *detailViewController; |
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.
👍
Refs #17087
Summary
This adds the initial view for comment details, along with the feature flag. Some notes for review:
EditCommentTableViewController
component developed in Comments: add new Edit view #17000To test
Scenario 1: Ensure flow correctness with flag disabled
Scenario 2: The new detail screen should be reachable with flag enabled.
New Comment Details
feature flag.Regression Notes
Potential unintended areas of impact
Current comment details is not shown correctly when tapped from My Site > Comments.
What I did to test those areas of impact (or what existing automated tests I relied on)
Manually tested that the implementation is correct.
What automated tests I added (or what prevented me from doing so)
n/a, the feature is behind a disabled flag.
PR submission checklist:
RELEASE-NOTES.txt
if necessary.