William Casarin
374610a21a
artifacts: allow unseparated note artifacts
...
This is needed for longform events. Right now we treat unseparated note
artifacts as a list of blocks, but we will likely need to render these
blocks into lists of attributed texts with image blocks inbetween.
2023-07-10 18:24:43 -07:00
William Casarin
4d995fd04c
Longform Notes
2023-07-10 17:39:13 -07:00
William Casarin
518886912c
refactor: carve out TextEvent body into EventShell
...
We'll need this for other event types
2023-07-10 17:39:13 -07:00
William Casarin
ab5eea330a
options: add no_mentions to event view options
...
We don't need mentions in longform previews so we'll need this
2023-07-10 17:39:13 -07:00
William Casarin
6ca9bda01e
notes: count words in notes during artifact parsing
2023-07-10 17:39:13 -07:00
William Casarin
fe077fa5c2
reposts: don't always show text events in reposts
...
This will allow longform reposts to work properly
Changelog-Fixed: Don't always show text events in reposts
2023-07-10 17:39:13 -07:00
Joel Klabo
196cfdec4b
Fix Image Orientation
2023-07-10 17:27:51 -07:00
Joel Klabo
bfb47c0f85
Update Control Style to Stand Out More
2023-07-10 17:27:51 -07:00
Joel Klabo
9e7e128d9a
Refactoring Edit Picture Views
2023-07-10 17:27:51 -07:00
Joel Klabo
bf95a8b328
Banner Image Upload
...
Changelog-Added: Enable banner image editing
2023-07-10 17:27:42 -07:00
tyiu
fcd7d2beab
Fix localization issues and export strings for translation
2023-07-09 15:33:15 -04:00
Bryan Montz
faaa3e3bd9
only show the relay log in developer mode
...
Signed-off-by: Bryan Montz <bryanmontz@me.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-07-09 07:40:39 -07:00
Bryan Montz
51d71f11c1
replace RelayMetadatas with RelayModelCache in DamusState
...
Signed-off-by: Bryan Montz <bryanmontz@me.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-07-09 07:40:39 -07:00
Bryan Montz
91f02ccff5
add RelayLog to the bottom of the RelayDetailView
...
Signed-off-by: Bryan Montz <bryanmontz@me.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-07-09 07:40:39 -07:00
William Casarin
1be2a9e1b1
ui: remove invalid zap text
2023-07-08 20:47:11 -07:00
cr0bar
4478348d10
Fix profile post button mentions
...
Fix for second part of issue #1352 where if you submit a reply from the
+ on a profile, it uses the hex nostr url rather than the bech32
version. When typing the @ manually it uses the bech32 so updated to
mirror this.
Changelog-Fixed: Fix profile post button mentions
Closes : #1355
2023-07-08 19:24:35 -07:00
Anthony de Broise
cf4131f867
Minor update to ConfigView.swift to fix key and search icon
...
Replaced icon names with names existing in assets to avoid them being left blank.
Changelog-Fixed: Fix icons on settings view
Closes : #1353
2023-07-08 08:14:26 -07:00
Bryan Montz
81b69bc2ea
add explanatory footer to Developer Mode setting view
...
Signed-off-by: Bryan Montz <bryanmontz@me.com >
Reviewed-by: William Casarin <jb55@jb55.com >
2023-07-08 08:06:52 -07:00
Bryan Montz
d2efe06610
make "Copy Note JSON" a developer mode setting
...
Signed-off-by: Bryan Montz <bryanmontz@me.com >
2023-07-07 09:02:52 -07:00
Bryan Montz
ebcfe3c25f
add developer mode view and setting
...
Signed-off-by: Bryan Montz <bryanmontz@me.com >
2023-07-07 09:02:52 -07:00
William Casarin
6dfda93ff9
Fix Invalid Zap bug in reposts
...
Changelog-Fixed: Fix Invalid Zap bug in reposts
2023-07-04 13:48:49 -07:00
William Casarin
ea50f9214a
Switch to navigation stack in BuilderEventView
2023-07-04 13:48:49 -07:00
William Casarin
3451e7d88f
v1.6
2023-07-04 12:18:33 -07:00
William Casarin
a04a401292
nscript: load script view
...
This allows you to open and run scripts for testing purposes, but only
from external links such as nostr:nscript...
2023-07-04 11:48:27 -07:00
tyiu
640fbf23ea
Fix UI bug with user search and fix race conditions on profiles NIP-05 cache
...
Signed-off-by: Terry Yiu <git@tyiu.xyz >
Reviewed-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-07-04 09:09:14 -07:00
tyiu
cb1e16b1a4
Fix reports to conform to NIP-56
...
Changelog-Fixed: Fix reports to conform to NIP-56
Signed-off-by: Terry Yiu <git@tyiu.xyz >
Tested-by: William Casarin <jb55@jb55.com >
2023-07-03 12:25:12 -07:00
tyiu
6e964f71ff
Add trie-based user search cache to replace non-performant linear scans
...
Changelog-Added: Speed up user search
Tested-by: William Casarin <jb55@jb55.com >
Fixes : #1219
Closes : #1342
2023-07-03 12:06:01 -07:00
tyiu
4b7444f338
Fix profile navigation bugs from muted users list and relay list views
...
Changelog-Fixed: Fix profile navigation bugs from muted users list and relay list views
Signed-off-by: Terry Yiu <git@tyiu.xyz >
Reviewed-by: William Casarin <jb55@jb55.com >
2023-07-03 08:59:28 -07:00
William Casarin
f702733654
nav: remove environmentObjects
...
environment objects are implicit arguments that cannot be checked by the
compiler. They are a common source of crashes. Use a main
NavigationCoordinator in DamusState for the core app, and pass in other
coordinators in the account setup view for the parts of the app that
don't have a DamusState.
2023-06-30 09:59:58 -07:00
Scott Penrose
69663b8207
A few more navigation links from rebase
2023-06-30 06:42:56 -07:00
Scott Penrose
58a707685c
Fix FollowUserView not allowing profile tapping
2023-06-30 06:42:56 -07:00
Scott Penrose
0018e7ad57
Convert remaining navigation links
2023-06-30 06:42:56 -07:00
Scott Penrose
f361f55bd5
Convert wallet NavigationLinks
2023-06-30 06:42:56 -07:00
Scott Penrose
c50ccef56d
Convert onboarding flow navigation links
2023-06-30 06:42:56 -07:00
Scott Penrose
242455410e
Convert more NavigationLinks to router
2023-06-30 06:42:56 -07:00
Scott Penrose
f0b0eade37
Convert to NavigationStack
...
- Fixes linking issues on SideMenu and tab switching issues
- I currently bumped to iOS 16+ to get iterate and get this working.
2023-06-30 06:42:56 -07:00
tyiu
25b3df8b89
Disable post button when media upload in progress
...
Changelog-Fixed: Disable post button when media upload in progress
Closes : #1324
2023-06-28 19:31:57 +02:00
tyiu
14accd222e
Fix taps on mentions in note drafts to not redirect to other Nostr clients
...
Changelog-Fixed: Fix taps on mentions in note drafts to not redirect to other Nostr clients
Closes : #1319
2023-06-28 19:31:16 +02:00
William Casarin
abcff3b928
profile: allow post button on every profile and prefill user tag
...
Changelog-Added: Add post button to profile pages
2023-06-28 17:40:27 +02:00
William Casarin
c8f18958a2
refactor: cleanup processFocusedWordForMention
2023-06-28 17:09:08 +02:00
William Casarin
3b07a207c4
post: extract createUserTag so it can be re-used
2023-06-28 16:26:59 +02:00
William Casarin
d9a06e69ae
misc: remove some dead code
2023-06-28 16:25:04 +02:00
tyiu
32c71a4770
Add post button when logged in with private key and on own profile view
...
Changelog-Added: Add post button when logged in with private key and on own profile view
Closes : #1325
2023-06-28 15:49:34 +02:00
tyiu
7cae61a86a
Fix missing profile zap notification text
...
Changelog-Fixed: Fix missing profile zap notification text
Closes : #1332
2023-06-28 14:48:06 +02:00
William Casarin
3e274a820a
nozaps: restore zap button with zap info, just make it not clickable
2023-06-27 06:04:36 +02:00
William Casarin
94448a10bd
Revert "nozaps: hide zap details on notes for now"
...
This reverts commit b0d6d33573 .
2023-06-27 05:58:42 +02:00
William Casarin
66db4c5215
Revert "nozaps: don't show note zaps in notifications"
...
This reverts commit c5b0e539d8 .
2023-06-27 05:58:39 +02:00
William Casarin
7d80985b06
nozaps: remove zap button on posts
2023-06-27 05:31:14 +02:00
tyiu
cfe14fac23
Deduplicate users in group notifications
...
Changelog-Fixed: Deduplicate users in notifications
Closes : #1326
2023-06-26 11:31:36 +02:00
Bryan Montz
2d4ddc7b9c
Fix crash related to VideoPlayer and CMTime
...
Closes : #1321
Changelog-Fixed: Fix crash related to VideoPlayer
2023-06-26 11:20:11 +02:00