Skip to content

Commit

Permalink
snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
evandor committed Dec 14, 2024
1 parent 02cc893 commit 5f54e48
Show file tree
Hide file tree
Showing 77 changed files with 3,696 additions and 4,801 deletions.
4 changes: 1 addition & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
root = true

[*]
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
charset = utf-8
indent_style = space
indent_size = 2
Expand Down
57 changes: 10 additions & 47 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# Quasar core related directories
.quasar
/dist
/quasar.config.*.temporary.compiled*

# Cordova related directories and files
/src-cordova/node_modules
Expand All @@ -13,12 +14,8 @@ node_modules
/src-cordova/www

# Capacitor related directories and files
/src-capacitor2/www
/src-capacitor2/node_modules

# BEX related directories and files
/src-bex/www
/src-bex/js/core
/src-capacitor/www
/src-capacitor/node_modules

# Log files
npm-debug.log*
Expand All @@ -36,50 +33,15 @@ yarn-error.log*
docs/.vitepress/dist
docs/.vitepress/cache

/config/.env.local
# local .env files
.env.local*
/.env
/releases/0.1.0/Packaged.tabsets.zip
/releases/0.1.0/Packaged.tabsets/
/releases/0.1.1/
/releases/0.1.2/
/releases/0.2.0/
/releases/0.2.1/
/releases/0.2.2/
/releases/0.2.3/
/test-results/
/playwright-report/
/playwright/.cache/
/releases/0.2.4 (first public)/
/releases/0.2.5/
/e2e/screenshots/
/releases/0.2.6/
/releases/0.2.7/
/releases/0.2.8/
/releases/0.2.9/
/releases/0.2.10/
/releases/0.2.11/
/releases/0.2.12/
/releases/0.3.0/
/releases/0.3.1/
/releases/0.3.2/
/releases/0.4.0/
/public/cat.png
/public/models/Xenova/distilbert-base-uncased-finetuned-sst-2-english/model.safetensors
/public/models/Xenova/distilbert-base-uncased-finetuned-sst-2-english/pytorch_model.bin
/public/models/Xenova/distilbert-base-uncased-finetuned-sst-2-english/rust_model.ot
/public/models/Xenova/distilbert-base-uncased-finetuned-sst-2-english/tf_model.h5
/public/vids/
/coverage/
/docs/vids/
/Tabsets - Manage Tabs and Bookmarks with Ease/
/.dev.env

# Sentry Config File
.env.sentry-build-plugin
/.env.prd
/.prd.env
/.env.tmp
/.tabsets-backend-prd.env
/.env.tmp
/.opera.env
/docs/submodules/build/
/src-bex/manifest.tmp

# Sentry Config File
.env.sentry-build-plugin
Expand All @@ -88,3 +50,4 @@ docs/.vitepress/cache
.sentryclirc
/.edge.env
/blob-report/
/test-results/
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,44 @@ https://evandor.github.io/tabsets/
# User Documentation

https://docs.tabsets.net

# Quasar App (quasar-project)

A Quasar Project

## Install the dependencies
```bash
yarn
# or
npm install
```

### Start the app in development mode (hot-code reloading, error reporting, etc.)
```bash
quasar dev
```


### Lint the files
```bash
yarn lint
# or
npm run lint
```


### Format the files
```bash
yarn format
# or
npm run format
```


### Build the app for production
```bash
quasar build
```

### Customize the configuration
See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js).
2 changes: 1 addition & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ git submodule add -b main https://github.com/evandor/submodule-opentabs.git src/
git submodule add -b main https://github.com/evandor/submodule-requests.git src/requests
git submodule add -b main https://github.com/evandor/submodule-search.git src/search
git submodule add -b localstorage https://github.com/evandor/submodule-snapshots.git src/snapshots
git submodule add -b main https://github.com/evandor/submodule-spaces.git src/spaces
git submodule add -b localstorage https://github.com/evandor/submodule-spaces.git src/spaces
git submodule add -b main https://github.com/evandor/submodule-suggestions.git src/suggestions
git submodule add -b localstorage https://github.com/evandor/submodule-tabsets.git src/tabsets
git submodule add -b localstorage https://github.com/evandor/submodule-thumbnails.git src/thumbnails
Expand Down
6 changes: 2 additions & 4 deletions e2e/AboutPage.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import {expect, Locator, Page} from "@playwright/test";
import {TabsetPage} from "app/e2e/TabsetPage";
import {TabsetTestPage} from "app/e2e/TabsetTestPage";

export class AboutPage extends TabsetPage {
export class AboutPage { //extends TabsetPage {

readonly page: Page;
private extensionId: string;
Expand All @@ -16,7 +14,7 @@ export class AboutPage extends TabsetPage {
private addUrlDialogBtn: Locator;

constructor(page: Page, extensionId:string) {
super();
//super();
this.page = page;
this.extensionId = extensionId;
this.createFirstTabsetBtn = page.locator('[data-testid=createFirstTabsetBtn]')
Expand Down
5 changes: 2 additions & 3 deletions e2e/TabsetTestPage.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {expect, Locator, Page} from "@playwright/test";
import {TabsetPage} from "app/e2e/TabsetPage";

export class TabsetTestPage extends TabsetPage {
export class TabsetTestPage { //extends TabsetPage {

readonly page: Page;
private extensionId: string;
Expand All @@ -14,7 +13,7 @@ export class TabsetTestPage extends TabsetPage {
// private newTabsetAutoAdd: Locator;

constructor(page: Page, extensionId: string) {
super();
// super();
this.page = page;
this.extensionId = extensionId;
expect(page).toHaveURL(/.*\/tabsets\//);
Expand Down
2 changes: 1 addition & 1 deletion e2e/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const test = base.extend<{
background = await context.waitForEvent('serviceworker');

const extensionId = background.url().split('/')[2];
await use(extensionId);
await use(extensionId!);
},
});
export const expect = test.expect;
91 changes: 42 additions & 49 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
{
"name": "tabsets.net",
"version": "0.6.3",
"version": "0.7.0",
"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]>",
"type": "module",
"private": true,
"scripts": {
"dev": "quasar dev -m bex",
"dev spa (only for testing)": "quasar dev -m spa",
"dev pwa": "quasar dev -m pwa",
"dev ssr": "quasar dev -m ssr",
"dev stage prod": "stage=production quasar dev -m bex",
"dev cordova": "quasar dev -m cordova -T ios",
"web-ext run": "cd dist/bex && web-ext run --verbose",
"web-ext build": "quasar build -m bex && zip dist/tabset.src.zip -r src/ src-bex/ package.json && cd dist/bex && web-ext build",
"build bex (dev)": "mv .env .env.tmp && cp .dev.env .env && quasar build -m bex && mv .env.tmp .env",
"build bex (prd)": "mv .env .env.tmp && cp .prd.env .env && quasar build -m bex && mv .env.tmp .env",
"build bex (publish)": "quasar build -m bex",
"build bex firefox": "scripts/build.sh firefox",
"build bex edge": "scripts/build.sh edge",
"build bex opera": "scripts/build.sh opera",
"build pwa": "quasar build -m pwa",
"icon": "icongenie generate -i src/assets/icon.png",
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
"format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
"test": "echo \"See package.json => scripts for available tests.\" && exit 0",
"dev": "quasar dev -m bex -T chrome",
"build": "quasar build",
"postinstall": "quasar prepare",
"test:unit:ui": "vitest --ui",
"test:unit": "vitest",
"test:unit:ci": "vitest run",
Expand All @@ -34,12 +24,6 @@
"test:e2e:showReport": "npx playwright show-report",
"test:specificTest": "npx playwright test addFirstTabset",
"test:specificTest:debug": "npx playwright test addFirstTabset --debug",
"load:0.4.11.chrome": "rm -rf dist && mkdir -p dist/bex && cd dist/bex && unzip ../../../../releases/0.4.11/tabsets-chrome-0.4.11.zip && cd ../../../../",
"build pwa.prd & deploy to india032": "mv .env .env.tmp && cp .prd.env .env && quasar build -m pwa && scp -r -P 222 dist/pwa/* [email protected]:/home/carsten/tabsets/pwa.tabsets.net && mv .env.tmp .env",
"build pwa.dev & deploy to india032": "mv .env .env.tmp && cp .dev.env .env && quasar build -m pwa && scp -r -P 222 dist/pwa/* [email protected]:/home/carsten/tabsets/pwa.dev.tabsets.net && mv .env.tmp .env",
"docs:dev": "./copySubmoduleDocs.sh && vitepress dev docs",
"docs:build": "./copySubmoduleDocs.sh && vitepress build docs",
"docs:preview": "vitepress preview docs",
"info": "yarn list > docs/yarn.list.txt && quasar info > docs/quasar.info.txt",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org skysail-dk --project tabsets ./dist && sentry-cli sourcemaps upload --org skysail-dk --project tabsets ./dist"
},
Expand All @@ -49,9 +33,8 @@
"@editorjs/editorjs": "^2.30.7",
"@editorjs/header": "^2.8.7",
"@he-tree/vue": "^2.9.2",
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@mozilla/readability": "^0.5.0",
"@quasar/extras": "^1.16.14",
"@quasar/extras": "^1.16.4",
"@rowanmanning/feed-parser": "^1.1.0",
"@sentry/browser": "^8.41.0",
"@sentry/cli": "^2.39.1",
Expand All @@ -60,7 +43,7 @@
"@types/mdast": "^4.0.4",
"@types/pngjs": "^6.0.5",
"@types/sanitize-html": "^2.13.0",
"axios": "^1.7.8",
"axios": "^1.2.1",
"buffer": "^6.0.3",
"chart.js": "^4.4.6",
"chartjs-chart-wordcloud": "^4.4.4",
Expand All @@ -79,60 +62,70 @@
"mathjs": "^14.0.0",
"mdast-util-from-markdown": "^2.0.1",
"mhtml2html": "^3.0.0",
"pinia": "^2.2.8",
"pinia": "^2.0.11",
"pngjs": "^7.0.0",
"quasar": "^2.16.11",
"quasar": "^2.16.0",
"regenerator-runtime": "^0.14.1",
"register-service-worker": "^1.7.2",
"sanitize-html": "^2.13.0",
"throttled-queue": "^2.1.4",
"translate": "^3.0.0",
"ts-md5": "^1.3.1",
"url": "^0.11.4",
"uuid": "^11.0.3",
"vite-plugin-package-version": "^1.1.0",
"vue": "^3.5.13",
"vue": "^3.4.18",
"vue-chartjs": "^5.3.2",
"vue-draggable-next": "^2.2.1",
"vue-grid-layout-v3": "^3.1.1-rc.4",
"vue-highlight-words": "^3.0.1",
"vue-i18n": "^10.0.5",
"vue-i18n": "^9.2.2",
"vue-json-pretty": "^2.4.0",
"vue-router": "^4.5.0",
"vue-router": "^4.0.12",
"vue-timeago3": "^2.3.2"
},
"devDependencies": {
"@babel/preset-env": "^7.25.4",
"@editorjs/checklist": "^1.6.0",
"@editorjs/image": "^2.10.1",
"@editorjs/link": "^2.6.2",
"@editorjs/quote": "^2.7.4",
"@editorjs/raw": "^2.5.0",
"@editorjs/table": "^2.4.1",
"@playwright/test": "^1.49.0",
"@quasar/app-vite": "^1.11.0",
"@quasar/babel-preset-app": "^2.0.3",
"@quasar/quasar-app-extension-testing-unit-vitest": "^1.0.0",
"@types/node": "^22.10.1",
"@types/uuid": "^10.0.0",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vue/test-utils": "^2.4.6",
"@wdio/cli": "^9.4.1",
"autoprefixer": "^10.4.20",
"@eslint/js": "^9.14.0",
"@intlify/unplugin-vue-i18n": "^2.0.0",
"@quasar/app-vite": "^2.0.0",
"@quasar/quasar-app-extension-testing-unit-vitest": "^1.1.0",
"@types/node": "^20.5.9",
"@vue/eslint-config-prettier": "^10.1.0",
"@vue/eslint-config-typescript": "^14.1.3",
"@vitest/ui": "^2.0.5",
"autoprefixer": "^10.4.2",
"editorjs-alert": "^1.1.4",
"editorjs-text-color-plugin": "^2.0.4",
"eslint": "^9.14.0",
"eslint-plugin-vue": "^9.30.0",
"fake-indexeddb": "^6.0.0",
"mermaid": "^11.4.1",
"typescript": "^5.7.2",
"vite": "^2.9.18",
"globals": "^15.12.0",
"prettier": "^3.3.3",
"typescript": "~5.5.3",
"vite-plugin-checker": "^0.8.0",
"vitepress": "^1.5.0",
"vitepress-plugin-mermaid": "^2.0.16",
"vitest": "^1.6.0"
"vue-tsc": "^2.0.29",
"workbox-build": "^7.0.0",
"workbox-cacheable-response": "^7.0.0",
"workbox-core": "^7.0.0",
"workbox-expiration": "^7.0.0",
"workbox-precaching": "^7.0.0",
"workbox-routing": "^7.0.0",
"workbox-strategies": "^7.0.0",
"@vue/test-utils": "^2.4.4",
"vitest": "^2.0.5"
},
"engines": {
"node": "^22 || ^20 || ^18 || ^16",
"node": "^28 || ^26 || ^24 || ^22 || ^20 || ^18",
"npm": ">= 6.13.4",
"yarn": ">= 1.21.1"
}
}
}
Loading

0 comments on commit 5f54e48

Please sign in to comment.