-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add basic boosts implementation #11071
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
Draft
FlorianButz
wants to merge
61
commits into
zen-browser:dev
Choose a base branch
from
FlorianButz:dev
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,946
−28
Draft
Changes from 43 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
4369d5b
Add basic boosts implementation
FlorianButz f799d00
feat: Add boosts backend boilerplate, b=no-bug, c=no-component
mr-cheffy a4e1a76
Merge branch 'dev' into dev
mr-cheffy 4ee1235
feat: Add changes to firefox engine, b=no-bug, c=no-component
mr-cheffy 690ab56
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy b9e8c39
chore: Fix builds and lint, b=no-bug, c=no-component
mr-cheffy 6c2c798
Change boost editor to be a separate window
FlorianButz 6d4578e
Add check if current tab can be boosted
FlorianButz bcb8488
Run lint:fix
FlorianButz 4091a77
feat: Expose the c++ API to JS, b=no-bug, c=no-component
mr-cheffy fcd7f97
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy 6361570
Add boost panel in site specific settings
FlorianButz f19f688
Merge branch 'dev' of https://github.com/FlorianButz/desktop into dev
FlorianButz ba57df3
Merge branch 'dev' into dev
mr-cheffy 672461f
feat: Make boost data be stored on the browsing context, b=no-bug, c=…
mr-cheffy f1ce0da
chore: use better icons
FlorianButz 4f337ed
feat: Listen for changes for the browser context, b=no-bug, c=common,…
mr-cheffy b16e38d
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy afd3b0d
feat: Propagate data into the current context, not the top one, b=no-…
mr-cheffy b8ef442
feat: Hint for a restyle after changing boost colors, b=no-bug, c=no-…
mr-cheffy d8da71d
feat: bridge communication using child actor
FlorianButz d0b8062
feat: Change UI
FlorianButz f211080
fix: missing methods, simplify writing to disk
FlorianButz 4d03d8d
chore: Small fixes, b=no-bug, c=no-component
mr-cheffy de3d0ae
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy eae5524
chore: Clean up, b=no-bug, c=no-component
mr-cheffy 0886619
fix: change communication of actors, cleanup
FlorianButz c0d04f9
feat: Prevent flashing when going between pages, b=no-bug, c=common
mr-cheffy f9c948a
feat: Start taking into account contrast values, b=no-bug, c=no-compo…
mr-cheffy 1ac6a40
feat: Correctly calculate color lightness based on contrast, b=no-bug…
mr-cheffy a554c6c
feat: update editor UI to look more like Arc's
FlorianButz bb2dc09
fix: remove logs, update select properly
FlorianButz 23e6555
Merge branch 'dev' into dev
mr-cheffy 383520b
chore: Small changes, b=no-bug, c=common
mr-cheffy 1e56261
Merge branch 'dev' into dev
mr-cheffy 54b45eb
feat: Convert the window into a proper XUL doc and implement scale, b…
mr-cheffy e1c6e28
feat: Finish migration to xhtml window, b=no-bug, c=common
mr-cheffy 27e3501
chore: Cleanups, b=no-bug, c=common
mr-cheffy 4e12ac4
feat: add system font fetching
FlorianButz f859aa1
feat: Implemented stylesheet managers, b=no-bug, c=no-component
mr-cheffy 375cfad
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy 254d83c
fix: correct color conversion, add stylesheet implementation
FlorianButz 54c04f4
fix: Fixed crashes on sub-document contexts, b=no-bug, c=no-component
mr-cheffy 43eedfa
feat: core zap implementation
FlorianButz e8e02a1
chore: use proper actor communication
FlorianButz d825ca0
feat: workspace color syncing
FlorianButz 1264f8a
chore: Small cleanup
FlorianButz b9a9833
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev
FlorianButz cafe950
chore: update to using isolated includes file
FlorianButz 1b604d4
feat: Dont render color changes on anonymous documents and run format…
mr-cheffy db53eca
feat: Simplify data browsing context fetching, b=no-bug, c=mods
mr-cheffy 9573fed
feat: Improve detecting anon content, b=no-bug, c=workspaces
mr-cheffy 9b6077d
Merge branch 'dev' into dev
mr-cheffy 1f21965
chore: Update patches, b=no-bug, c=no-component
mr-cheffy 06e7e39
chore: Update boost saving to use JSONFile
FlorianButz 108b6c8
Merge branch 'dev' into dev
FlorianButz 394c629
feat: Add CodeMirror integration for custom css
FlorianButz 5873e8f
Merge branch 'dev' of https://github.com/FlorianButz/desktop into dev
FlorianButz a8f364f
feat: Account for tabs on right when opening boost window
FlorianButz d192ce8
Merge branch 'zen-browser:dev' into dev
FlorianButz 337ee11
chore: Fix syntax error, Rename file, Add license
FlorianButz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| zen-panel-ui-boost-create = | ||
| .label = New Boost | ||
|
|
||
| zen-boost-invert = | ||
| .tooltiptext = Smart Invert Colors | ||
| zen-boost-zap = | ||
| .tooltiptext = Zap Elements | ||
| zen-boost-disable = | ||
| .tooltiptext = Disable Color Adjustments | ||
|
|
||
| zen-boost-font-arial = | ||
| .tooltiptext = Arial | ||
| zen-boost-font-serif = | ||
| .tooltiptext = Sans Serif | ||
| zen-boost-font-mono = | ||
| .tooltiptext = Monospace | ||
| zen-boost-font-georgia = | ||
| .tooltiptext = Georgia | ||
| zen-boost-font-comic = | ||
| .tooltiptext = Comic Sans MS | ||
| zen-boost-font-tahoma = | ||
| .tooltiptext = Tahoma | ||
| zen-boost-font-verdana = | ||
| .tooltiptext = Verdana | ||
| zen-boost-font-corsiva = | ||
| .tooltiptext = Corsiva | ||
|
|
||
| zen-boost-name = | ||
| .tooltiptext = Change Boost Name | ||
| zen-boost-delete = | ||
| .tooltiptext = Delete Boost | ||
|
|
||
| zen-panel-ui-boosts-saved-message = Successfully saved the boost! | ||
| zen-panel-ui-boosts-deleted-message = Deleted the boost! |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # This Source Code Form is subject to the terms of the Mozilla Public | ||
| # License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| # file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
|
||
| - name: zen.boosts.enabled | ||
| value: true |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
2 changes: 2 additions & 0 deletions
2
...rowser/themes/shared/zen-icons/common/selectable/arrow-rotate-anticlockwise.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/block.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/bolt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/boost.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/brackets-curly.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions
5
src/browser/themes/shared/zen-icons/common/selectable/brush.svg
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/close-filled-round.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/lightbulb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/paintbrush-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/paintbrush.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/sliders.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/square-wand-sparkle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/text-lowercase.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/text-size.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/text-title-case.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
src/browser/themes/shared/zen-icons/common/selectable/text-uppercase.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.