-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bookmark all tabs - Context menu #2599
Bookmark all tabs - Context menu #2599
Conversation
…m is enabled/disabled
🚫 The Asana task linked in the PR description is not added to macOS App Board project.
|
@@ -429,6 +429,7 @@ struct UserText { | |||
static let editFavorite = NSLocalizedString("edit.favorite", value: "Edit Favorite", comment: "Header of the view that edits a favorite bookmark") | |||
static let removeFromFavorites = NSLocalizedString("remove.from.favorites", value: "Remove from Favorites", comment: "Button for removing bookmarks from favorites") | |||
static let bookmarkThisPage = NSLocalizedString("bookmark.this.page", value: "Bookmark This Page", comment: "Menu item for bookmarking current page") | |||
static let bookmarkAllTabs = NSLocalizedString("bookmark.all.tabs", value: "Bookmark All Tabs…", comment: "Menu item for bookmarking all the open tabs") |
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.
@SabrinaTardio I'm waiting for the Smartling invite. At the moment I added the string without the translation. I’ve created a subtask to add all the localized string. I’ll probably do in a different PR, what do you think?
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.
Yeah you add it at the end the end the final one… normally is worth waiting for copy approval in ship review but in this case it’s pretty obvious I guess ahah so I would still ask for translations meanwhile
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.
Look great!
@@ -429,6 +429,7 @@ struct UserText { | |||
static let editFavorite = NSLocalizedString("edit.favorite", value: "Edit Favorite", comment: "Header of the view that edits a favorite bookmark") | |||
static let removeFromFavorites = NSLocalizedString("remove.from.favorites", value: "Remove from Favorites", comment: "Button for removing bookmarks from favorites") | |||
static let bookmarkThisPage = NSLocalizedString("bookmark.this.page", value: "Bookmark This Page", comment: "Menu item for bookmarking current page") | |||
static let bookmarkAllTabs = NSLocalizedString("bookmark.all.tabs", value: "Bookmark All Tabs…", comment: "Menu item for bookmarking all the open tabs") |
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.
Yeah you add it at the end the end the final one… normally is worth waiting for copy approval in ship review but in this case it’s pretty obvious I guess ahah so I would still ask for translations meanwhile
dd83ac7
into
alessandro/bookmark-all-tabs
Task/Issue URL: https://app.asana.com/0/0/1207032400501906/f **Description**: Add the new “Bookmark All Tabs…” menu item to: 1. Main application Menu -> Bookmarks menu. 2. The more options menu, the menu shown from the “…” button. 3. The contextual menu of a single Tab.
Task/Issue URL: https://app.asana.com/0/0/1207032400501906/f **Description**: Add the new “Bookmark All Tabs…” menu item to: 1. Main application Menu -> Bookmarks menu. 2. The more options menu, the menu shown from the “…” button. 3. The contextual menu of a single Tab.
Task/Issue URL: https://app.asana.com/0/0/1207032400501906/f **Description**: Add the new “Bookmark All Tabs…” menu item to: 1. Main application Menu -> Bookmarks menu. 2. The more options menu, the menu shown from the “…” button. 3. The contextual menu of a single Tab.
Task/Issue URL: https://app.asana.com/0/0/1207032400501906/f **Description**: Add the new “Bookmark All Tabs…” menu item to: 1. Main application Menu -> Bookmarks menu. 2. The more options menu, the menu shown from the “…” button. 3. The contextual menu of a single Tab.
Task/Issue URL: https://app.asana.com/0/0/1207032400501906/f
CC: @samsymons
Description:
Add the new “Bookmark All Tabs…” menu item to:
NOTE
Figma Mockup
Steps to test this PR:
Scenario 1: "Bookmark All Tabs…” shows in main application menu 🟢
Bookmarks
main application menu item.Expected Result: "Bookmarks All Tabs…” menu item should be visible at the second position from the top.
Scenario 2: "Bookmark All Tabs…” shows in more options menu 🟢
...
button at the right-hand side of the address bar.Bookmarks
and wait for submenu to appear.Expected Result: "Bookmarks All Tabs…” menu item should be visible at the second position from the top.
Scenario 3: "Bookmark All Tabs…” shows in the Tab contextual menu 🟢
Expected Result: "Bookmarks All Tabs…” menu item should be visible at the sixth position from the top.
Scenario 4: "Bookmark All Tabs…” does not shows in Pinned Tab contextual menu 🟢
Expected Result: "Bookmarks All Tabs…” menu item should be not visible.
Scenario 5: "Bookmark All Tabs…” should be enabled when at least two non pinned tabs with a loaded web page are open - Main Menu 🟢
Bookmarks
main application menu item.Expected Result: "Bookmarks All Tabs…” menu item should be enabled.
Scenario 6: "Bookmark All Tabs…” should be enabled when at least two non pinned tabs with a loaded web page are open - More Options Menu 🟢
...
button at the right-hand side of the address bar.Bookmarks
menu item and wait for submenu to appear.Expected Result: "Bookmarks All Tabs…” menu item should be enabled.
Scenario 7: "Bookmark All Tabs…” should be enabled when at least two non pinned tabs with a loaded web page are open - Tab Contextual Menu 🟢
Expected Result: "Bookmarks All Tabs…” menu item should be enabled.
Scenario 8: "Bookmark All Tabs…” should be disabled when two pinned tabs with a loaded web page are open - Main Menu 🟢
Bookmarks
main application menu item.Expected Result: "Bookmarks All Tabs…” menu item should be disabled.
Scenario 9: "Bookmark All Tabs…” should be disabled when two pinned tabs with a loaded web page are open - More Options Menu 🟢
...
button at the right-hand side of the address bar.Bookmarks
menu item and wait for submenu to appear.Expected Result: "Bookmarks All Tabs…” menu item should be disabled.
Scenario 10: "Bookmark All Tabs…” should be disabled when two pinned tabs with a loaded web page are open - More Options Menu 🟢
3.Right-click on the non pinned Tab and wait for the contextual menu to appear.
Expected Result: "Bookmarks All Tabs…” menu item should be disabled.
—
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation