Skip to content

Commit

Permalink
Update to 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mastef committed Jun 22, 2020
1 parent ea22b7e commit 5a161b1
Show file tree
Hide file tree
Showing 12 changed files with 352 additions and 417 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"sourceType": "script",
"plugins": [
["inline-replace-variables", {
"__VERSION__": "5.1.6"
"__VERSION__": "5.2.0"
}]
]
}
2 changes: 1 addition & 1 deletion manifest-firefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Tab Manager Plus for Firefox",
"short_name": "Tab Manager+",
"version": "5.1.6",
"version": "5.2.0",
"manifest_version": 2,
"description": "Quickly find open tabs, see all windows in one view, find duplicates and limit tabs per window. The best Tab Manager for Firefox.",
"author": "stefanXO",
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Tab Manager Plus for Chrome",
"short_name": "Tab Manager+",
"version": "5.1.6",
"version": "5.2.0",
"manifest_version": 2,
"offline_enabled": true,
"description": "Quickly find open tabs, see all windows in one view, find duplicates and limit tabs per window. The best Tab Manager for Chrome.",
Expand Down
202 changes: 138 additions & 64 deletions outlib/TabManager.js

Large diffs are not rendered by default.

203 changes: 0 additions & 203 deletions outlib/TabNew.js

This file was deleted.

19 changes: 3 additions & 16 deletions outlib/TabOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component
_this.state = {};return _this;
}_createClass(TabOptions, [{ key: "logo", value: function logo()
{
var logo = [React.createElement("img", { src: "images/browsers.svg", style: { maxWidth: "3rem" } }), React.createElement("h2", null, "Tab Manager Plus ", "5.1.6")];
var logo = [React.createElement("img", { src: "images/browsers.svg", style: { maxWidth: "3rem" } }), React.createElement("h2", null, "Tab Manager Plus ", "5.2.0")];

return (
React.createElement("div", { className: "logo-options" },
Expand Down Expand Up @@ -189,7 +189,7 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component
React.createElement("i", null, "By default: disabled ( experimental feature )"))),


React.createElement("div", { className: "toggle-box" },
this.props.sessionsFeature && React.createElement("div", { className: "toggle-box" },
React.createElement("div", { className: "toggle-box" },
React.createElement("label", { className: "textlabel", htmlFor: "session_export", style: { whiteSpace: "pre", lineHeight: "2rem" } },
React.createElement("h4", null, "Export/Backup Sessions")),
Expand All @@ -201,7 +201,7 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component

React.createElement("div", { className: "option-description" }, "Allows you to backup your saved windows to an external file.")),

React.createElement("div", { className: "toggle-box" },
this.props.sessionsFeature && React.createElement("div", { className: "toggle-box" },
React.createElement("div", { className: "toggle-box" },
React.createElement("label", { className: "textlabel", htmlFor: "session_import", style: { whiteSpace: "pre", lineHeight: "2rem" } },
React.createElement("h4", null, "Import/Restore Sessions")),
Expand Down Expand Up @@ -321,19 +321,6 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component



React.createElement("div", { className: "option-description" }, "If you also want to see your incognito tabs in the Tab Manager overview, then enable incognito access for this extension."))),




React.createElement("div", { className: "optionsBox" },
React.createElement("h4", null, "Other shortcuts"),
React.createElement("div", { className: "toggle-box" },
React.createElement("div", { className: "toggle-box" },
React.createElement("a", { href: "#", onClick: this.openIncognitoOptions }, "Allow in Incognito")),



React.createElement("div", { className: "option-description" }, "If you also want to see your incognito tabs in the Tab Manager overview, then enable incognito access for this extension.")),


Expand Down
19 changes: 3 additions & 16 deletions outlib/TabOptionsFirefox.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component
_this.state = {};return _this;
}_createClass(TabOptions, [{ key: "logo", value: function logo()
{
var logo = [React.createElement("img", { src: "images/browsers.svg", style: { maxWidth: "3rem" } }), React.createElement("h2", null, "Tab Manager Plus ", "5.1.6")];
var logo = [React.createElement("img", { src: "images/browsers.svg", style: { maxWidth: "3rem" } }), React.createElement("h2", null, "Tab Manager Plus ", "5.2.0")];

return (
React.createElement("div", { className: "logo-options" },
Expand Down Expand Up @@ -189,7 +189,7 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component
React.createElement("i", null, "By default: disabled ( experimental feature )"))),


React.createElement("div", { className: "toggle-box" },
this.props.sessionsFeature && React.createElement("div", { className: "toggle-box" },
React.createElement("div", { className: "toggle-box" },
React.createElement("label", { className: "textlabel", htmlFor: "session_export", style: { whiteSpace: "pre", lineHeight: "2rem" } },
React.createElement("h4", null, "Export/Backup Sessions")),
Expand All @@ -201,7 +201,7 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component

React.createElement("div", { className: "option-description" }, "Allows you to backup your saved windows to an external file.")),

React.createElement("div", { className: "toggle-box" },
this.props.sessionsFeature && React.createElement("div", { className: "toggle-box" },
React.createElement("div", { className: "toggle-box" },
React.createElement("label", { className: "textlabel", htmlFor: "session_import", style: { whiteSpace: "pre", lineHeight: "2rem" } },
React.createElement("h4", null, "Import/Restore Sessions")),
Expand Down Expand Up @@ -299,19 +299,6 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component



React.createElement("div", { className: "option-description" }, "If you also want to see your private tabs in the Tab Manager overview, then enable private windows access for this extension."))),




React.createElement("div", { className: "optionsBox" },
React.createElement("h4", null, "Other shortcuts"),
React.createElement("div", { className: "toggle-box" },
React.createElement("div", { className: "toggle-box" },
React.createElement("a", { href: "#", onClick: this.openIncognitoOptions }, "Allow in Private Windows")),



React.createElement("div", { className: "option-description" }, "If you also want to see your private tabs in the Tab Manager overview, then enable private windows access for this extension.")),


Expand Down
9 changes: 6 additions & 3 deletions outlib/Window.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ Window = function (_React$Component) {_inherits(Window, _React$Component);
_this2.minimize = _this2.minimize.bind(_this2);
_this2.save = _this2.save.bind(_this2);
_this2.stop = _this2.stop.bind(_this2);
_this2.windowClick = _this2.windowClick.bind(_this2);return _this2;
_this2.windowClick = _this2.windowClick.bind(_this2);
_this2.selectToFromTab = _this2.selectToFromTab.bind(_this2);return _this2;
}_createClass(Window, [{ key: "render", value: function render()

{
Expand Down Expand Up @@ -79,7 +80,7 @@ Window = function (_React$Component) {_inherits(Window, _React$Component);
hoverHandler: _this.props.hoverHandler,
searchActive: _this.props.searchActive,
select: _this.props.select,
selectTo: _this.selectTo,
selectTo: _this.selectToFromTab,
drag: _this.props.drag,
drop: _this.props.drop,
dropWindow: _this.props.dropWindow,
Expand Down Expand Up @@ -480,7 +481,7 @@ Window = function (_React$Component) {_inherits(Window, _React$Component);
}
this.props.parentUpdate();
if (!!window.inPopup) window.close();return _context.abrupt("return",
false);case 9:case "end":return _context.stop();}}}, _callee, this);}));function windowClick(_x) {return _ref.apply(this, arguments);}return windowClick;}() }, { key: "selectTo", value: function selectTo(
false);case 9:case "end":return _context.stop();}}}, _callee, this);}));function windowClick(_x) {return _ref.apply(this, arguments);}return windowClick;}() }, { key: "selectToFromTab", value: function selectToFromTab(

tabId) {
if (tabId) this.props.selectTo(tabId, this.props.tabs);
Expand Down Expand Up @@ -567,6 +568,7 @@ Window = function (_React$Component) {_inherits(Window, _React$Component);

e) {
this.stopProp(e);
this.props.toggleColors(!this.state.colorActive, this.props.window.id);
this.setState({
colorActive: !this.state.colorActive });

Expand All @@ -588,6 +590,7 @@ Window = function (_React$Component) {_inherits(Window, _React$Component);
localStorage["windowColors"] = JSON.stringify(colors);
} }, { key: "closePopup", value: function closePopup()
{
this.props.toggleColors(!this.state.colorActive, this.props.window.id);
this.setState({
colorActive: !this.state.colorActive });

Expand Down
Loading

0 comments on commit 5a161b1

Please sign in to comment.