-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
No Taskcluster jobs started for this pull requestThe `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request. |
Can a reviewer tell me if this is a correct way to introduce new strings ? As both chats fenix an l10n in chat.mozilla.org couldn't tell me if I should push it 1st on l10n or fenix project. |
All new string resources are to be added only in Fenix |
Ok, so I should only set in |
Once the PR is merged with the changes in |
We probably want to check with Product/UX before proceeding. |
I thought that the interface modification was not that important, but ok. Should I contact them, fill an issue/a form or they will pass on their own ? |
@topotropic or @vesta0 Any thoughts on this? |
According to this documentation an engineer should contact the designer (desk or slack). |
Force-push to rebase PR onto main branch. Any update about this UX review ? |
Talked to product managers about this PR, the request is to implement telemetry as part of this change. @gabrielluong or @Mugurell here's the Jira ticket: https://mozilla-hub.atlassian.net/browse/FNXV2-17873 for the change. Do you think you can take on this or mentor/guide @Taknok to implement? |
Thank you for your quick response. I cannot access the jira ticket, thus I cannot see what is asked. What should be implemented in the telemetry ? Create a special entry ? Count all tabs opened ? Just register one count even if multiples are opened ? |
The request is to register one count if a user selects the "Open All Bookmarks" action. |
Can I link "Open all" from the overflow menu (this PR) to the event To sum up: |
I think we should make a new Event for open all, just so we can differentiate. What do you think @Taknok? |
e.g. |
Here is the metric with Glean. |
Force-push to rebase PR onto main branch. Any update about this ? |
Force-push to rebase PR onto main branch. Any update about this ? |
This pull request has conflicts when rebasing. Could you fix it @Taknok? 🙏 |
Fixed & force-push to rebase PR onto main branch. |
This pull request has conflicts when rebasing. Could you fix it @Taknok? 🙏 |
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 on this with cool functionality, telemetry, unit and ui tests 👍!
I think there is only one blocking issue: the new option to open all bookmarks should not appear if there are no bookmarks in the folder.
There are also some open questions which might be addressed in followup tickets:
- Whether we should have two new folder options: "Open all in new tabs" and "Open all in private tabs" and a confirmation on the strings.
- Whether we should show a warning dialog before opening a large number of tabs.
app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkController.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkController.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkItemMenu.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkItemMenu.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkItemMenu.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkItemMenu.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkFragment.kt
Outdated
Show resolved
Hide resolved
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
This landed without any data-review. The probes are also set to never expire. What happened here? |
Another issue is a string was updated directly. A new string should have been added. Since there are multiple issues, I'll have to revert this. Let's land this with data-review and a expiry version. |
@Taknok unfortunately there are multiple issues here causing us to revert. Please reopen a new pr with two updates:
Please let me know if I can help. Thanks |
Sorry but I will be rude here. First:
I set an expiration date for probes in the initial PR, but I was told to change it to never here :
Second:
What string ? I only see line insert in this PR files app/src/main/res/values/strings.xml Do at least link the line with an issue. Data-review ? Was not @eliserichards or @topotropic doing this ? I am so lost in this maze that this PR has been though... Third: |
I understand your frustration. I would never expected you to know what's needed to land an issue and the reviewers should have given you proper instructions. However, my hands are tied in this case. At Mozilla we take privacy very seriously. Any data collected have to go through data-review. Any data that is collected without expiry needs product approval as well. I want to help you re-land this. Please put up a new PR when you're ready and I'll work with you (in a timely manner) to land this as soon as possible. Thank you, |
@Taknok another solution is I can make the modifications and land this PR with you as a co-author. I'll go through the data review for you as well. If you're OK with my name associated with the PR that is. Please let me know. Thank you for your passion and your contribution. |
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
You can do the modifications you want, I am just not doing it anymore, I will even accept PR from other contributors to my branch if needed. |
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private. X-Channel-Revision: [main] mozilla-mobile/android-components@f6e7218 X-Channel-Converted-Revision: [main] mozilla-mobile/fenix@fe16a81 X-Channel-Revision: [main] mozilla-mobile/focus-android@7ca4851
I'll create a new PR with you as co-author. Thanks |
…s' option as requested. mozilla-mobile/fenix#21212 (comment) - Add option is tree dot menu - Edit folder opening to be aware of browsing mode - Add metrics - Add unit tests for 'Open all in private tabs' - Add Android tests for open all in private.
Add the "Open all..." option as described in #11404 (similar to "Open all" present on firefox desktop).
This option open recursively all link in a bookmark folder, if there is no link in the folder, display a toast message with the error. All strings a retrieved from "l10n-mozilla firefox-desktop". Once links are opened, the tabs tray is shown.
Folder structure for this exemple:
How the option is shown in overflow menu:
When opening all:
When a folder is empty:
Pull Request checklist
To download an APK when reviewing a PR:
Close #11404
Fixes #11404
Fixes #11404
Fixes #11404