This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 440
Fix #3976: Replace Toast with Playlist URL Bar Icon + Add Playlist Menu Item #3977
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Brandon-T
force-pushed
the
feature/PlaylistURLBarButton
branch
2 times, most recently
from
August 9, 2021 18:15
f1c37d3
to
1347936
Compare
Brandon-T
force-pushed
the
feature/PlaylistURLBarButton
branch
3 times, most recently
from
August 13, 2021 15:36
08a8a1a
to
a1b7adf
Compare
iccub
suggested changes
Aug 16, 2021
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.
code/nitpick review, going to run this branch and leave functional feedback later
Client/Frontend/Browser/BrowserViewController/BrowserViewController+ReaderMode.swift
Outdated
Show resolved
Hide resolved
Client/Frontend/Browser/BrowserViewController/BrowserViewController+ToolbarDelegate.swift
Outdated
Show resolved
Hide resolved
Client/Frontend/Browser/BrowserViewController/BrowserViewController+ToolbarDelegate.swift
Outdated
Show resolved
Hide resolved
Client/Frontend/Browser/Playlist/BrowserViewController+Playlist.swift
Outdated
Show resolved
Hide resolved
Client/Frontend/Browser/Toolbars/BottomToolbar/Menu/PlaylistMenuButton.swift
Outdated
Show resolved
Hide resolved
Brandon-T
force-pushed
the
feature/PlaylistURLBarButton
branch
2 times, most recently
from
August 18, 2021 17:51
e1c9a6e
to
2e66cf2
Compare
f6863f0 NO!! 😢 |
Brandon-T
force-pushed
the
feature/PlaylistURLBarButton
branch
from
August 19, 2021 16:57
19a3c63
to
fa0b27e
Compare
Brandon-T
changed the title
[Playlist] - Replace Toast with Playlist URL Bar Icon + Add Playlist Menu Item
[Playlist - Fix #3976 && #4070] - Replace Toast with Playlist URL Bar Icon + Add Playlist Menu Item
Aug 19, 2021
Brandon-T
changed the title
[Playlist - Fix #3976 && #4070] - Replace Toast with Playlist URL Bar Icon + Add Playlist Menu Item
[Playlist - #3976, #4070] - Replace Toast with Playlist URL Bar Icon + Add Playlist Menu Item
Aug 19, 2021
Brandon-T
force-pushed
the
feature/PlaylistURLBarButton
branch
from
August 19, 2021 18:00
10255f1
to
e4e0d73
Compare
iccub
suggested changes
Aug 23, 2021
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.
2 small changes and rest looks good
iccub
changed the title
[Playlist - #3976, #4070] - Replace Toast with Playlist URL Bar Icon + Add Playlist Menu Item
Fix #3976: Replace Toast with Playlist URL Bar Icon + Add Playlist Menu Item
Aug 23, 2021
Remove PlaylistToast completely. Fixed Playlist URL Bar Icon display when switching tabs and when playlist items are detected. Add Playlist Menu. Dismiss menu properly. Fixing glitch where web-view is somehow not removed when the tab is killed. Integrated above readermode. Adding ability to detect media element's information based on tagId. Open playlist item at current time offset from page view offset. Fixed reader-mode button state and playlist url bar not updating when switching tabs (sometimes). Fixed onboarding bug to show automatically. Show popover after adding to playlist automatically. Added back toast! Fixing page detection for some iFrames. Addressed Feedback Fix when closing a blank tab it destroys playlist url bar button. Finished playback where left off fixes. Hide the menu badge when the item is in the playlist.
Brandon-T
force-pushed
the
feature/PlaylistURLBarButton
branch
from
August 24, 2021 15:56
c44e1e6
to
6bc0e2a
Compare
iccub
approved these changes
Aug 25, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Security Review: https://github.com/brave/security/issues/553
Removes Toast completed
Adds Playlist URL Bar Button + Popover
Adds Playlist to Tabs so each tab determines when its own Playlist button is shown in the URL bar (similar to rewards button).
Add Playlist Menu Button and Menu Badge.
Hide Playlist icon if reader-mode takes precedence, otherwise hide reader-mode button if playlist URL is supported.
This pull request fixes #3976 && #4070
Submitter Checklist:
NSLocalizableString()
Test Plan:
Screenshots:
Reviewer Checklist:
QA/(Yes|No)
bug
/enhancement