Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed Oct 10, 2019
2 parents e26fb8a + 389dbf6 commit 2cb8dd4
Show file tree
Hide file tree
Showing 100 changed files with 2,494 additions and 2,272 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ about: Something is not working
## Environment info
<!-- Tip: You can find this info at the bottom of the settings page. -->
OS:
Firefox:
Addon:
Firefox version:
Addon version:

<details><code>
<!-- To get details:
- Go to the settings page - section "Help"
- Click on the "Debug info" button
- Copy and paste here
- Copy and paste here, inside the <code> tag
Note: all URLs and titles are skipped. -->
</code></details>
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ __Switch between tabs__
`alt+Up/Down` + `alt+space` - select tab and activate it
Scroll - (optional)

__Open dashboard of panel__
Right-click on panel's icon

__Expand/Fold parent tab__
Click on favicon of target tab.

Expand All @@ -96,6 +93,8 @@ Move mouse cursor to panel's icon.

### userChrome.css

> Note: Starting with Firefox 69 you have to enable toolkit.legacyUserProfileCustomizations.stylesheets in about:config.
In 'Profile Directory' `(Menu > Help > Troubleshooting Information > Profile Directory)`
create folder `chrome` with file `userChrome.css`:

Expand Down
4 changes: 3 additions & 1 deletion addon/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
},
"ActionTitle": { "message": "Open Sidebery" },

"upgrading": { "message": "Upgrading..." }
"upgrading": { "message": "Upgrading..." },
"unhandled_url": { "message": "Unhandled URL" },
"copy": { "message": "Copy" }
}
4 changes: 3 additions & 1 deletion addon/_locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"ExtDesc": { "message": "Управление табами и закладками в боковой панели." },
"ActionTitle": { "message": "Открыть Sidebery" },

"upgrading": { "message": "Обновление..." }
"upgrading": { "message": "Обновление..." },
"unhandled_url": { "message": "Неподдерживаемый URL" },
"copy": { "message": "Скопировать" }
}
8 changes: 8 additions & 0 deletions addon/actions/panels.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ function updatePanels(newPanels) {
Actions.updateReqHandlerDebounced()
}

function savePanels(panels, delay = 500) {
if (this._savePanelsTimeout) clearTimeout(this._savePanelsTimeout)
this._savePanelsTimeout = setTimeout(() => {
browser.storage.local.set({ panels })
}, delay)
}

export default {
loadPanels,
updatePanels,
savePanels,
}
18 changes: 18 additions & 0 deletions addon/group/group.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,24 @@
<svg id="icon_reload" width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M8 12a4 4 0 0 0 3.2-1.6l1.6 1.2a6 6 0 1 1 .2-6.92V2h2v6H9V6h2.46A4 4 0 1 0 8 12z"></path></svg>
<!-- Logo -->
<svg id="icon_sidebery" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M1 2a1 1 0 0 1 1-1h4.84a.5.5 0 0 1 .48.64l-.57 2a.5.5 0 0 1-.48.36H1.5a.5.5 0 0 1-.5-.5V2zM5.4 6a.5.5 0 0 1 .49.64l-.57 2a.5.5 0 0 1-.48.36H1.5a.5.5 0 0 1-.5-.5v-2c0-.28.22-.5.5-.5h3.9zM4.46 11.64a.5.5 0 0 0-.48-.64H1.5a.5.5 0 0 0-.5.5V14a1 1 0 0 0 1 1h1.12a.5.5 0 0 0 .48-.36l.86-3zM8.6 14.64l3.72-13a.5.5 0 0 0-.48-.64h-1.46a.5.5 0 0 0-.48.36l-3.72 13a.5.5 0 0 0 .48.64h1.46a.5.5 0 0 0 .48-.36zM15 14V4.57c0-.58-.82-.7-.98-.14l-2.84 9.93a.5.5 0 0 0 .48.64H14a1 1 0 0 0 1-1z"></path></svg>
<!-- Firefox -->
<svg id="icon_ff" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M10.19.16A5.53 5.53 0 0 0 7.7 4.23v.14h.36A3.98 3.98 0 0 1 11.3 6.1l-.15-.07c-.44-.2-1.15-.3-1.54-.24-.12.03-.1.08.07.17a3.1 3.1 0 0 1-.18 5.48c-1.48.7-3.3.3-4.33-.93-.45-.55-.76-1.37-.63-1.65.33-.7 1.2-1.13 2.35-1.17.27-.01.27-.01.36-.06.32-.16.8-.65.82-.83.01-.08.03-.07-.51-.33A4.97 4.97 0 0 1 5.9 5.4a7.42 7.42 0 0 0-.4-.36c-.12-.1-.12-.08-.16-.27a3.32 3.32 0 0 1 0-1.47c.05-.27.03-.28-.26-.14-.52.27-.97.6-1.43 1.04-.28.27-.25.25-.3.15a3.6 3.6 0 0 1-.17-1.3l-.01-.47h-.05c-.24-.03-1.16.77-1.7 1.47A6.84 6.84 0 0 0 .03 7.8a7.57 7.57 0 0 0 1.55 5.07 8.2 8.2 0 0 0 12.85.03 7.57 7.57 0 0 0 1.12-7.22 4.67 4.67 0 0 0-1.6-2.22c-.27-.16-.28-.1-.1.27a7.68 7.68 0 0 1 .55 1.49l-.12-.2c-.39-.7-.77-1.2-1.68-2.21-.86-.95-1.15-1.3-1.52-1.85-.3-.44-.43-.67-.48-.84-.05-.17-.1-.16-.41.04z"/></svg>
<!-- Group -->
<svg id="icon_group" xmlns="http://www.w3.org/2000/svg"><rect width="16" height="4" rx="1"/><rect y="6" width="16" height="4" rx="1"/><rect y="12" width="10" height="4" rx="1"/></svg>
<!-- PNG -->
<svg id="icon_png" xmlns="http://www.w3.org/2000/svg"><path d="M1.53 9.84a1.02 1.02 0 0 0 .8.34.9.9 0 0 0 .4-.08.79.79 0 0 0 .3-.27c.1-.12.16-.29.21-.48a3.33 3.33 0 0 0 .01-1.4c-.03-.2-.09-.34-.16-.45a.62.62 0 0 0-.59-.33c-.22 0-.4.04-.55.13-.14.08-.28.2-.42.36v2.18zm-.09-3.1c.2-.22.43-.4.68-.53a1.9 1.9 0 0 1 1.66-.03c.23.12.43.29.6.51.16.23.28.5.38.83a3.9 3.9 0 0 1-.02 2.17c-.1.33-.26.61-.45.85-.2.25-.43.43-.7.57-.26.13-.56.2-.89.2-.26 0-.49-.04-.67-.11a1.83 1.83 0 0 1-.5-.3v1.96H0V6.1h.95c.2 0 .32.08.38.26l.11.37zM7.11 6.65l.3-.25a1.73 1.73 0 0 1 .74-.33 2.03 2.03 0 0 1 1.2.1c.22.1.4.23.55.4.15.18.26.38.33.62.08.24.12.5.12.78v3.26H8.8V7.97a.89.89 0 0 0-.17-.58c-.12-.15-.28-.22-.5-.22-.18 0-.34.04-.48.11-.15.07-.3.17-.43.29v3.66H5.69V6.1h.96c.19 0 .31.08.37.26l.1.3zM13.3 8.4c.25 0 .43-.07.55-.2.11-.12.17-.29.17-.49s-.06-.37-.17-.49c-.12-.12-.3-.18-.55-.18-.26 0-.44.06-.56.18a.69.69 0 0 0-.17.5c0 .1.02.18.04.27.03.08.08.15.14.21.06.06.13.11.22.15.1.03.2.05.33.05zm1.19 3.02a.27.27 0 0 0-.17-.26c-.1-.06-.25-.1-.42-.12a5.13 5.13 0 0 0-.6-.04c-.2 0-.42-.02-.64-.04-.1.07-.17.14-.23.22a.44.44 0 0 0-.1.28c0 .07.02.13.05.2a.4.4 0 0 0 .17.15c.08.04.18.07.32.1a3.07 3.07 0 0 0 1.05 0c.14-.03.25-.07.34-.11a.4.4 0 0 0 .23-.38zM16 6.26v.56c0 .08-.02.15-.07.2a.47.47 0 0 1-.25.11l-.37.09a1.66 1.66 0 0 1 .07.46 1.56 1.56 0 0 1-.6 1.22c-.2.14-.41.25-.67.33a2.84 2.84 0 0 1-1.27.08c-.11.07-.17.14-.17.23s.05.15.14.19c.1.03.22.06.37.08l.51.03a7.34 7.34 0 0 1 1.19.12c.2.04.36.11.52.2a1.08 1.08 0 0 1 .5 1c0 .23-.06.46-.17.68-.11.22-.27.42-.5.6-.21.16-.48.3-.8.4a4.21 4.21 0 0 1-2.13.04 2.52 2.52 0 0 1-.73-.3c-.19-.12-.33-.26-.42-.42a1 1 0 0 1-.14-.5c0-.23.07-.42.2-.58.13-.15.31-.27.55-.36a.87.87 0 0 1-.3-.3.87.87 0 0 1-.06-.7.87.87 0 0 1 .12-.24 1.3 1.3 0 0 1 .52-.43 1.71 1.71 0 0 1-.63-.55c-.15-.24-.23-.51-.23-.82 0-.26.05-.49.16-.7.11-.2.26-.38.45-.52s.41-.26.67-.33a2.83 2.83 0 0 1 2 .13H16z"/></svg>
<!-- JPG -->
<svg id="icon_jpg" xmlns="http://www.w3.org/2000/svg"><path d="M3.68 5.5v5.6c0 .25-.03.5-.1.73a1.5 1.5 0 0 1-.92 1.02c-.25.1-.56.15-.92.15-.14 0-.26 0-.38-.03A2.8 2.8 0 0 1 1 12.9l.05-.87c.01-.08.04-.13.08-.17.04-.04.13-.05.25-.05.13 0 .24-.01.32-.04a.37.37 0 0 0 .2-.1.44.44 0 0 0 .1-.23c.01-.09.03-.2.03-.35V5.51h1.65zm.17-1.52a.9.9 0 0 1-.08.37 1.03 1.03 0 0 1-1.31.52 1.18 1.18 0 0 1-.32-.2c-.09-.1-.16-.2-.21-.32a.97.97 0 0 1 .21-1.07c.1-.08.2-.15.32-.2a1 1 0 0 1 1.1.21.92.92 0 0 1 .3.7zM6.49 9.56a1.1 1.1 0 0 0 .86.38c.16 0 .3-.03.43-.1a.85.85 0 0 0 .33-.28c.1-.14.17-.31.22-.53a3.64 3.64 0 0 0 .02-1.53c-.05-.2-.1-.36-.18-.48a.68.68 0 0 0-.63-.35c-.25 0-.45.05-.6.14-.16.09-.3.22-.45.39v2.36zm-.1-3.37c.22-.23.46-.42.73-.57a2.04 2.04 0 0 1 1.8-.03c.24.13.45.32.63.56.18.24.32.54.42.9a4.26 4.26 0 0 1-.03 2.36c-.11.35-.27.66-.48.92a2.08 2.08 0 0 1-1.7.83c-.3 0-.54-.03-.74-.12-.2-.08-.37-.19-.53-.33v2.14H4.83V5.51h1.03c.2 0 .34.09.4.27l.13.41zM13.09 8c.27 0 .47-.07.59-.2a.78.78 0 0 0 .18-.54c0-.23-.06-.4-.18-.53s-.32-.2-.6-.2c-.27 0-.47.07-.6.2a.75.75 0 0 0-.17.53c0 .1.01.2.04.3.03.08.08.16.14.23.07.06.15.12.24.16.1.03.22.05.36.05zm1.28 3.28a.3.3 0 0 0-.18-.28 1.4 1.4 0 0 0-.46-.13c-.19-.02-.4-.04-.63-.04-.24 0-.47-.02-.7-.05-.1.08-.19.16-.25.25a.48.48 0 0 0-.1.3c0 .07.02.14.05.2.03.07.1.13.18.17.08.05.2.09.34.11a3.29 3.29 0 0 0 1.14 0c.15-.03.27-.07.36-.12a.44.44 0 0 0 .25-.4zM16 5.68v.6a.3.3 0 0 1-.08.23.51.51 0 0 1-.26.12l-.4.09a1.8 1.8 0 0 1 .07.5 1.7 1.7 0 0 1-.65 1.32c-.2.16-.44.28-.71.36a3.04 3.04 0 0 1-1.38.09c-.12.07-.18.16-.18.25 0 .1.05.16.15.2.1.05.23.07.4.1l.55.02a7.86 7.86 0 0 1 1.28.14c.2.05.4.12.56.22a1.17 1.17 0 0 1 .54 1.09c0 .25-.06.5-.18.73-.12.24-.3.46-.53.64-.24.19-.53.34-.87.45a4.5 4.5 0 0 1-2.3.05 2.7 2.7 0 0 1-.78-.33c-.2-.13-.36-.29-.46-.46a1.1 1.1 0 0 1-.15-.55c0-.25.07-.46.21-.62.14-.17.34-.3.6-.4a.94.94 0 0 1-.32-.32.95.95 0 0 1-.08-.75c.03-.1.08-.19.14-.27a1.42 1.42 0 0 1 .56-.46 1.85 1.85 0 0 1-.68-.61 1.58 1.58 0 0 1-.25-.89 1.68 1.68 0 0 1 .66-1.32c.2-.16.45-.28.72-.36a3.03 3.03 0 0 1 2.15.14H16z"/></svg>
<!-- PDF -->
<svg id="icon_pdf" xmlns="http://www.w3.org/2000/svg"><path d="M1.7 9.65a1.12 1.12 0 0 0 .88.39 1 1 0 0 0 .43-.1.87.87 0 0 0 .34-.3c.1-.13.17-.3.23-.53.05-.22.08-.48.08-.8 0-.3-.02-.55-.07-.75-.04-.2-.1-.37-.18-.5a.69.69 0 0 0-.65-.35c-.24 0-.45.04-.6.13-.17.1-.32.23-.47.4v2.41zm-.11-3.43c.22-.24.47-.43.75-.58a2.1 2.1 0 0 1 1.83-.03c.25.13.47.32.65.57.19.24.33.55.43.91a4.32 4.32 0 0 1-.02 2.4 2.9 2.9 0 0 1-.5.95 2.14 2.14 0 0 1-1.75.85c-.3 0-.54-.05-.74-.13-.2-.08-.38-.2-.55-.34V13H0V5.52h1.05c.21 0 .35.1.41.28l.13.42zM9.72 7.04a1.04 1.04 0 0 0-.41-.3c-.15-.05-.31-.08-.47-.08a.9.9 0 0 0-.78.4c-.1.13-.17.3-.22.52a3.69 3.69 0 0 0-.02 1.55c.04.2.1.37.18.5.08.13.17.22.28.27.11.06.24.08.37.08.12 0 .23 0 .33-.03a1.26 1.26 0 0 0 .52-.27l.22-.23v-2.4zM11.42 3v8.2h-1.05c-.22 0-.35-.1-.42-.29l-.13-.43a3.32 3.32 0 0 1-.76.59 2.24 2.24 0 0 1-1 .22c-.3 0-.57-.07-.82-.2a1.89 1.89 0 0 1-.65-.57 2.92 2.92 0 0 1-.43-.91 4.54 4.54 0 0 1 .02-2.41c.12-.36.28-.68.5-.94a2.18 2.18 0 0 1 1.76-.85c.29 0 .53.04.73.13.2.08.39.2.55.34V3h1.7zM12.98 11.2V6.69l-.37-.08a.8.8 0 0 1-.31-.14c-.08-.06-.12-.15-.12-.27v-.67h.8v-.32c0-.33.05-.62.15-.88a1.91 1.91 0 0 1 1.17-1.11 2.78 2.78 0 0 1 1.7-.05l-.03.83a.3.3 0 0 1-.05.14.32.32 0 0 1-.1.1.63.63 0 0 1-.27.07c-.15 0-.29 0-.4.04a.64.64 0 0 0-.3.16.7.7 0 0 0-.17.3c-.04.11-.06.27-.06.45v.27h1.33v1.16h-1.28v4.5h-1.7z"/></svg>
<!-- Local File -->
<svg id="icon_local_file" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 0c.6 0 1 .4 1 1v4c0 .6.4 1 1 1h4c.6 0 1 .4 1 1v7a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2c0-1.1.9-2 2-2h3zm6 4c.4.4.1 1-.4 1H10a1 1 0 0 1-1-1V1.4c0-.5.6-.8 1-.4l3 3zM5 8h6v1H5V8zm0 2h6v1H5v-1zm4 2H5v1h4v-1z"/></svg>
<!-- Prefereces -->
<svg id="icon_pref" xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M15 7h-2.1a4.97 4.97 0 0 0-.73-1.75l1.49-1.5a1 1 0 0 0-1.42-1.4l-1.49 1.48A4.97 4.97 0 0 0 9 3.1V1a1 1 0 0 0-2 0v2.1a4.97 4.97 0 0 0-1.75.73l-1.5-1.49a1 1 0 0 0-1.4 1.42l1.48 1.49A4.97 4.97 0 0 0 3.1 7H1a1 1 0 0 0 0 2h2.1a4.97 4.97 0 0 0 .74 1.76l-.05.03-1.45 1.45a1 1 0 1 0 1.42 1.42L5.2 12.2c0-.02.01-.03.03-.05A4.97 4.97 0 0 0 7 12.9V15a1 1 0 0 0 2 0v-2.1a4.97 4.97 0 0 0 1.75-.73l1.5 1.49a1 1 0 0 0 1.4-1.42l-1.48-1.49A4.97 4.97 0 0 0 12.9 9H15a1 1 0 0 0 0-2zM5 8a3 3 0 1 1 3 3 3 3 0 0 1-3-3z"/></svg>
<!-- Addons -->
<svg id="icon_addons" xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M14.5 8c-.97 0-1 1-1.75 1a.77.77 0 0 1-.75-.75V5a1 1 0 0 0-1-1H7.75A.77.77 0 0 1 7 3.25c0-.75 1-.78 1-1.75C8 .64 7.1 0 6 0S4 .64 4 1.5c0 .97 1 1 1 1.75a.77.77 0 0 1-.75.75H1a1 1 0 0 0-1 1v2.25A.77.77 0 0 0 .75 8c.75 0 .78-1 1.75-1C3.37 7 4 7.9 4 9s-.64 2-1.5 2c-.97 0-1-1-1.75-1a.77.77 0 0 0-.75.75V15a1 1 0 0 0 1 1h3.25a.77.77 0 0 0 .75-.75c0-.75-1-.78-1-1.75 0-.86.9-1.5 2-1.5s2 .64 2 1.5c0 .97-1 1-1 1.75a.77.77 0 0 0 .75.75H11a1 1 0 0 0 1-1v-3.25a.77.77 0 0 1 .75-.75c.75 0 .78 1 1.75 1 .86 0 1.5-.9 1.5-2s-.64-2-1.5-2z"/></svg>
<!-- Performance -->
<svg id="icon_perf" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 1a8 8 0 0 0-8 8 7.89 7.89 0 0 0 .78 3.43 1 1 0 0 0 .9.57.94.94 0 0 0 .43-.1 1 1 0 0 0 .47-1.33A6.07 6.07 0 0 1 2 9a6 6 0 0 1 12 0 5.93 5.93 0 0 1-.59 2.57 1 1 0 0 0 1.81.86A7.89 7.89 0 0 0 16 9a8 8 0 0 0-8-8z"/><path d="M11.77 7.08a.5.5 0 0 0-.69.15L8.62 11.1A2.12 2.12 0 0 0 8 11a2 2 0 0 0 0 4 2.05 2.05 0 0 0 1.12-.34 2.31 2.31 0 0 0 .54-.54 2 2 0 0 0 0-2.24 2.31 2.31 0 0 0-.2-.24l2.46-3.87a.5.5 0 0 0-.15-.69z"/></svg>
</div>
<input type="text" id="title" class="title" value="Group" placeholder="---">
<div id="tabs" class="tabs"></div>
Expand Down
2 changes: 1 addition & 1 deletion addon/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"author": "mbnuqw",
"name": "__MSG_ExtName__",
"version": "3.0.8",
"version": "3.1.0",
"default_locale": "en",
"description": "__MSG_ExtDesc__",
"homepage_url": "https://github.com/mbnuqw/sidebery",
Expand Down
18 changes: 18 additions & 0 deletions addon/settings/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<svg id="icon_addons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.5 8c-.97 0-1 1-1.75 1a.77.77 0 0 1-.75-.75V5a1 1 0 0 0-1-1H7.75A.77.77 0 0 1 7 3.25c0-.75 1-.78 1-1.75C8 .64 7.1 0 6 0S4 .64 4 1.5c0 .97 1 1 1 1.75a.77.77 0 0 1-.75.75H1a1 1 0 0 0-1 1v2.25A.77.77 0 0 0 .75 8c.75 0 .78-1 1.75-1C3.37 7 4 7.9 4 9s-.64 2-1.5 2c-.97 0-1-1-1.75-1a.77.77 0 0 0-.75.75V15a1 1 0 0 0 1 1h3.25a.77.77 0 0 0 .75-.75c0-.75-1-.78-1-1.75 0-.86.9-1.5 2-1.5s2 .64 2 1.5c0 .97-1 1-1 1.75a.77.77 0 0 0 .75.75H11a1 1 0 0 0 1-1v-3.25a.77.77 0 0 1 .75-.75c.75 0 .78 1 1.75 1 .86 0 1.5-.9 1.5-2s-.64-2-1.5-2z"/></svg>
<!-- Pin -->
<svg id="icon_pin" viewBox="0 0 16 17" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.9 1.47c.21-.1.47-.09.67.04l4.3 2.81a.63.63 0 0 1-.11 1.1l-1.94.77-2.12 4.06.98 2.71c.09.26 0 .54-.22.7a.66.66 0 0 1-.76.03L7 11.9 3.5 15.83a.66.66 0 0 1-.8.07.62.62 0 0 1-.25-.75l2.52-4.56-2.8-1.83a.62.62 0 0 1-.26-.69.64.64 0 0 1 .6-.46l2.95-.13 3.09-3.43V2.02c0-.23.14-.44.35-.55z"/></svg>
<!-- Bookmarks -->
<svg id="icon_bookmarks" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.7 11a.3.3 0 0 0 .3-.3V7.08c0-.3-.4-.41-.56-.15l-2.17 3.62a.3.3 0 0 0 .26.45h2.17zM13.8 4.35l-5.54-3.2a.3.3 0 0 0-.41.11l-5.56 9.63a.3.3 0 0 0 .29.45L6.07 11a.3.3 0 0 1 .3.17l1.45 3.2c.1.21.41.23.53.02l5.56-9.63a.3.3 0 0 0-.1-.41z"/></svg>
<!-- Tabs -->
<svg id="icon_tabs" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4 3H2v2h2V3zM4 6H2v2h2V6zM5 8V6h9v2H5zM4 9H2v2h2V9zM5 11V9h5v2H5zM4 12H2v2h2v-2zM5 14v-2h7v2H5zM5 5V3h7v2H5z"/></svg>
<!-- Fingerprint -->
Expand Down Expand Up @@ -54,6 +56,10 @@
<svg id="icon_expand" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.67 6.37l.66-.74 4.17 3.7 4.17-3.7.66.74-4.83 4.3-4.83-4.3z"/></svg>
<!-- Remove -->
<svg id="icon_remove" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.8 7.5L4.14 4.85l.7-.7L7.5 6.79l2.65-2.64.7.7L8.21 7.5l2.64 2.65-.7.7L7.5 8.21l-2.65 2.64-.7-.7L6.79 7.5z"/></svg>
<!-- Delete -->
<svg id="icon_delete" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.57 0h4l.93 2h2.92L15 4.9l-.98.2L13.6 3H3.41l-.42 2.1-.98-.2.58-2.9H5.5l1.07-2zM7 2h3l-.5-1H7.57L7 2zM4 4h1v10h7V4h1v11H4V4z"/><path d="M6 13h1V5H6v8zM8 13h1V5H8v8zM10 13h1V5h-1v8z"/></svg>
<!-- Hide -->
<svg id="icon_hide" viewBox="0 0 18 16" xmlns="http://www.w3.org/2000/svg"><path d="M11 8a2 2 0 11-4 0 2 2 0 014 0z"/><path d="M3.08 8c2.2 2.07 4.11 3 5.92 3 1.8 0 3.71-.93 5.92-3-2.2-2.07-4.11-3-5.92-3-1.8 0-3.71.93-5.92 3zM9 3.5c2.55 0 4.98 1.42 7.53 3.97l.53.53-.53.53C13.98 11.08 11.55 12.5 9 12.5s-4.98-1.42-7.53-3.97L.94 8l.53-.53C4.02 4.92 6.45 3.5 9 3.5z"/></svg>
</div>

<div
Expand Down Expand Up @@ -86,6 +92,10 @@
class="sub-option"
:data-active="$store.state.activeSection === 'settings_group'"
@click="navigateTo('settings_group')">{{t('settings.nav_settings_group')}}</div>
<div
class="sub-option"
:data-active="$store.state.activeSection === 'settings_panels'"
@click="navigateTo('settings_panels')">{{t('settings.nav_settings_panels')}}</div>
<div
class="sub-option"
:data-active="$store.state.activeSection === 'settings_tabs'"
Expand Down Expand Up @@ -139,10 +149,18 @@
class="sub-option"
:data-active="$store.state.activeSection === 'menu_editor_tabs'"
@click="navigateTo('menu_editor_tabs')">{{t('settings.nav_menu_tabs')}}</div>
<div
class="sub-option"
:data-active="$store.state.activeSection === 'menu_editor_tabs_panel'"
@click="navigateTo('menu_editor_tabs_panel')">{{t('settings.nav_menu_tabs_panel')}}</div>
<div
class="sub-option"
:data-active="$store.state.activeSection === 'menu_editor_bookmarks'"
@click="navigateTo('menu_editor_bookmarks')">{{t('settings.nav_menu_bookmarks')}}</div>
<div
class="sub-option"
:data-active="$store.state.activeSection === 'menu_editor_bookmarks_panel'"
@click="navigateTo('menu_editor_bookmarks_panel')">{{t('settings.nav_menu_bookmarks_panel')}}</div>

<div
class="option"
Expand Down
8 changes: 8 additions & 0 deletions addon/sidebar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,20 @@
<svg id="icon_expand" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.67 6.37l.66-.74 4.17 3.7 4.17-3.7.66.74-4.83 4.3-4.83-4.3z"/></svg>
<!-- Remove -->
<svg id="icon_remove" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.8 7.5L4.14 4.85l.7-.7L7.5 6.79l2.65-2.64.7.7L8.21 7.5l2.64 2.65-.7.7L7.5 8.21l-2.65 2.64-.7-.7L6.79 7.5z"/></svg>
<!-- Delete -->
<svg id="icon_delete" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.57 0h4l.93 2h2.92L15 4.9l-.98.2L13.6 3H3.41l-.42 2.1-.98-.2.58-2.9H5.5l1.07-2zM7 2h3l-.5-1H7.57L7 2zM4 4h1v10h7V4h1v11H4V4z"/><path d="M6 13h1V5H6v8zM8 13h1V5H8v8zM10 13h1V5h-1v8z"/></svg>
<!-- Loading -->
<svg id="icon_load" viewBox="0 0 5 3" xmlns="http://www.w3.org/2000/svg"><path d="M.28.95l.44-.9 1.78.9 1.78-.9.44.9-2.22 1.1L.28.96z"/></svg>
<!-- Proxy -->
<svg id="icon_proxy" viewBox="0 0 9 9" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.5.8L9 3.34H7.5L7 2.71V7.5H6V2.7l-.5.65H4L6.5.8zM2 6.3V1.5h1v4.8l.65-.65H5L2.5 8.2 0 5.65h1.35l.65.64z"/></svg>
<!-- Github -->
<svg id="icon_github" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M8 0a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38l-.01-1.49c-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.42 7.42 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48l-.01 2.2c0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8a8 8 0 0 0-8-8z"/></svg>
<!-- Collapse all -->
<svg id="icon_collapse_all" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4 9h5v1H4V9z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6 1a2 2 0 00-2 2v1H3a2 2 0 00-2 2v7c0 1.1.9 2 2 2h7a2 2 0 002-2v-1h1a2 2 0 002-2V3a2 2 0 00-2-2H6zm4 3H6a1 1 0 011-1h5a1 1 0 011 1v5a1 1 0 01-1 1V6a2 2 0 00-2-2zM4 6a1 1 0 00-1 1v5a1 1 0 001 1h5a1 1 0 001-1V7a1 1 0 00-1-1H4z"/></svg>
<!-- Panel config -->
<svg id="icon_panel_config" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 1a2 2 0 00-2 2v10c0 1.1.9 2 2 2h8a2 2 0 002-2V3a2 2 0 00-2-2H4zm0 13a1 1 0 01-1-1V4a1 1 0 011-1h8a1 1 0 011 1v9a1 1 0 01-1 1H4z"/><path d="M4 6v1h6V6H4zM11 6v1h1V6h-1zM4 10v1h6v-1H4zM11 10v1h1v-1h-1zM4 4v1h6V4H4zM11 4v1h1V4h-1zM4 8v1h6V8H4zM11 8v1h1V8h-1z"/></svg>
<!-- Dedup -->
<svg id="icon_dedup_tabs" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3 4a2 2 0 00-2 2v7c0 1.1.9 2 2 2h7a2 2 0 002-2V6a2 2 0 00-2-2H3zm1 9a1 1 0 01-1-1V7a1 1 0 011-1h5a1 1 0 011 1v5a1 1 0 01-1 1H4z"/><path d="M8.24 1H6a2 2 0 00-.52.07L7.41 3h2.83l-2-2zM13 5.76v2.83l1.93 1.93A2 2 0 0015 10V7.76l-2-2zM15 4.93V3a2 2 0 00-2-2h-1.93L15 4.93zM13.52 11.93L12 10.41V12h1a2 2 0 00.52-.07zM5.59 4L4.07 2.48A2 2 0 004 3v1h1.59z"/></svg>
</div>

<div
Expand Down
1 change: 1 addition & 0 deletions addon/url/url.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</head>
<body id="root">
<p id="url" class="url"></p>
<div id="copy_btn" class="btn">Copy</div>
<script src="./url.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sidebery",
"version": "3.0.8",
"version": "3.1.0",
"description": "Manage your tabs and bookmarks in sidebar",
"main": "index.js",
"scripts": {
Expand Down
Loading

0 comments on commit 2cb8dd4

Please sign in to comment.