-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: Add Arc's boosts implementation, b=no-bug, c=boosts #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
Merged
Merged
Changes from 106 commits
Commits
Show all changes
136 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 c6f86bb
chore: Fix icon location
FlorianButz bd50dc1
feat: Fix color picker knob, Add animation
FlorianButz e53552d
feat: Update zap mode
FlorianButz c7d2bce
chore: Simplify temporary unzap logic
FlorianButz a881512
feat: Add dissolve effect on zap
FlorianButz c0bb7cb
Merge branch 'dev' into dev
mr-cheffy 51ed9cb
Merge branch 'dev' into dev
mr-cheffy b01efd3
feat: Mark some variables as constant, b=no-bug, c=no-component
mr-cheffy acba3e7
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy fd652c8
chore: Resolve requested changes
FlorianButz 711f8b4
chore: Cleanup stylesheet, Remove unecessary !important
FlorianButz 7d68634
chore: Run lint:fix
FlorianButz 6cdf8ef
Merge branch 'zen-browser:dev' into dev
FlorianButz 4e4d23d
chore: Improve available screen calculation when opening editor
FlorianButz 221a22d
chore: Fix observers in boosts parent actor
FlorianButz 2a12411
feat: Improve code editor, Add localizations
FlorianButz 6348918
feat: Platform specific style adjustments
FlorianButz 0e37b4f
feat: Improve unzap buttons
FlorianButz 0cbfb89
chore: Update CSS editor icons to use nucleo icons
FlorianButz cfd68f8
chore: Fix styling issues, Fix using system font
FlorianButz bcb9afa
chore: Fix SelectorComponent positioning in zap mode
FlorianButz 585c605
feat: Add exporting / importing boost functionality
FlorianButz 494f342
chore: Revert deleting brush.svg
FlorianButz e8b2b42
chore: Remove editor window animation
FlorianButz 09a359b
chore: Improve readability for boost import/export
FlorianButz 8f05215
feat: Bring back boost names
FlorianButz 3091a47
chore: Fix zen content check in SelectorComponent
FlorianButz 9a54f87
chore: Fix CSS editor open direction on multi monitor setup
FlorianButz df61461
feat: Add context menu for boost actions
FlorianButz abb3d4a
chore: Fix actor communication, Fix TabSwitch close lifecycle
FlorianButz 11d3a5d
feat: Refactor to multiple boost per domain system
FlorianButz 1d66b14
chore: Run lint:fix
FlorianButz 73b3046
feat: Add mica support for the editor, Update close icon
FlorianButz 0ca2f05
chore: Adjust styling to be responsive
FlorianButz 7a6cc02
chore: Fix resetBoost type error
FlorianButz 6af20c6
chore: Moving js modules to .zen.boosts
FlorianButz 9551332
Merge branch 'dev' into dev
FlorianButz c4d11a3
chore: Optimize dissolve effect, Fix zap mode breaking bug
FlorianButz af4f370
chore: Run lint:fix
FlorianButz 7f1b42b
feat: Improve selector generation
FlorianButz e2d326e
feat: Add tests for the selector generator
FlorianButz 51cffe6
chore: Fix boost tests
FlorianButz 57d054c
feat: Implement smart invert, b=no-bug, c=no-component
mr-cheffy efa6a09
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy 3e9769f
Merge branch 'dev' into dev
mr-cheffy 01d7ba6
chore: Fix lint errors
FlorianButz 479cf92
chore: Fix close button padding on mac
FlorianButz f5e546c
Merge branch 'dev' into dev
mr-cheffy 878844b
chore: Fix undefined errors
FlorianButz cbb694e
chore: Fix type error when opening boost editor
FlorianButz ca7f3c3
feat: Use of prompt instead of inline textfield for renaming boosts
FlorianButz 4daf020
chore: Rename gradient generator update to be generic
FlorianButz d1aa10e
chore: Fix minor issues that broke everything
FlorianButz 8a74d2a
chore: Fix ZenZapOverlayChild not setting text content properly
FlorianButz b63e340
chore: Fix lint errors
FlorianButz ee76e65
chore: Remove unused animation, Reset smart invert when boost null
FlorianButz f4f59f3
chore: Fix not clearing ref to window and doc
FlorianButz a73a24d
chore: Fix bug when cleaning up dissolve effect
FlorianButz d45b877
chore: Remove dot animation because cheff said so
FlorianButz f5613a3
chore: Fix not sanitizing HTML
FlorianButz a39e7f1
Merge branch 'dev' into dev
mr-cheffy d96cbe4
fix: Fixed GTK windows, b=no-bug, c=no-component
mr-cheffy 597fb8e
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy 168d196
chore: Fix not opening boost editor as dialog
FlorianButz 9bcfc18
chore: Change default contrast value to be lower
FlorianButz 9bfbecd
feat: Fixed animations not colouring correctly, b=no-bug, c=no-component
mr-cheffy 2e19b28
Merge branch 'dev' of https://github.com/FlorianButz/desktop into dev
FlorianButz 0f2b7ad
chore: Update child actor to use windowGlobalChild instead
FlorianButz 1977382
Merge branch 'dev' into dev
FlorianButz 8e5873f
chore: Change to storing normalized dot pos
FlorianButz 4a12abc
chore: Fix clamp function in backend
FlorianButz 0dbfd21
feat: Separate boost data and user css
FlorianButz 00ea0bd
Merge branch 'dev' into dev
mr-cheffy 0c486e3
feat: Start deducing colors from browsing context, not pres shells, b…
mr-cheffy cd0a499
feat: Small changes to the UI, b=no-bug, c=no-component
mr-cheffy 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,57 @@ | ||
| # 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/. | ||
|
|
||
| zen-boost-edit-rename = | ||
| .label = Rename Boost | ||
| zen-boost-edit-shuffle = | ||
| .label = Shuffle Vibes | ||
| zen-boost-edit-reset = | ||
| .label = Reset All Edits | ||
| zen-boost-edit-delete = | ||
| .label = Delete Boost | ||
| zen-boost-size = Size | ||
| zen-boost-zap = Zap | ||
| zen-boost-code = Code | ||
| zen-boost-back = Back | ||
| zen-boost-shuffle = | ||
| .tooltiptext = Shuffle Boost Settings | ||
| zen-boost-invert = | ||
| .tooltiptext = Smart Invert Colors | ||
| zen-boost-controls = | ||
| .tooltiptext = Advanced Color Controls | ||
| zen-boost-disable = | ||
| .tooltiptext = Disable Color Adjustments | ||
| zen-boost-text-case-toggle = | ||
| .tooltiptext = Toggle Text Case | ||
| zen-boost-css-picker = | ||
| .tooltiptext = Pick Selector | ||
| zen-boost-css-inspector = | ||
| .tooltiptext = Open Inspector | ||
| zen-bootst-color-contrast = Contrast | ||
| zen-bootst-color-brightness = Brightness | ||
| zen-bootst-color-original-saturation = Original Saturation | ||
| zen-add-zap-helper = Click elements on the page to <b>Zap</b> them | ||
| zen-remove-zap-helper = ← Click to Unzap | ||
| zen-select-this = Insert selector for this | ||
| zen-select-related = Insert selector for related | ||
| zen-select-cancel = Cancel | ||
| zen-zap-this = Zap this | ||
| zen-zap-related = Zap all related elements | ||
| zen-zap-cancel = Cancel | ||
| zen-zap-done = Done | ||
| zen-unzap-tooltip = | ||
| { | ||
| $elementCount -> | ||
| [0] No elements zapped | ||
| [1] { $elementCount } element zapped | ||
| *[other] { $elementCount } elements zapped | ||
| } | ||
| zen-boost-save = | ||
| .tooltiptext = Export Boost | ||
| zen-boost-load = | ||
| .tooltiptext = Import Boost | ||
| zen-panel-ui-boosts-exported-message = Boost exported! | ||
| zen-site-data-boosts = Boosts | ||
| zen-site-data-create-boost = | ||
| .tooltiptext = Create new boost |
|
FlorianButz marked this conversation as resolved.
|
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,9 @@ | ||
| # 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: "@IS_TWILIGHT@" | ||
|
|
||
| - name: zen.boosts.dissolve-on-zap | ||
|
FlorianButz marked this conversation as resolved.
|
||
| 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
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
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.