diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c3325e..e07ed8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0] - 2025.02.14 +### Changed +- Images in the home feed now take up the full width of the card. +- Clicking the image previously, would open the image in a new tab. Now, clicking the image opens the image in a lightbox view. + +### Added +- Clicking an image also now displays an in-app lightbox view of the image. +- The lightbox view includes a download button for the image in mobile view. + + ## [0.3.57] - 2025.02.11 ### Added - Automatic user creation in onboarding meetings diff --git a/package-lock.json b/package-lock.json index ea064ae..c5aaf96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "TimeSafari", - "version": "0.3.57", + "version": "0.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "TimeSafari", - "version": "0.3.57", + "version": "0.4.0", "dependencies": { "@capacitor/android": "^6.1.2", "@capacitor/cli": "^6.1.2", @@ -54,7 +54,7 @@ "lru-cache": "^10.2.0", "luxon": "^3.4.4", "merkletreejs": "^0.3.11", - "nostr-tools": "^2.7.2", + "nostr-tools": "^2.10.4", "notiwind": "^2.0.2", "papaparse": "^5.4.1", "pina": "^0.20.2204228", @@ -18905,9 +18905,10 @@ } }, "node_modules/nostr-tools": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/nostr-tools/-/nostr-tools-2.7.2.tgz", - "integrity": "sha512-Bq3Ug0SZFtgtL1+0wCnAe8AJtI7yx/00/a2nUug9SkhfOwlKS92Tef12iCK9FdwXw+oFZWMtRnSwcLayQso+xA==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/nostr-tools/-/nostr-tools-2.10.4.tgz", + "integrity": "sha512-biU7sk+jxHgVASfobg2T5ttxOGGSt69wEVBC51sHHOEaKAAdzHBLV/I2l9Rf61UzClhliZwNouYhqIso4a3HYg==", + "license": "Unlicense", "dependencies": { "@noble/ciphers": "^0.5.1", "@noble/curves": "1.2.0", @@ -18917,7 +18918,7 @@ "@scure/bip39": "1.2.1" }, "optionalDependencies": { - "nostr-wasm": "v0.1.0" + "nostr-wasm": "0.1.0" }, "peerDependencies": { "typescript": ">=5.0.0" diff --git a/package.json b/package.json index 79af24e..855ce9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "TimeSafari", - "version": "0.3.57", + "version": "0.4.0", "scripts": { "dev": "vite", "serve": "vite preview", @@ -58,7 +58,7 @@ "lru-cache": "^10.2.0", "luxon": "^3.4.4", "merkletreejs": "^0.3.11", - "nostr-tools": "^2.7.2", + "nostr-tools": "^2.10.4", "notiwind": "^2.0.2", "papaparse": "^5.4.1", "pina": "^0.20.2204228", diff --git a/src/components/ImageViewer.vue b/src/components/ImageViewer.vue new file mode 100644 index 0000000..a2bf9f6 --- /dev/null +++ b/src/components/ImageViewer.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 2db6c18..c62d3b4 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -281,7 +281,7 @@ /> - + - + {{ giveDescription(record) }} @@ -346,10 +346,18 @@ -
- - - +
+
+ shared content +
@@ -368,6 +376,12 @@ + + diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index fe2811e..543ab0f 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -239,8 +239,8 @@ import { import { accountFromExtendedKey, extendedKeysFromSeedWords, -} from "nostr-tools/nip06"; -import { finalizeEvent, serializeEvent } from "nostr-tools/pure"; +} from "nostr-tools/lib/types/nip06"; +import { finalizeEvent, serializeEvent } from "nostr-tools"; import { Component, Vue } from "vue-facing-decorator"; import { LMap, LMarker, LTileLayer } from "@vue-leaflet/vue-leaflet"; import { RouteLocationNormalizedLoaded, Router } from "vue-router";