diff --git a/package-lock.json b/package-lock.json
index 96876ed..1a886ab 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "jumble-imwald",
- "version": "14.0",
+ "version": "14.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "jumble-imwald",
- "version": "14.0",
+ "version": "14.1",
"license": "MIT",
"dependencies": {
"@asciidoctor/core": "^3.0.4",
diff --git a/package.json b/package.json
index 4e465c9..95b791a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "jumble-imwald",
- "version": "14.0",
+ "version": "14.1",
"description": "A user-friendly Nostr client focused on relay feed browsing and relay discovery, forked from Jumble",
"private": true,
"type": "module",
diff --git a/src/components/NoteOptions/useMenuActions.tsx b/src/components/NoteOptions/useMenuActions.tsx
index 7366d68..ed1bf68 100644
--- a/src/components/NoteOptions/useMenuActions.tsx
+++ b/src/components/NoteOptions/useMenuActions.tsx
@@ -471,6 +471,19 @@ export function useMenuActions({
}
]
+ // Add "View on Alexandria" menu item for public messages (PMs)
+ if (event.kind === ExtendedKind.PUBLIC_MESSAGE) {
+ actions.push({
+ icon: Globe,
+ label: t('View on Alexandria'),
+ onClick: () => {
+ closeDrawer()
+ window.open('https://next-alexandria.gitcitadel.eu/profile/notifications', '_blank', 'noopener,noreferrer')
+ },
+ separator: true
+ })
+ }
+
// Add "Create Highlight" action for OP events
if (isOPEvent && openHighlightEditor) {
actions.push({
diff --git a/src/components/NotificationList/NotificationItem/Notification.tsx b/src/components/NotificationList/NotificationItem/Notification.tsx
index 245a331..75039e2 100644
--- a/src/components/NotificationList/NotificationItem/Notification.tsx
+++ b/src/components/NotificationList/NotificationItem/Notification.tsx
@@ -24,7 +24,8 @@ export default function Notification({
middle = null,
targetEvent,
isNew = false,
- showStats = false
+ showStats = false,
+ rightAction = null
}: {
icon: React.ReactNode
notificationId: string
@@ -35,6 +36,7 @@ export default function Notification({
targetEvent?: NostrEvent
isNew?: boolean
showStats?: boolean
+ rightAction?: React.ReactNode
}) {
const { t } = useTranslation()
const { navigateToNote } = useSmartNoteNavigation()
@@ -122,16 +124,19 @@ export default function Notification({
/>
{description}
- {unread && (
-