From 71a05dd13c515dffbd1b328f1b3f37f83e760319 Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 3 Nov 2023 02:39:42 +0900 Subject: [PATCH] feat: about --- packages/app/CHANGELOG.md | 696 ++++++++++++++++++++ packages/app/custom.d.ts | 10 + packages/app/src/Element/Event/Markdown.css | 13 + packages/app/src/Pages/About.tsx | 28 + packages/app/src/index.tsx | 5 + packages/app/webpack.config.js | 5 +- 6 files changed, 756 insertions(+), 1 deletion(-) create mode 100644 packages/app/CHANGELOG.md create mode 100644 packages/app/src/Pages/About.tsx diff --git a/packages/app/CHANGELOG.md b/packages/app/CHANGELOG.md new file mode 100644 index 00000000..0c0e55fd --- /dev/null +++ b/packages/app/CHANGELOG.md @@ -0,0 +1,696 @@ +# v0.1.22 + +## Fixes + +- Note creator too wide on mobile +- Sending notes dialog duplicated when replying + +--- + +# v0.1.21 + +## Added + +- Add gradients to iris.to domain +- Render referenced kind-3 (ContactList) as pubkey list +- List feed page renders the posts of a given list `/list-feed/{naddr-of-nip51-list-or-nevent-of-kind3}` +- Respond to AUTH when expected (Requesting DM's/GiftWrap) +- Show reply counts on threads +- Quote Repost +- Signature checks can be enabled in preferences +- NIP-98 auth for void.cat / nostr.build file uploaders +- Add `E` tag for direct replies +- File upload progress bar (void.cat only) +- Long form modal for deck layout (WIP still) +- Video thumbnails using ImgProxy +- Renew subscriptions for X months +- Tailwind CSS migration @mmalmi +- Seasonal features +- Profile cards on hover for mentions +- Dropdown search results on search bar @mmalmi +- Renew subscription task on task list + +## Changed + +- Disable highligher.js code blocks (for now) +- Removed "Popular Accounts" from new user flow, replaced with "Snort Devs" only +- Moved "Show Preview" on note creator to preview toggle switch +- Premium subscription renamed to PRO +- Limit images in posts to 800px high +- Nostrplebs colors removed + +## Fixed + +- Use correct hostname when submitting analytics +- Disable WASM when not supported on device +- Typo on "Nostr Address" in account settings +- Hide expired user status on profiles +- Hide muted dm chats +- Hide blocked replies + +--- + +# v0.1.20 + +## Added + +- Highlight text in search results - @fernandoporazzi +- Iris/Snort build configuration - @mmalmi +- Iris free NIP-05 on Profile page - @mmalmi +- Image galleries on posts - @fernandoporazzi +- Close modal with ESC - @mmalmi +- Navigate image spotlight with LR direction keys - @mmalmi +- Spotlight preview profile/banner on click - @mmalmi +- Fetch profiles from HTTP cache (Iris) - @mmalmi +- Animal names for empty profile accounts (Iris) - @mmalmi +- Redirect to NIP-05 short links for iris/snort accounts - @mmalmi +- Code block highlighting - @fernandoporazzi +- Notification summary graph - @Kieran +- Profile hover cards - @Kieran +- Keyboard shortcuts for new post/focus/search - @fernandoporazzi +- Markdown rendering for long form content - @Kieran +- Show relay response when publishing - @Kieran + +## Fixed + +- Copy buttons on insecure context - @Kieran + +--- + +# v0.1.19 + +## Added + +- Highlight search results + +## Fixes + +- Copy to clipboard on insecure context (Umbrel) + +--- + +# v0.1.16 + +## Fixes + +- Login bugs + +--- + +# v0.1.15 + +## Added + +- User status on profile pages (Music only [NIP-38]) +- Following mark on avatars, if you follow the pubkey you will see a green tick on their avatar +- Pin encryption, encrypted private key storage for nsec login +- Pubkey (readonly) logins hide buttons which cannot be used (reactions, reply, save profiles, dms etc) +- Muted words feature (phase 1) +- NIP-28 public chats + +## Changed + +- Styles changes for Content warnings +- Live stream embed styles +- Cashu token embed styles +- Snort Deck thread navigation in modal from timeline +- PoW miner moved to WASM module for faster hashing + +## Fixed + +- Profile link to dms +- Long form content loading and replies +- Search function restored + +--- + +# v0.1.14 + +## Added + +- Timeline cache: faster page loads and much lower data usage +- WASM module: Some code moved to Rust WASM module for faster execution +- Zap Splits: NIP-57.G +- New Languages: + - Finnish + - Dutch + - Portuguese Brazilian + +## Changed + +- Count polls by pubkey + +--- + +# v0.1.13 + +# Added + +- Snort V2 Design +- NIP-24 Encrypted secret chats (nsec login only) +- NIP-13 Proof of Work (POW) +- NIP-31 Alt tag spec for unknown event kinds +- Render mentioned zap goals (Kind 9041) +- Embed fonts in src (No more google fonts requests) +- Native key storage for Android app (`Nip7os` interface) +- Swahili translations +- Thai translations + +# Changed + +- PWA pre-cache setup (Faster PWA loading) +- Show note creator button on profile pages + +# Fixed + +- Umlauts in urls +- Reject events which don't match request filter + +--- + +# v0.1.12 + +# Added + +- nsecBunker support (connection string `bunker://?relay=wss://realy.com[#token]`) + +# Changed + +- New snort logo by Bitko +- Infinite scroll changed to manual action (temperarily to fix performance issues) + +# Fixed + +- Note to self containing all DMS +- Media spotlight disabled for poll options containing images +- Badge image sizes oversize when bypassing imgproxy due to loading error + +--- + +# v0.1.11 + +## Added + +- `@snort/system` package +- `@snort/system-react` package +- Live streaming page (NIP-102) +- Chat system refactor (adding new chat systems much easier now, NIP-29 first candidate) +- NIP-29 simple group chat support + +## Fixed + +- Profile links with incorrect hrp fixed in some places +- `naddr` event loading fixed +- Relay specific requests fixed (Global tab / Search page) +- NWC connection responds to AUTH requests now + +https://git.v0l.io/Kieran/snort/compare/v0.1.10...v0.1.11 + +--- + +# v0.1.10 + +## Added + +- Gossip model, query follows write relays for events +- @snort/system NPM package containing Snort core nostr code +- NIP-44 Encryption scheme support +- NIP-59 Gift Wrap support + +## Fixed + +- Unmarked thread events replies out of order + +https://git.v0l.io/Kieran/snort/compare/v0.1.9...v0.1.10 + +--- + +# v0.1.9 + +## Added + +- Discover tab, shows trending users/posts from nostr.build +- New DM styles +- Mentioned Zapstr tracks are previewed on Snort with player +- Custom emoji rendering in posts (NIP-30) +- Lanaguage selector on new user flow +- ZapPool, support nostr ecosystem by donating a percentage of your zaps +- Alby NWC link added to NWC connect page +- SemisolDev follow recommendations on Discover tab +- Pubkey lists (NIP-51) render inline when mentioned in notes +- Persian language +- OpenGraph Image/Video media rendered inside link preview box +- Option to zap everybody on mentioned pubkey list +- L402 support for inline media (paywall content) + +## Changed + +- Error page shows actual error message now, also a button to reset app cache +- Massivly improved profile loading +- Improved JS bundle size by ejecting CRA and using dynamic modules +- Switched to `@void-cat/api` package for void.cat uploads + +--- + +# v0.1.8 + +## Added + +- Tamil Language support +- Quoted notes are rendered embedded +- Multi-account support for subscribers +- Zapper key loading processing in background to speed up profile loading +- Export keys page added to settings +- NIP-94 support for rendering quoted file metadata events +- Interactions cache (zaps/likes/reports) for better UX +- Full screen image/video previews in modal +- Re-broadcast own events dialog +- Nostr wallet connect support +- Cashu token parsing preview with redeem link +- Trending notes/people tabs added to search page + +## Changed + +- Profile page loads only 200 latest notes, improving profile load times for accounts with less activity +- New user flow has been tweaked to be shorter with NIP5 & Twitter import steps removed + +## Fixed + +- Thread navigation without page reload +- NIP-42 functionality restored +- `a` tagged kind 1 replies render properly under root event + +**Full Changelog**: https://github.com/v0l/snort/compare/v0.1.7...v0.1.8 + +--- + +# v0.1.7 + +## Added + +- Per event zap targets by @v0l +- Content warning (NIP-36) support by @v0l +- Polls (NIP-69) by @v0l +- Snort subscriptions by @v0l +- NIP-94 File header support by @v0l +- Link previews by @ghobs91 & @v0l +- Cmd+Enter to post note by @v0l +- `nostr:` links (NIP-27) by @v0l +- Tending users on Search page by @ghobs91 & @v0l + +## Changed + +- Paste image upload by @vivganes +- Note creator note preview by @v0l +- Login private key input masking by @vivganes + +## Fixed + +- Fix note creator closing on thread when new replies load by @SamSamskies +- Follow hashtag tab highlighting by @SamSamskies +- Language dropdown defaults to Arabic by @vivganes +- Bookmarks showing reactions by @vivganes +- Single zapper on note only shows name by @vivganes +- Broken link previews show empty box by @vivganes +- Render jfif images by @v0l + +## PR List + +- New Crowdin updates by @v0l in https://github.com/v0l/snort/pull/476 +- `nostr` package: implement NIP-05 by @sistemd in https://github.com/v0l/snort/pull/474 +- `nostr` package: NIP-09 event deletion by @sistemd in https://github.com/v0l/snort/pull/478 +- fix #484 by @vivganes in https://github.com/v0l/snort/pull/486 +- fix #485 by @vivganes in https://github.com/v0l/snort/pull/487 +- Per event zap targets by @v0l in https://github.com/v0l/snort/pull/466 +- feat: nip-36 by @v0l in https://github.com/v0l/snort/pull/497 +- fix #496 by @vivganes in https://github.com/v0l/snort/pull/498 +- use redux for NoteCreator state management by @SamSamskies in https://github.com/v0l/snort/pull/494 +- fix #495 by @vivganes in https://github.com/v0l/snort/pull/499 +- Polls (NIP-69) by @v0l in https://github.com/v0l/snort/pull/489 +- New Crowdin updates by @v0l in https://github.com/v0l/snort/pull/483 +- New Crowdin updates by @v0l in https://github.com/v0l/snort/pull/508 +- add ability to paste image from clipboard by @vivganes in https://github.com/v0l/snort/pull/510 +- Subscriptions by @v0l in https://github.com/v0l/snort/pull/506 +- feat: multi-account system by @v0l in https://github.com/v0l/snort/pull/514 +- fix followed tag active tab highlighting by @SamSamskies in https://github.com/v0l/snort/pull/516 +- NIP-94 file headers by @v0l in https://github.com/v0l/snort/pull/488 +- fix #517 by @vivganes in https://github.com/v0l/snort/pull/518 +- New Crowdin updates by @v0l in https://github.com/v0l/snort/pull/511 +- `nostr` package: get tests passing in the browser by @sistemd in https://github.com/v0l/snort/pull/490 +- New Crowdin updates by @v0l in https://github.com/v0l/snort/pull/519 +- Subscription handle by @v0l in https://github.com/v0l/snort/pull/522 + +## New Contributors + +- @vivganes made their first contribution in https://github.com/v0l/snort/pull/486 + +**Full Changelog**: https://github.com/v0l/snort/compare/v0.1.6...v0.1.7 + +--- + +# v0.1.6 + +## 🏷️ Summary + +- Snort NIP5 management page (for transfers to new pubkeys) +- Short links for Snort NIP5 owners (ie. https://snort.social/kieran) + +## Other Changes + +- Update Wavlake embed to support .com links by @blastshielddown in https://github.com/v0l/snort/pull/469 +- Bug fixes for save profile & relay connection on clean browser + +**Full Changelog**: https://github.com/v0l/snort/compare/v0.1.5...v0.1.6 + +--- + +# v0.1.5 + +## 🏷️ Short Summary + +- Completely rebuilt "core" subscription management system +- Option to rewrite Twitter links to Nitter links +- Tarui app setup, Mac/Windows/Linux desktop apps (coming soon) +- OpenGraph tagging for profiles and events (Only for https://snort.social) +- NIP-27 `nostr:` link parsing +- Global tab full relay names + +## What's Changed + +- `nostr` package: add direct messages by @sistemd in https://github.com/v0l/snort/pull/399 +- New Crowdin updates by @v0l in https://github.com/v0l/snort/pull/445 +- Display search property alongside host in relay name by @h3y6e in https://github.com/v0l/snort/pull/452 +- Shorten long relay name by @h3y6e in https://github.com/v0l/snort/pull/455 +- Nostr links by @v0l in https://github.com/v0l/snort/pull/461 +- `nostr` package: vastly simplify the API by @sistemd in https://github.com/v0l/snort/pull/412 +- New Crowdin updates by @v0l in https://github.com/v0l/snort/pull/453 +- Fix: invisible