Skip to content

Commit

Permalink
merge main (#135)
Browse files Browse the repository at this point in the history
* fixed typo

* chore: update license in package.json

* feat: tool to update the default rules json

* update Pico CSS

* Enum base class

* HTTPMethod enum

* class OPFS (Origin private file system)

* Class XHR

* Class GitHubApiCall

* Draft: default rules update tool

* Add test structure

* fix XHR

* tool for updates working

* fix GitHubApiCall

* update test structure

* remove tests

* Support x.com domain (#68)

* support new x.com domain

* update to v0.3.3

* Add x.com to all ulrs query/filters (#71)

* added x.com to urls filters/query

* update to v0.3.4

* defaultCSSRulesJSON update to version 3

* corrected manifest.json to not include src folder

* fixed folder creation

* fix: update now button not centered (#83)

* update to 0.3.5

* fix: npm run folder creates also zip (#85)

* defaultCSSRulesJSON update to version 4 (#89)

* defaultCSSRulesJSON update to version 5 (#90)

* fix: fixed typo in confirm modal (#94)

* Improved description of options page (#100)

* Feat: add enable/disable button for all toggles (#101)

* fix: removed useless js code for accordion in popup

* feat: enable/disable all button

* chore: update Pico (#103)

* Update README.md

* updated personal email

* bump to version 0.3.6

* fix: remove utils tests folder from dist zip (#109)

* bump to version 0.3.7

* new data file (V2)

* Update defaultCSSRulesV2 version for testing

* fixed broken data

* fixed data v2

* 110 improve UI (#113)

* added group sections to popup

* updated defaultRulesUpdate to handle new data structure

* updated types for new data structure

* setDefaultRules() can now handle new data file

* processCSSRule() now adds empty group key to rule object

* processCSSRule() when save if rule is in storage maintain group

* if user add custom rule: create "My Rules" section

* defaultRulesUpdate now updates also group

* defaultRulesUpdate now handles adding group if the user is updating from an older version with no groups

* fix: update version after storing old rules

* style select group in update tool

* updated update tool to handle dataV2

* update defaultRulesUpdate test suite and static data

* update utils tests

* update fixtures for CSSRuleParser tests

* feat: enable all rules at install and when restoring defaults (#118)

* feat: 121 improve popup buttons (#122)

* make Enable/disable all button primary

* "Edit CSS rules" button secondary

* "Update now" button primary

* make "Enable / disable all" primary when enable and secondary when disable

* move "Edit CSS rules as last advanced settings"

* make advanced settings buttons smaller

* Update README.md

* Update README.md

* updated version in manifest (0.4.0)

* defaultCSSRulesJSON update to version 6 (#123)

Co-authored-by: Raiquen Guidotti <[email protected]>

* defaultCSSRulesJSON update to version 7 (#127)

Co-authored-by: Raiquen Guidotti <[email protected]>

* feat: New default rules are enabled by default (#129)

* fix: updated rules e2e spec to handle data v2 (#131)

* defaultCSSRulesJSON update to version 8 (#134)

Co-authored-by: Raiquen Guidotti <[email protected]>

---------

Co-authored-by: Raiquen Guidotti <[email protected]>
Co-authored-by: Raiquen Guidotti <[email protected]>
  • Loading branch information
3 people authored Aug 29, 2024
1 parent b66fcd4 commit 32cd530
Showing 1 changed file with 51 additions and 6 deletions.
57 changes: 51 additions & 6 deletions data/defaultCSSRulesV2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 7,
"version": 8,
"defaultRules": [
{
"UUID": "7282db6d-efec-4369-9381-d3e6a048684d",
Expand Down Expand Up @@ -55,11 +55,6 @@
"UUID": "2b31e97a-18a7-41cf-aee9-c5ee1842d0fb",
"rule": ".hide_premium_longer_posts div:has(> div > aside[aria-label='Subscribe to Premium to write your own longer posts']) {display: none;}",
"group": "sidebarCard"
},
{
"UUID": "f8c00f1a-0ec7-4055-8502-d3a3ed8b4c6c",
"rule": ".hide_jobs a[href='/jobs'] {display: none;}",
"group": "menuCard"
}
],
"oldRules": {
Expand Down Expand Up @@ -300,6 +295,56 @@
"UUID": "2b31e97a-18a7-41cf-aee9-c5ee1842d0fb",
"hash": "f304a6ee905876d18d616c778c74af48273361d2391a07b949a235854c52e265"
}
],
"7": [
{
"UUID": "7282db6d-efec-4369-9381-d3e6a048684d",
"hash": "4d0adad1c53c9a1f0f172d702fdeb1786663033d233bad3901ff57cf11a0d085"
},
{
"UUID": "4f2a50c0-10a1-460a-b2e3-8909741c23b1",
"hash": "131e0d230cc6de49fc0188299cf7c2e39d795edf07947bdb81ab61ede91595e0"
},
{
"UUID": "21bac13f-fa37-428c-b1db-c6f82a7c560c",
"hash": "4cc5e9182832c7000a3f4a474c47b0143f46be9578f18170cb4d1831d4c3e71f"
},
{
"UUID": "6a60761c-7806-4dc9-b96a-16be7a9db329",
"hash": "d0fd7e09cdc792711d69e56760eef4f401304e1de4b3647532d10e730cb64345"
},
{
"UUID": "5e98e03c-c16f-4e2f-9208-d966a69a8111",
"hash": "16bc866bba4ffa9a501e83d2bed14f41c512eb6b7cc6d62749676384137b0353"
},
{
"UUID": "0799879a-e14d-4b28-b23b-a73a9b2ba120",
"hash": "c4a2501e028e2063e29aeec40a031fc7d90dafeb5bba34306c22016e6bdbe664"
},
{
"UUID": "fb46e63b-6fcd-49cc-88f8-86b60cbcd5f3",
"hash": "56fb4917daa88d4879f8a24e11a9cb7e588c20c77e205f2e74cfc5544aad4c18"
},
{
"UUID": "a2ac2b88-1934-4973-8557-08af9b21a0ee",
"hash": "84a14cb4b480ec886893399b07e45c22de30be5020cf9e405c8fa91f0453b415"
},
{
"UUID": "811f41cd-7c36-4a03-9c42-daf20a2b76d3",
"hash": "34d1741fdc3483cbd6c889030c708741653d60493a37bcdb21cd98b98334a550"
},
{
"UUID": "c5b8237d-3c7d-461d-bf5b-5382e7f4eff1",
"hash": "ec2dbeac7eba75c2e365817a786df188f14df67f80e1ed49e4133097eaf5b615"
},
{
"UUID": "2b31e97a-18a7-41cf-aee9-c5ee1842d0fb",
"hash": "f304a6ee905876d18d616c778c74af48273361d2391a07b949a235854c52e265"
},
{
"UUID": "f8c00f1a-0ec7-4055-8502-d3a3ed8b4c6c",
"hash": "dfa262acfacd76eaa98370a50def3cd43d2f4c0e28da3b32646c8cade3b4f18a"
}
]
}
}

0 comments on commit 32cd530

Please sign in to comment.