| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
currently used for placeholder purpose to mimic the asynchronization.Reason why I'm not using the task runner - might not be worth importing a new header if I'm removing it soon!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
past week" is not yet implemented yet. A "dispatch to main queue" isNit: s/`"not yet implemented yet"`/`"not implemented yet"`
currently used for placeholder purpose to mimic the asynchronization.Reason why I'm not using the task runner - might not be worth importing a new header if I'm removing it soon!
Ack!
- (void)presentPinSiteToMostVisitedTilesBubble {Other methods in this file [check](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/bubble/ui_bundled/bubble_presenter.mm;l=226-233?q=_readerModeOptionsBubblePresenter) `-canPresentBubble` and use `_layoutGuideCenter` before presenting. Should we do the same?
- (void)maybeDisplayIPH {Should you also early exit if the MVTs count is zero?
id<HelpCommands> helpHandler = self.helpHandler;Should you weakify `helpHandler`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +2 |
past week" is not yet implemented yet. A "dispatch to main queue" isNit: s/`"not yet implemented yet"`/`"not implemented yet"`
Done
Other methods in this file [check](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/bubble/ui_bundled/bubble_presenter.mm;l=226-233?q=_readerModeOptionsBubblePresenter) `-canPresentBubble` and use `_layoutGuideCenter` before presenting. Should we do the same?
I think the `_layoutGuideCenter` check is redundant - we can't guarantee it's onscreen just because the view is locatable, and only the Feed IPH bubbles are checking it. Added the `canPresentBubble`.
Should you also early exit if the MVTs count is zero?
That's in the next CL :) This one is just making sure that the bubble shows up at the right place.
Should you weakify `helpHandler`?
Pretty sure not - as the help handler doesn't own the block, retaining a strong reference in the block will not create a circular reference. The bubble presenter will take care of not showing this when the layout guide is invisible.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
10 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: ios/chrome/browser/bubble/ui_bundled/bubble_presenter.mm
Insertions: 3, Deletions: 0.
@@ -538,6 +538,9 @@
}
- (void)presentPinSiteToMostVisitedTilesBubble {
+ if (![self canPresentBubble]) {
+ return;
+ }
NSString* text = l10n_util::GetNSString(
IDS_IOS_CONTENT_SUGGESTIONS_PIN_SITE_IN_PRODUCT_HELP);
BubbleViewControllerPresenter* presenter = [self
```
[iOS][mvt-customization] Show in-product help for pin most visited site
This CL adds the UI that displays the IPH for MVT customization - adding
the strings and anchoring the bubble to the correct UI element.
The condition that "the user has visited the same site >= 3 times in the
past week" is not implemented yet. A "dispatch to main queue" is
currently used for placeholder purpose to mimic the asynchronization.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |