Improve write-review flow and require Node 22.18 for native TS stripping.

Gate login, reveal the form after a rating, and wire inline Rate this mint; drop --experimental-strip-types.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
michilis
2026-08-24 21:52:11 +02:00
co-authored by Cursor
parent c74c7fc187
commit b95aab2bcd
35 changed files with 657 additions and 145 deletions
+9 -2
View File
@@ -267,6 +267,9 @@
"reviews.empty": "No reviews yet. Be the first to write one.",
"reviews.emptyWritten": "No written reviews here yet. Be the first to write one.",
"reviews.emptyFilter": "No reviews match this filter.",
"reviews.rate.cashu": "Rate this mint",
"reviews.rate.fedimint": "Rate this federation",
"reviews.rate.lnurl": "Rate this mint",
"reviews.noscript": "Reviews are signed on Nostr and load in your browser, so this list needs JavaScript. The rating and counts above come from the site itself.",
"reviews.relayError": "Could not reach the relay. Reviews may be incomplete.",
"reviews.srRating": "{rating} out of 5",
@@ -293,7 +296,12 @@
"reviews.breakdown.1": "{n} one star",
"reviews.breakdown.none": "{n} with no rating",
"reviews.dialog.title": "Review {name}",
"reviews.dialog.note": "Signed with your Nostr key and published to public relays. It cannot be edited or deleted.",
"reviews.dialog.lede.cashu": "Share your experience with this mint.",
"reviews.dialog.lede.fedimint": "Share your experience with this federation.",
"reviews.dialog.lede.lnurl": "Share your experience with this mint.",
"reviews.dialog.permanent": "Published permanently to public Nostr relays.",
"reviews.dialog.gate.title": "Log in to write a review",
"reviews.dialog.gate.lead": "Reviews are signed with your Nostr key. It stays in your signer, this site never sees it.",
"reviews.dialog.ratingLegend": "Your rating",
"reviews.dialog.starsSr.one": "{n} star",
"reviews.dialog.starsSr.other": "{n} stars",
@@ -314,7 +322,6 @@
"reviews.dialog.waitingSigner": "Waiting for your signer",
"reviews.dialog.confirmClose": "Close this review? Your draft is kept until you leave the site.",
"reviews.dialog.why.login": "Log in to publish",
"reviews.dialog.why.rating": "Choose a rating",
"reviews.dialog.why.words": "Write a few words",
"reviews.dialog.why.more.one": "{n} more character",
"reviews.dialog.why.more.other": "{n} more characters",