Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Feat/todo [WIP] #197

Closed
wants to merge 52 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
5dcc4c8
feat:dwa-starter-vue-app-hello-word
Johnnyevans32 Oct 1, 2024
1a60fdb
feat:dwa-starter-vue-app-hello-word
Johnnyevans32 Oct 2, 2024
722e6ba
feat:dwa-starter-vue-app-hello-word
Johnnyevans32 Oct 2, 2024
eb70ad6
added tailwind css
Johnnyevans32 Oct 2, 2024
5db4bad
added tailwind css
Johnnyevans32 Oct 2, 2024
6b58d57
added tbd example json for ci integration
Johnnyevans32 Oct 2, 2024
53399f8
added tbd example json for ci integration
Johnnyevans32 Oct 2, 2024
8dc06e1
replaced npm with pnpm in ci/cd file
Johnnyevans32 Oct 2, 2024
bf9ade2
fix:pnpm build error in ci/cd
Johnnyevans32 Oct 2, 2024
323a6f8
fix:pnpm build error in ci/cd
Johnnyevans32 Oct 2, 2024
c855e5f
fix:pnpm build error in ci/cd
Johnnyevans32 Oct 2, 2024
61e7bf9
break the commands into seperate items
Johnnyevans32 Oct 2, 2024
71f033f
break the commands into seperate items
Johnnyevans32 Oct 2, 2024
d1c191b
Setup routes for Home, About, Settings and 404 handling
Johnnyevans32 Oct 3, 2024
0cbffbd
Setup routes for Home, About, Settings and 404 handling
Johnnyevans32 Oct 3, 2024
bf4b6bd
conflict fix
Johnnyevans32 Oct 3, 2024
817dd9d
remove vite config timestamp file
Johnnyevans32 Oct 3, 2024
45863c1
remove vite config timestamp file
Johnnyevans32 Oct 3, 2024
299701c
initial commit
Johnnyevans32 Oct 3, 2024
2d4bc05
initial commit
Johnnyevans32 Oct 3, 2024
8f52853
fix:layout
Johnnyevans32 Oct 3, 2024
f5acb27
fix:layout
Johnnyevans32 Oct 3, 2024
0e5cdd8
fix:layout
Johnnyevans32 Oct 4, 2024
840901f
fix:layout
Johnnyevans32 Oct 4, 2024
ca39e83
responsive nav menu
Johnnyevans32 Oct 4, 2024
4d506f6
responsive nav menu
Johnnyevans32 Oct 4, 2024
d7f09f3
responsive nav menu
Johnnyevans32 Oct 4, 2024
af78a4d
backdrop blur
Johnnyevans32 Oct 4, 2024
fd9e803
updated dark mode specs
Johnnyevans32 Oct 4, 2024
927738f
vite plugin pwa
Johnnyevans32 Oct 4, 2024
ec39945
conflict fix
Johnnyevans32 Oct 4, 2024
9e83878
remove unused navigation menu component
Johnnyevans32 Oct 4, 2024
a728cd6
conflict fix
Johnnyevans32 Oct 4, 2024
3ad3b3a
pwa assets generation and settings page form
Johnnyevans32 Oct 5, 2024
968615c
pwa assets generation and settings page form
Johnnyevans32 Oct 5, 2024
74cd639
web5 connection setup
Johnnyevans32 Oct 5, 2024
7cce532
web5 connection setup
Johnnyevans32 Oct 5, 2024
405d8ae
test case fix
Johnnyevans32 Oct 5, 2024
c60f4fd
test unit specs update
Johnnyevans32 Oct 6, 2024
c504971
Merge branch 'feat/pwa' of https://github.com/Johnnyevans32/tbd-examp…
Johnnyevans32 Oct 6, 2024
456bbda
test unit specs update
Johnnyevans32 Oct 6, 2024
212a907
feat:todo list
Johnnyevans32 Oct 6, 2024
fee7ea8
ci fix
Johnnyevans32 Oct 6, 2024
0ef7b9f
ci fix
Johnnyevans32 Oct 6, 2024
f390c32
ci fix
Johnnyevans32 Oct 6, 2024
bbe2eb4
Merge branch 'feat/dwa' of https://github.com/Johnnyevans32/tbd-examp…
Johnnyevans32 Oct 6, 2024
55675c9
Merge branch 'TBD54566975:main' into feat/pwa
Johnnyevans32 Oct 6, 2024
63d7e4d
fix
Johnnyevans32 Oct 7, 2024
de6bbff
conflict fix
Johnnyevans32 Oct 7, 2024
d2b8924
Merge branch 'feat/pwa' of https://github.com/Johnnyevans32/tbd-examp…
Johnnyevans32 Oct 7, 2024
e30be51
Merge branch 'feat/pwa' of https://github.com/Johnnyevans32/tbd-examp…
Johnnyevans32 Oct 7, 2024
ebd2103
fix todo list functions
Johnnyevans32 Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions javascript/dwa-starter-vue/e2e/vue.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ test('visits the about page', async ({ page }) => {
)
})

// Test for the settings page
test('visits the settings page', async ({ page }) => {
await page.goto('/settings')
await expect(page.locator('h1')).toHaveText('This is the settings page')
})
// TODO: mock web5 connection for access to settings page
// // Test for the settings page
// test('visits the settings page', async ({ page }) => {
// await page.goto('/settings')
// await expect(page.locator('h1')).toHaveText('Settings')
// })

// Test for the 404 page
test('handles 404 - Page Not Found', async ({ page }) => {
Expand Down
14 changes: 14 additions & 0 deletions javascript/dwa-starter-vue/globals.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
declare module 'vite-plugin-node-stdlib-browser' {
const nodePolyfills: any
export default nodePolyfills
}

declare module 'virtual:pwa-register' {
export function registerSW(options?: {
immediate?: boolean
onNeedRefresh?: () => void
onOfflineReady?: () => void
onRegistered?: (registration: ServiceWorkerRegistration) => void
onRegisterError?: (error: any) => void
}): (reloadPage?: boolean) => Promise<void>
}
9 changes: 8 additions & 1 deletion javascript/dwa-starter-vue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@

<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DWA Starter</title>
<meta name="description" content="A Decentralized Web Application template" />

<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="theme-color" content="#ffffff">

<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon-180x180.png">
</head>

<body>
Expand Down
22 changes: 20 additions & 2 deletions javascript/dwa-starter-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,46 @@
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/"
"format": "prettier --write src/",
"generate-pwa-assets": "pwa-assets-generator --preset minimal-2023 public/favicon.svg"
},
"dependencies": {
"@iconify-json/radix-icons": "^1.2.0",
"@iconify/vue": "^4.1.2",
"@radix-icons/vue": "^1.0.0",
"@vee-validate/zod": "^4.13.2",
"@vueuse/core": "^11.1.0",
"@web5/api": "^0.11.0",
"@web5/browser": "^0.0.2",
"autoprefixer": "^10.4.20",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^4.1.1",
"postcss": "^8.4.47",
"radix-vue": "^1.9.6",
"tailwind-merge": "^2.5.2",
"tailwindcss": "^3.4.13",
"tailwindcss-animate": "^1.0.7",
"vaul-vue": "^0.2.0",
"vee-validate": "^4.13.2",
"vite-plugin-node-stdlib-browser": "^0.2.1",
"vite-plugin-pwa": "^0.20.5",
"vue": "^3.4.29",
"vue-router": "^4.3.3"
"vue-router": "^4.3.3",
"workbox-precaching": "^7.1.0",
"workbox-routing": "^7.1.0",
"workbox-window": "^7.1.0",
"zipson": "^0.2.12",
"zod": "^3.23.8"
},
"devDependencies": {
"@playwright/test": "^1.44.1",
"@rushstack/eslint-patch": "^1.8.0",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.14.5",
"@vite-pwa/assets-generator": "^0.2.6",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
Expand Down
Loading
Loading