Compare commits

...
2 Commits
Author SHA1 Message Date
Brahim Hadriche 0d61d1e337 Release v0.36.6 (#596) 2025-05-03 10:42:26 -04:00
Brahim Hadriche 33c6e174ee [chore] update dependencies (#595)
* update dependencies

* Bottom nav ui fix

* Bottom nav ui fix2

* changelog

* Backend logging
2025-05-03 10:34:40 -04:00
16 changed files with 113 additions and 68 deletions

No files matched your search

+7
View File
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.36.6] - 2025-05-03
### Fixed
- Small UI bug in web app nav bar
- Backend logging to improve debugging
## [0.36.5] - 2025-05-02 ## [0.36.5] - 2025-05-02
### Fixed ### Fixed
+1 -1
View File
@@ -2,7 +2,7 @@ openapi: 3.0.0
info: info:
title: Playlet Web API title: Playlet Web API
version: 0.36.5 version: 0.36.6
description: description:
Playlet Web API is a RESTful API for controlling the Playlet app on Playlet Web API is a RESTful API for controlling the Playlet app on
Roku devices. The API is intended to be used by the Playlet web app, but can Roku devices. The API is intended to be used by the Playlet web app, but can
+18 -18
View File
@@ -1,18 +1,18 @@
{ {
"name": "playlet", "name": "playlet",
"version": "0.36.5", "version": "0.36.6",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet", "name": "playlet",
"version": "0.36.5", "version": "0.36.6",
"hasInstallScript": true, "hasInstallScript": true,
"devDependencies": { "devDependencies": {
"@rokucommunity/bslint": "^0.8.28", "@rokucommunity/bslint": "^0.8.29",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/node": "^22.14.1", "@types/node": "^22.15.3",
"@types/xml2js": "^0.4.14", "@types/xml2js": "^0.4.14",
"argparse": "^2.0.1", "argparse": "^2.0.1",
"brighterscript": "0.68.5", "brighterscript": "0.68.5",
@@ -22,7 +22,7 @@
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"dotenv": "^16.5.0", "dotenv": "^16.5.0",
"fs-extra": "^11.3.0", "fs-extra": "^11.3.0",
"glob": "^11.0.1", "glob": "^11.0.2",
"imap": "^0.8.19", "imap": "^0.8.19",
"ip": "^2.0.1", "ip": "^2.0.1",
"json5": "^2.2.3", "json5": "^2.2.3",
@@ -43,7 +43,7 @@
"node": "20" "node": "20"
}, },
"optionalDependencies": { "optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.40.0" "@rollup/rollup-linux-x64-gnu": "^4.40.1"
} }
}, },
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
@@ -438,9 +438,9 @@
"dev": true "dev": true
}, },
"node_modules/@rokucommunity/bslint": { "node_modules/@rokucommunity/bslint": {
"version": "0.8.28", "version": "0.8.29",
"resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.28.tgz", "resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.29.tgz",
"integrity": "sha512-hLrkcwQHkSVXiRHWl9Y3+knVnClSrE6G/aeVNxEPFbHzNh85CFub0BfnzKbTfOSN0CjfAxo9/LoHt1axPHGQOg==", "integrity": "sha512-HH2Q+TlcBtUnLFjf3tBSnFA3zJuqTAZYBtWf+5ocbKbqYq/XKCexreKt/kAC8vVDzVl7d27O9ZSOSM/G1fUPyA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -596,9 +596,9 @@
} }
}, },
"node_modules/@rollup/rollup-linux-x64-gnu": { "node_modules/@rollup/rollup-linux-x64-gnu": {
"version": "4.40.0", "version": "4.40.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.1.tgz",
"integrity": "sha512-RcDGMtqF9EFN8i2RYN2W+64CdHruJ5rPqrlYw+cgM3uOVPSsnAQps7cpjXe9be/yDp8UC7VLoCoKC8J3Kn2FkQ==", "integrity": "sha512-XiK5z70PEFEFqcNj3/zRSz/qX4bp4QIraTy9QjwJAb/Z8GM7kVUsD0Uk8maIPeTyPCP03ChdI+VVmJriKYbRHQ==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -759,9 +759,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.14.1", "version": "22.15.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz",
"integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==", "integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -3602,9 +3602,9 @@
} }
}, },
"node_modules/glob": { "node_modules/glob": {
"version": "11.0.1", "version": "11.0.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-11.0.1.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.2.tgz",
"integrity": "sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==", "integrity": "sha512-YT7U7Vye+t5fZ/QMkBFrTJ7ZQxInIUjwyAjVj84CYXqgBdv30MFUPGnBR6sQaVq6Is15wYJUsnzTuWaGRBhBAQ==",
"dev": true, "dev": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
+5 -5
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet", "name": "playlet",
"version": "0.36.5", "version": "0.36.6",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"devDependencies": { "devDependencies": {
"@rokucommunity/bslint": "^0.8.28", "@rokucommunity/bslint": "^0.8.29",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/node": "^22.14.1", "@types/node": "^22.15.3",
"@types/xml2js": "^0.4.14", "@types/xml2js": "^0.4.14",
"argparse": "^2.0.1", "argparse": "^2.0.1",
"brighterscript": "0.68.5", "brighterscript": "0.68.5",
@@ -16,7 +16,7 @@
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"dotenv": "^16.5.0", "dotenv": "^16.5.0",
"fs-extra": "^11.3.0", "fs-extra": "^11.3.0",
"glob": "^11.0.1", "glob": "^11.0.2",
"imap": "^0.8.19", "imap": "^0.8.19",
"ip": "^2.0.1", "ip": "^2.0.1",
"json5": "^2.2.3", "json5": "^2.2.3",
@@ -75,6 +75,6 @@
"shutdown": "node tools/shutdown.js" "shutdown": "node tools/shutdown.js"
}, },
"optionalDependencies": { "optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.40.0" "@rollup/rollup-linux-x64-gnu": "^4.40.1"
} }
} }
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet-app", "name": "playlet-app",
"version": "0.36.5", "version": "0.36.6",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-app", "name": "playlet-app",
"version": "0.36.5" "version": "0.36.6"
} }
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-app", "name": "playlet-app",
"version": "0.36.5", "version": "0.36.6",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"scripts": { "scripts": {
"prebuild": "rm -rf ../build/playlet-app", "prebuild": "rm -rf ../build/playlet-app",
+1 -1
View File
@@ -3,7 +3,7 @@ title=Playlet
# Do not update version manually, it is auto updated from package.json # Do not update version manually, it is auto updated from package.json
major_version=0 major_version=0
minor_version=36 minor_version=36
build_version=00005 build_version=00006
ui_resolutions=hd ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.36.5", "version": "0.36.6",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.36.5" "version": "0.36.6"
} }
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.36.5", "version": "0.36.6",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"scripts": { "scripts": {
"prebuild": "rm -rf ../build/playlet-lib", "prebuild": "rm -rf ../build/playlet-lib",
@@ -41,6 +41,10 @@ namespace InnertubeService
playerRequest = Innertube.CreatePlayerRequest(videoId, ctt, visitorData) playerRequest = Innertube.CreatePlayerRequest(videoId, ctt, visitorData)
playerRequest.Cancellation(cancellation) playerRequest.Cancellation(cancellation)
if raw
playerRequest.LogCurlCommand()
playerRequest.NoCache()
end if
playerRequest.Send() playerRequest.Send()
nextRequest = invalid nextRequest = invalid
@@ -48,6 +52,10 @@ namespace InnertubeService
if fetchNext if fetchNext
nextRequest = Innertube.CreateNextRequest({ "videoId": videoId }, ctt) nextRequest = Innertube.CreateNextRequest({ "videoId": videoId }, ctt)
nextRequest.Cancellation(cancellation) nextRequest.Cancellation(cancellation)
if raw
nextRequest.LogCurlCommand()
nextRequest.NoCache()
end if
nextRequest.Send() nextRequest.Send()
end if end if
@@ -227,6 +235,11 @@ namespace InnertubeService
request = Innertube.CreateBrowseRequest("FEtrending", Innertube.ClientType.WEB, params) request = Innertube.CreateBrowseRequest("FEtrending", Innertube.ClientType.WEB, params)
request.Cancellation(cancellation) request.Cancellation(cancellation)
if raw
request.LogCurlCommand()
request.NoCache()
end if
response = request.Await() response = request.Await()
if not response.IsSuccess() if not response.IsSuccess()
return { return {
@@ -325,6 +338,10 @@ namespace InnertubeService
request = Innertube.CreateBrowseRequest(channelId, Innertube.ClientType.Web, params, continuation) request = Innertube.CreateBrowseRequest(channelId, Innertube.ClientType.Web, params, continuation)
request.Cancellation(cancellation) request.Cancellation(cancellation)
if raw
request.LogCurlCommand()
request.NoCache()
end if
response = request.Await() response = request.Await()
if not response.IsSuccess() if not response.IsSuccess()
@@ -373,6 +390,10 @@ namespace InnertubeService
request = Innertube.CreateBrowseRequest(playlistId, Innertube.ClientType.Web, "", continuation) request = Innertube.CreateBrowseRequest(playlistId, Innertube.ClientType.Web, "", continuation)
request.Cancellation(cancellation) request.Cancellation(cancellation)
if raw
request.LogCurlCommand()
request.NoCache()
end if
response = request.Await() response = request.Await()
if not response.IsSuccess() if not response.IsSuccess()
@@ -418,6 +439,10 @@ namespace InnertubeService
end if end if
request = Innertube.CreateNextRequest(args, "") request = Innertube.CreateNextRequest(args, "")
request.Cancellation(cancellation) request.Cancellation(cancellation)
if raw
request.LogCurlCommand()
request.NoCache()
end if
response = request.Await() response = request.Await()
if not response.IsSuccess() if not response.IsSuccess()
+1 -1
View File
@@ -3,7 +3,7 @@ title=PlayletLib
# Do not update version manually, it is auto updated from package.json # Do not update version manually, it is auto updated from package.json
major_version=0 major_version=0
minor_version=36 minor_version=36
build_version=00005 build_version=00006
ui_resolutions=hd ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p uri_resolution_autosub=$$RES$$,480p,720p,1080p
+10 -1
View File
@@ -279,6 +279,11 @@ namespace HttpClient
return m return m
end function end function
function LogCurlCommand() as HttpRequest
m._logCurlCommand = true
return m
end function
function ToCurlCommand() as string function ToCurlCommand() as string
command = `curl "${m.BuildUrl()}"` command = `curl "${m.BuildUrl()}"`
if m._method = "HEAD" if m._method = "HEAD"
@@ -350,9 +355,13 @@ namespace HttpClient
LogInfo("Sending", m._method, m.urlTransfer.GetURL(), "ID:", m.urlTransfer.GetIdentity()) LogInfo("Sending", m._method, m.urlTransfer.GetURL(), "ID:", m.urlTransfer.GetIdentity())
#if DEBUG #if DEBUG
? `════════ curl command ════════\n${m.ToCurlCommand()}\n══════════════════════════════` m._logCurlCommand = true
#end if #end if
if m._logCurlCommand = true
LogInfo(`════════ curl command ════════\n${m.ToCurlCommand()}\n══════════════════════════════`)
end if
if m._method = "POST" if m._method = "POST"
body = m._body body = m._body
if body = invalid if body = invalid
+27 -27
View File
@@ -1,30 +1,30 @@
{ {
"name": "playlet-web", "name": "playlet-web",
"version": "0.36.5", "version": "0.36.6",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-web", "name": "playlet-web",
"version": "0.36.5", "version": "0.36.6",
"devDependencies": { "devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5.0.3", "@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tailwindcss/typography": "^0.5.16", "@tailwindcss/typography": "^0.5.16",
"@tsconfig/svelte": "^5.0.4", "@tsconfig/svelte": "^5.0.4",
"@vitejs/plugin-legacy": "^6.1.0", "@vitejs/plugin-legacy": "^6.1.1",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"daisyui": "^4.12.23", "daisyui": "^4.12.23",
"dotenv": "^16.5.0", "dotenv": "^16.5.0",
"ip": "^2.0.1", "ip": "^2.0.1",
"postcss": "^8.5.3", "postcss": "^8.5.3",
"svelte": "^5.28.1", "svelte": "^5.28.2",
"svelte-check": "^4.1.6", "svelte-check": "^4.1.7",
"svelte-preprocess": "^6.0.3", "svelte-preprocess": "^6.0.3",
"tailwindcss": "^3.4.17", "tailwindcss": "^3.4.17",
"terser": "^5.39.0", "terser": "^5.39.0",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.2", "vite": "^6.3.4",
"vite-plugin-compression": "^0.5.1", "vite-plugin-compression": "^0.5.1",
"vite-tsconfig-paths": "^5.1.4" "vite-tsconfig-paths": "^5.1.4"
} }
@@ -2448,9 +2448,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@vitejs/plugin-legacy": { "node_modules/@vitejs/plugin-legacy": {
"version": "6.1.0", "version": "6.1.1",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-legacy/-/plugin-legacy-6.1.0.tgz", "resolved": "https://registry.npmjs.org/@vitejs/plugin-legacy/-/plugin-legacy-6.1.1.tgz",
"integrity": "sha512-D5/33NZFBDdlXvCoRbdGe3DcnSY4TZIDkQpolbMdMXBtUNgwJc03X1LHmEov4Igi4f5z2l9/lC0te74R8iHn5A==", "integrity": "sha512-BvusL+mYZ0q5qS5Rq3D70QxZBmhyiHRaXLtYJHH5AEsAmdSqJR4xe5KwMi1H3w8/9lVJwhkLYqFQ9vmWYWy6kA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -3125,9 +3125,9 @@
} }
}, },
"node_modules/fdir": { "node_modules/fdir": {
"version": "6.4.3", "version": "6.4.4",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz",
"integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==", "integrity": "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
@@ -4371,9 +4371,9 @@
} }
}, },
"node_modules/svelte": { "node_modules/svelte": {
"version": "5.28.1", "version": "5.28.2",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.28.1.tgz", "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.28.2.tgz",
"integrity": "sha512-iOa9WmfNG95lSOSJdMhdjJ4Afok7IRAQYXpbnxhd5EINnXseG0GVa9j6WPght4eX78XfFez45Fi+uRglGKPV/Q==", "integrity": "sha512-FbWBxgWOpQfhKvoGJv/TFwzqb4EhJbwCD17dB0tEpQiw1XyUEKZJtgm4nA4xq3LLsMo7hu5UY/BOFmroAxKTMg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -4397,9 +4397,9 @@
} }
}, },
"node_modules/svelte-check": { "node_modules/svelte-check": {
"version": "4.1.6", "version": "4.1.7",
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.1.6.tgz", "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.1.7.tgz",
"integrity": "sha512-P7w/6tdSfk3zEVvfsgrp3h3DFC75jCdZjTQvgGJtjPORs1n7/v2VMPIoty3PWv7jnfEm3x0G/p9wH4pecTb0Wg==", "integrity": "sha512-1jX4BzXrQJhC/Jt3SqYf6Ntu//vmfc6VWp07JkRfK2nn+22yIblspVUo96gzMkg0Zov8lQicxhxsMzOctwcMQQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -4638,13 +4638,13 @@
} }
}, },
"node_modules/tinyglobby": { "node_modules/tinyglobby": {
"version": "0.2.12", "version": "0.2.13",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.12.tgz", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.13.tgz",
"integrity": "sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==", "integrity": "sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"fdir": "^6.4.3", "fdir": "^6.4.4",
"picomatch": "^4.0.2" "picomatch": "^4.0.2"
}, },
"engines": { "engines": {
@@ -4802,18 +4802,18 @@
"dev": true "dev": true
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "6.3.2", "version": "6.3.4",
"resolved": "https://registry.npmjs.org/vite/-/vite-6.3.2.tgz", "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.4.tgz",
"integrity": "sha512-ZSvGOXKGceizRQIZSz7TGJ0pS3QLlVY/9hwxVh17W3re67je1RKYzFHivZ/t0tubU78Vkyb9WnHPENSBCzbckg==", "integrity": "sha512-BiReIiMS2fyFqbqNT/Qqt4CVITDU9M9vE+DKcVAsB+ZV0wvTKd+3hMbkpxz1b+NmEDMegpVbisKiAZOnvO92Sw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"fdir": "^6.4.3", "fdir": "^6.4.4",
"picomatch": "^4.0.2", "picomatch": "^4.0.2",
"postcss": "^8.5.3", "postcss": "^8.5.3",
"rollup": "^4.34.9", "rollup": "^4.34.9",
"tinyglobby": "^0.2.12" "tinyglobby": "^0.2.13"
}, },
"bin": { "bin": {
"vite": "bin/vite.js" "vite": "bin/vite.js"
+5 -5
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-web", "name": "playlet-web",
"version": "0.36.5", "version": "0.36.6",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
@@ -12,20 +12,20 @@
"@sveltejs/vite-plugin-svelte": "^5.0.3", "@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tailwindcss/typography": "^0.5.16", "@tailwindcss/typography": "^0.5.16",
"@tsconfig/svelte": "^5.0.4", "@tsconfig/svelte": "^5.0.4",
"@vitejs/plugin-legacy": "^6.1.0", "@vitejs/plugin-legacy": "^6.1.1",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"daisyui": "^4.12.23", "daisyui": "^4.12.23",
"dotenv": "^16.5.0", "dotenv": "^16.5.0",
"ip": "^2.0.1", "ip": "^2.0.1",
"postcss": "^8.5.3", "postcss": "^8.5.3",
"svelte": "^5.28.1", "svelte": "^5.28.2",
"svelte-check": "^4.1.6", "svelte-check": "^4.1.7",
"svelte-preprocess": "^6.0.3", "svelte-preprocess": "^6.0.3",
"tailwindcss": "^3.4.17", "tailwindcss": "^3.4.17",
"terser": "^5.39.0", "terser": "^5.39.0",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.2", "vite": "^6.3.4",
"vite-plugin-compression": "^0.5.1", "vite-plugin-compression": "^0.5.1",
"vite-tsconfig-paths": "^5.1.4" "vite-tsconfig-paths": "^5.1.4"
} }
+5 -2
View File
@@ -69,8 +69,11 @@
<LinkDragDrop /> <LinkDragDrop />
<NavBar /> <NavBar />
<!-- TODO:P2 a better way to make the BottomNavigation not hide screens --> <!--
<div style="margin-bottom: 4rem"> Bottom navigation is of 4rem height, plus the safe area at the bottom.
Added so that bottom navigation does not overlap with the content.
-->
<div style="margin-bottom: calc(4rem + env(safe-area-inset-bottom))">
<SearchScreen visibility={currentScreen == "search"} /> <SearchScreen visibility={currentScreen == "search"} />
<HomeScreen visibility={currentScreen == "home"} /> <HomeScreen visibility={currentScreen == "home"} />
+2 -1
View File
@@ -49,7 +49,8 @@
} }
</script> </script>
<div class="btm-nav"> <!-- https://github.com/saadeghi/daisyui/issues/1732#issuecomment-1747818200 -->
<div class="btm-nav box-content">
<button <button
on:click={() => setScreen("search")} on:click={() => setScreen("search")}
class={$appStateStore.screen === "search" ? "active" : ""} class={$appStateStore.screen === "search" ? "active" : ""}