Skip to content

Commit

Permalink
establishing new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
evandor committed Sep 3, 2024
1 parent 78d92af commit 72e86fe
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 35 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tabsets.net",
"version": "0.5.9",
"version": "0.5.10",
"description": "Use tabsets.net to safely keep track of all your tabs and links in the Side Panel, stored locally on your browser",
"productName": "Tabsets.net",
"author": "evandor <[email protected]>",
Expand Down Expand Up @@ -107,7 +107,7 @@
"@quasar/app-vite": "^1.9.5",
"@quasar/babel-preset-app": "^2.0.3",
"@quasar/quasar-app-extension-testing-unit-vitest": "^1.0.0",
"@types/node": "^22.5.1",
"@types/node": "^22.5.2",
"@types/uuid": "^10.0.0",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^1.6.0",
Expand Down
5 changes: 0 additions & 5 deletions src-bex/manifest-chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
"<all_urls>",
"*://*/*"
],
"sidebar_action": {
"default_icon": "icons/icon-48x48.png",
"default_title": "tabsets.bet - Better Bookmarks",
"default_panel": "www/sidepanel.html"
},
"background": {
"service_worker": "background.js"
},
Expand Down
6 changes: 2 additions & 4 deletions src-bex/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
"<all_urls>",
"*://*/*"
],
"sidebar_action": {
"default_icon": "icons/icon-48x48.png",
"default_title": "tabsets.bet - Better Bookmarks",
"default_panel": "www/sidepanel.html"
"side_panel": {
"default_path": "www/sidepanel.html"
},
"background": {
"service_worker": "background.js"
Expand Down
9 changes: 1 addition & 8 deletions src/app/BrowserApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class BrowserApi {

restore(tabset: Tabset, windowName: string | undefined = undefined, inNewWindow: boolean = true) {
console.log("restoring tabset ", tabset.id, windowName, inNewWindow)

debugger
const urlAndGroupArray: object[] = _.map(tabset.tabs, (t: Tab) => {
return {url: t.url, group: t.groupName} || {url: '', group: undefined}
})
Expand All @@ -305,13 +305,6 @@ class BrowserApi {
_.map(urlAndGroupArray, a => a['url' as keyof object]),
undefined,
_.map(urlAndGroupArray, a => a['group' as keyof object]))
// TODO deactivate listeners - needed?
// useTabsStore().deactivateListeners()
// this.getCurrentTab()
// ...
// Promise.all(promisedTabs)
// .then(() => useTabsStore().activateListeners())
// })
} else {
console.log("opening urls", urlAndGroupArray)
NavigationService.openOrCreateTab(_.map(urlAndGroupArray, a => a['url' as keyof object]),
Expand Down
2 changes: 1 addition & 1 deletion src/core
Submodule core updated 1 files
+7 −6 services/Utils.ts
13 changes: 0 additions & 13 deletions tag.sh

This file was deleted.

9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2702,7 +2702,7 @@
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.34.tgz#10964ba0dee6ac4cd462e2795b6bebd407303433"
integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==

"@types/node@*", "@types/node@>=10.0.0", "@types/node@^22.2.0", "@types/node@^22.5.1":
"@types/node@*", "@types/node@>=10.0.0", "@types/node@^22.2.0":
version "22.5.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.5.1.tgz#de01dce265f6b99ed32b295962045d10b5b99560"
integrity sha512-KkHsxej0j9IW1KKOOAA/XBA0z08UFSrRQHErzEfA3Vgq57eXIMYboIlHJuYIfd+lwCQjtKqUu3UnmKbtUc9yRw==
Expand All @@ -2721,6 +2721,13 @@
dependencies:
undici-types "~6.19.2"

"@types/node@^22.5.2":
version "22.5.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.5.2.tgz#e42344429702e69e28c839a7e16a8262a8086793"
integrity sha512-acJsPTEqYqulZS/Yp/S3GgeE6GZ0qYODUR8aVr/DkhHQ8l9nd4j5x1/ZJy9/gHrRlFMqkO6i0I3E27Alu4jjPg==
dependencies:
undici-types "~6.19.2"

"@types/normalize-package-data@^2.4.1":
version "2.4.4"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901"
Expand Down

0 comments on commit 72e86fe

Please sign in to comment.