Skip to content
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

Re-sync with uBo master #7

Merged
merged 76 commits into from May 9, 2020
Merged

Re-sync with uBo master #7

merged 76 commits into from May 9, 2020

Conversation

@ryanbr
Copy link
Collaborator

ryanbr commented May 9, 2020

No description provided.

gorhill added 19 commits Apr 27, 2020
The blocking-stuff button icons have been brought
closer to the power button.

The go-somewhere button icons have been moved at
the bottom.

The hostname of the current site is now shown below
the power button. The base domain is bolded.

This re-ordering is for a few reasons:

- The blocking-stuff button icons are now closer
  to the revert/persist/reload transient buttons
  which show up when modifying the blocking
  behavior of uBO.

- The makes it easier to potentially bring in a
  very basic view where only the power button and
  the statistics are shown and all the button
  icons are hidden from view.
Specifically:

- Log entries as received by client code
- Prettier and more readable console output
- Ability to only log entries matching a
  specific needle

As per internal discussion at
<https://github.com/uBlockOrigin/uAssets>; limited
logging capabilities of json-prune originally raised
by <https://github.com/gwarser>.
Specifically:

- Fix exception being thrown when createing an
  empty line

- Syntax-color invalid setting names

- Syntax-color non-default values
As per request.
The old "classic" popup panel will still be used
when at least one of the following is true:

- advanced setting `uiFlavor` is set to `classic`; or
- the browser is Chromium 65 or older; or
- the browser is Firefox 67 or older

The default configuration of the new popup panel
at installation time is to show the power button,
statistics and the basic tool icons, i.e. access
to dashboard, logger, pickers.

For existing installations, the new popup panel
will be configured by respecting the existing
configuration of the classic one.

The new popup panel is currently already in use
on Firefox for Android, and the visual redesign
was made according to suggestions and feedback
from <https://github.com/brampitoyo> to be
optimal for Firefox for Android.

The new popup panel will allow closing the following
pending issues:

- uBlockOrigin/uBlock-issues#255
- uBlockOrigin/uBlock-issues#178
@gwarser

This comment has been minimized.

Copy link
Contributor

gwarser commented on b295d4a Apr 30, 2020

Additional height?

image

I think we had bug report about this too.

This comment has been minimized.

Copy link
Owner Author

gorhill replied Apr 30, 2020

I probably closed it back then as "by design". I just felt the new design does not look awkward with the unbound height. Hmm this makes me realize I forgot to remove that line.

This comment has been minimized.

Copy link
Contributor

uBlock-user replied Apr 30, 2020

Toggle the popup panel button still shows the classic panel in the logger FYI

@gwarser

This comment has been minimized.

Copy link
Contributor

gwarser commented on 9a6feb3 Apr 30, 2020

After this change, I think it will be handy to have keyboard shortcut for the Dashboard :)

gorhill added 8 commits Apr 30, 2020
Also, more fine tuning of visuals.

Two new advanced settings, to be left undocumented as
"purposefully undocumented setting".
gorhill added 25 commits May 5, 2020
By using a larger tolerance.

Also, ensure that the hover visuals are still
being used in vertical layout mode on non-mobile
devices.
Originally the idea was to hide from view the
popup panel layout seemingly being recalculated
by the browser at open time, causing visuals in
the popup panel to slightly move around. Possibly
no longer an issue now that the popup panel
initialization code has been modified since then
to use animation frames.
Maybe it will help avoid the spurious
fall-into-vertical-layout issue. Maybe not.
Related issue:
- uBlockOrigin/uBlock-issues#1004

The fix is trivial enough that I feel confident to make
it part of current RC cycle. There are many reports of
block page at launch on Chromium.

The fix is to let the platform pick it's natural suspend
state rather than force it. Once advanced settings are
read, the suspend state will for toggled only if
`suspendTabsUntilReady` is either `yes` or `no`. This
there should no longer be blocked page on Chromium at
launch when using default settings.

Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/gac2h8/
Additionally, have the width of the page selector
in the logger proportional to the width of the
logger -- this should improve usability on small
screen devices.
Specifically, the sticky controls box is re-parented
pre-emptively instead of waiting for the decision as
to whether the panel must be toggled into a vertical
layout mode.
@ryanbr
Copy link
Collaborator Author

ryanbr commented May 9, 2020

If you can review when you're free next @pes10k :)

@pes10k
pes10k approved these changes May 9, 2020
Copy link
Collaborator

pes10k left a comment

No privacy relevant changes upstream; lgtm

@pes10k pes10k merged commit 84e58f1 into brave:master May 9, 2020
1 check passed
1 check passed
Travis CI - Pull Request Build Passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.