Skip to content

Commit

Permalink
v2.2.0 / 2025-02-15
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornstar committed Feb 15, 2025
1 parent 29caee0 commit a88cce4
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package-lock=false
audit=false
fund=false
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Tumblr Savior Changelog

## v2.2.0 / 2025-02-15
* Make "Hide timeline objects" hide visible cells that don't have articles (Fixes #96)
* [devDependencies] Update `addons-linter` & `eslint` to latest versions
* [meta] Add `.npmrc` to disable `package-lock.json` and skip audit and funding messages

## v2.1.2 / 2025-01-19
* Fix syntax error for moreContent

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tumblr-savior",
"version": "2.1.2",
"version": "2.2.0",
"description": "Would you like to control what shows up on your dashboard? Tumblr Savior is here to save you!",
"scripts": {
"addons-linter": "addons-linter src",
Expand All @@ -23,8 +23,8 @@
},
"homepage": "https://github.com/bjornstar/Tumblr-Savior#readme",
"devDependencies": {
"addons-linter": "^7.3.0",
"eslint": "^9.14.0"
"addons-linter": "^7.8.0",
"eslint": "^9.20.1"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion src/data/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const defaultSettings = {
'show_notice': true,
'show_tags': true,
'show_words': true,
'version': '2.1.2'
'version': '2.2.0'
}; // Initialize default values.

const { version } = defaultSettings;
Expand Down
2 changes: 1 addition & 1 deletion src/data/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const defaultSettings = {
'show_notice': true,
'show_tags': true,
'show_words': true,
'version': '2.1.2'
'version': '2.2.0'
}; // Initialize default values.

const { version } = defaultSettings;
Expand Down
5 changes: 3 additions & 2 deletions src/data/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const defaultSettings = {
'show_notice': true,
'show_tags': true,
'show_words': true,
'version': '2.1.2'
'version': '2.2.0'
}; // Initialize default values.

const BASE_CONTAINER_ID = 'base-container';
Expand All @@ -36,6 +36,7 @@ const CSS_CLASS_MAP = {
filteredScreen: 'W0ros',
footerWrapper: 'qYXF9',
footer: 'Ha4CC',
isVisible: 'KYCZY',
listTimelineObject: 'So6RQ',
moreContent: 'oFuUq',
mrecContainer: 'Yc2Sp',
Expand Down Expand Up @@ -108,7 +109,7 @@ const styleRules = {
css('mrecContainer') + howToHide
],
hide_timeline_objects: [
`${css('cell')}[data-cell-id*="timelineObject"] ${howToHide}`,
`${css('cell')}${css('isVisible')}:not(:has(article)) ${howToHide}`,
],
};

Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Tumblr Savior",
"version": "2.1.2",
"version": "2.2.0",
"description": "Would you like to control what shows up on your dashboard? Tumblr Savior is here to save you!",
"action": {
"default_icon": "data/Icon-16.png",
Expand Down

0 comments on commit a88cce4

Please sign in to comment.