e04843fe96
Using Main to update screen seems needed otherwise I get a 1 minute delay in the loading page before the screen updates. It looks like it waits for all the Pictures to load. Not sure why.
2023-02-05 18:39:54 -05:00
bb50099021
Merge pull request #75 from clackbib/habib/threading-perf-fixes
...
Scroll Perf Improvements.
2023-02-05 18:18:29 -05:00
459c195113
Merge pull request #76 from clackbib/habib/search-perf
...
A couple proposed improvements to search.
2023-02-05 18:16:58 -05:00
933fa9bf4d
Merge pull request #77 from clackbib/habib/scrollabletabs
...
Tiny change to profile page:
2023-02-05 18:14:59 -05:00
bd94544c9b
Breaking filters down by feed type: Home, DMs, Public Chats and Global.
2023-02-05 18:14:41 -05:00
72aad26c03
Fixing a bug where the last message is remembered by the Compose when forcing index = 0 on the first element.
2023-02-05 18:13:08 -05:00
ff087e3dea
Correctly addressing Preview of images when posts have been reported.
2023-02-05 18:12:11 -05:00
eb41f22bae
Correctly addresses a report to a note (and not to a user)
2023-02-05 18:10:32 -05:00
f1a37afaf1
Testing to see if the use of PlayServices dependencies uses less cache from the app.
2023-02-05 18:09:49 -05:00
9035fda17a
Simplifying dependencies
2023-02-05 12:59:35 -05:00
c16f175ebc
Not display any previews if the note has a report.
2023-02-05 12:59:15 -05:00
5c5aa222c5
Quick refactoring
2023-02-05 12:58:26 -05:00
Habib Okanla
14bda01a70
Tiny change to profile page:
...
Use scrollable tabs instead of fixed tab to avoid bad text wrap.
2023-02-05 02:05:54 -05:00
Habib Okanla
cd9f359add
A couple proposed improvements to search.
...
The UX and performance of search is relatively poor because each keystroke triggers a search & update. With this changes:
1. Search queries are moved into an IO thread so that typing is smooth and data sends happend in the background.
2. Text changed are debounced by 300 millis, meaning search will not be fired off on every keystroke, but rather only when we the user stops typing for 300 millis.
2023-02-05 01:56:16 -05:00
Habib Okanla
f40060bb36
There are very visible perf issues during app usage and scrolling that clearly indicates that the app is doing too much on the main thread. After digging for instances where Dispatchers.Main is used, it's an easy fix to switch to Dispatchers.IO, which visibility improve perf.
...
A few thoughts about perf considerations
1. There is no need to force Dispatchers.Main for data that is consumed as state by compose, since flows consumed as state will always flow on main, so we can use a background thread to guarantee best performance.
2. Using Dispatchers.IO is appropriate for disk/network operations to have a device-constrained thread pool that will avoid draining IO-related device resources. Using Dispatchers.Default is more appropriate for computational tasks (bitmap manipulation, delays, etc..)
3. There are a few instances of methods creating coroutine scopes in their body just to launch something that will delay. This is creating a lot of loose scopes, and you can avoid this by just moving scope creation to a class-level field and reusing it, or better yet, make your method suspending so that scope is controlled by the caller.
2023-02-05 00:41:37 -05:00
c5aa57d91b
v0.13.0
2023-02-04 19:44:47 -05:00
229f15ee7f
Adds automatic translation to feed and chat.
2023-02-04 19:43:31 -05:00
d168a6c861
Changes to Logging
2023-02-04 19:43:08 -05:00
39d58452a0
Allows redirection on relay URIs
2023-02-04 19:42:08 -05:00
b334c7105c
Adds a relay filter to download all reports by the user
2023-02-04 19:41:47 -05:00
ea9ff08d8a
Adds hidden notes to chat.
2023-02-04 19:41:19 -05:00
e3d7c23218
Moves QR code classes to another package
2023-02-04 19:40:45 -05:00
67b030f068
Matches target API with build file
2023-02-04 15:10:16 -05:00
1940303130
Increases timeout period and avoid double websocket connections.
2023-02-04 13:32:09 -05:00
80bc09df92
refactoring
2023-02-04 13:30:39 -05:00
ea59568b6f
removes mutable list in Client.
2023-02-04 13:30:15 -05:00
3e08256347
Keeping subscription names small to please some relays.
2023-02-04 13:29:53 -05:00
2641dda7bc
Fixes Follow/Unfollow button update after pressing.
2023-02-04 10:48:54 -05:00
40deb46eab
Bugfix: consider flags of the referenced post in case of Boost events.
2023-02-04 10:42:32 -05:00
2a5f8595d0
Increasing Notification stack to 200
2023-02-04 10:41:58 -05:00
6c27fe0828
Adding more info into flagged posts.
2023-02-04 10:41:43 -05:00
2992d9daf0
Trying to fix NPE around these lines.
2023-02-04 10:41:01 -05:00
bbfd060328
v0.12.1
2023-02-03 17:46:24 -05:00
9e894642ec
Correctly aligns chat field.
2023-02-03 17:45:44 -05:00
22daf1a6a8
Removes Channels from the Messages Notification Dot.
2023-02-03 17:45:28 -05:00
1a3b92a727
Abolishes the use of Mutable collections inside data models.
2023-02-03 17:23:47 -05:00
ee7120d803
Adding a way to visualize view count stats
2023-02-03 11:26:49 -05:00
a45a8789e7
Faster animations
2023-02-03 11:26:28 -05:00
bb3e38d079
Merge pull request #63 from clackbib/disable_backup
...
Disable android backup as this app uses EncryptedSharedPrefs. Usage o…
2023-02-03 09:46:54 -05:00
1568cad693
Fixing test cases
2023-02-03 09:08:06 -05:00
10e5c43be9
v0.12.0
2023-02-02 20:40:03 -05:00
e3aa573b8c
Removing logs
2023-02-02 20:39:54 -05:00
bd77c43d40
Not reloading reactions to an event.
2023-02-02 20:18:06 -05:00
8e02f67052
Reducing the chance of a bug when loading chatroom without a user
2023-02-02 20:17:53 -05:00
299cf1aabb
Keeping the report filter.
2023-02-02 20:16:35 -05:00
343521ff58
Cut off of 200 messages for each channel
2023-02-02 20:16:07 -05:00
a82f260142
Capturing EOSE events and keeping messages within relay limits (10 subscriptions and 10 REQ events at a time)
2023-02-02 16:57:03 -05:00
fb73308995
Moving observable classes to the leaf nodes.
2023-02-02 14:34:34 -05:00
b3ce10c2de
Allowing HTTP downloads
2023-02-02 14:30:58 -05:00
4fa6873180
Forcing Notifications with Direct citations only removes too much.
2023-02-02 14:29:39 -05:00
Habib Okanla
a34e88b4fc
Disable android backup as this app uses EncryptedSharedPrefs. Usage of EncryptedSharedPrefs can cause crashes if it's not properly excluded from backup.
...
https://stackoverflow.com/questions/61751264/autobackup-with-encryptedsharedpreferences-failing-to-restore
2023-02-01 19:33:46 -05:00
912ca72d68
Presenting a Drop Down menu to copy keys and channel IDs.
2023-02-01 14:05:59 -03:00
c3c19ebb49
Only showing notifications if it directly cites the account holder
2023-02-01 13:51:03 -03:00
0f968ca5e5
Removing channel create and change from Notifications Feed
2023-02-01 13:17:21 -03:00
2e17535a60
Keeping chatroom list scroll up top if it was up top.
2023-02-01 12:40:31 -03:00
663eb9c604
Solves https://github.com/vitorpamplona/amethyst/issues/58
2023-02-01 10:52:54 -03:00
4b894c5b33
Fixes bug where default relays would come back after leaving the two groups and not adding any other group.
2023-01-31 23:42:14 -03:00
814fb1845f
Moving Picture and Display Name Observables to leaf UI nodes.
2023-01-31 22:12:24 -03:00
94a4bfc2f3
Avoiding calculations in the UI thread
2023-01-31 22:11:54 -03:00
4303e6040c
Fixes Channel @tag
2023-01-31 20:50:56 -03:00
75cb313886
Uses Hex to idex Users
2023-01-31 20:50:38 -03:00
88d2786473
v0.11.7
2023-01-30 23:39:30 -03:00
7837860ac6
Keep Note model refreshes in the Default thread.
2023-01-30 23:39:09 -03:00
b7bc8a0b9d
Fixing Boost to add content of the post in the boosted event as well as selecting only the last one to show on the screen.
2023-01-30 23:36:06 -03:00
c71c121356
Correctly updates new changes to the User model
2023-01-30 22:41:13 -03:00
d94f35de0e
User Relay information in Profiles
2023-01-30 22:05:48 -03:00
3c52ff6e8d
Tracks where notes are coming from
2023-01-30 19:38:06 -03:00
dc47845dd6
Solves a duplicated id in the feed.
2023-01-30 19:36:39 -03:00
76087e5f25
Removes new threads, boosts from the Conversations view
2023-01-30 13:51:30 -03:00
6225b4f843
Renames Follows + Replies to Conversations
2023-01-30 13:51:10 -03:00
3a834a932c
Increases Home feed to 400
2023-01-30 13:50:56 -03:00
e59dfa7a76
Avoids concurrent exceptions
2023-01-30 13:50:43 -03:00
a0ba313661
Creating linkable routes for NIP19 in content.
2023-01-30 13:50:24 -03:00
fb8d6daf3d
Resizing when using the keyboard
2023-01-30 00:23:22 -03:00
f2d7dea860
v0.11.6 Avoids crashing on invalid relay entries.
2023-01-29 23:35:08 -03:00
29b1a94ec4
Fixing crash due to wrong relay url (spaces, wrong schema, etc)
2023-01-29 23:27:48 -03:00
bba5afcdbf
0.11.5
2023-01-29 22:07:00 -03:00
8b1e0f9af0
Activating NIP 56 (Report Users and Posts with Event Kind 1984)
2023-01-29 22:06:48 -03:00
9fe73c7a97
v0.11.4 QR code reading and scanning (any NIP-21 uri)
2023-01-29 00:58:43 -03:00
9263684031
Support for PubKey QR showing and Scanning.
2023-01-29 00:56:13 -03:00
d1753a59f9
v0.11.3
2023-01-28 12:42:37 -03:00
31e2e586b7
Adding Block user option in profiles.
2023-01-28 12:42:24 -03:00
5a502f3b80
v0.11.2
2023-01-27 22:09:45 -03:00
456d40c58e
Declaring observers directly into the Picture Compose
2023-01-27 22:05:22 -03:00
d19a1fa1b2
Refactoring
2023-01-27 22:04:59 -03:00
59dc19720f
Correctly filtering out the channel id from the reply to list
2023-01-27 22:04:45 -03:00
11cfc90d36
Remove Channel Messages from event datasource
2023-01-27 22:04:25 -03:00
9f2f0727a0
Increase Global size to 200
2023-01-27 22:04:03 -03:00
6f9a69b9d4
Migrating pictures and banners to https
2023-01-27 22:03:54 -03:00
5ad39d7163
Clickable Profile pictures on notifications
2023-01-27 20:29:09 -03:00
acff1316be
Only disk is much slower
2023-01-27 20:28:30 -03:00
ee2684a775
Printing memory and disk use for cache
2023-01-27 20:28:01 -03:00
5f3f80bc97
Waits 10 seconds before reconnecting.
2023-01-27 20:06:34 -03:00
1e3654396b
No more blinking in Feeds
2023-01-27 19:28:59 -03:00
ae82c690ea
Refreshing new Channels when showing them up on screen.
2023-01-27 19:28:48 -03:00
a29a0a614b
Profile Refactoring
2023-01-27 16:10:13 -03:00
4d5a40f4ac
Avoids any crash in processing events.
2023-01-27 16:10:05 -03:00
27e12a63d6
Full integration between Channel Messages and Regular notes.
2023-01-27 15:50:17 -03:00
a934b42524
Avoiding concurrent exceptions when looping through messages
2023-01-27 14:50:20 -03:00
c29c14f82b
Round input texts
2023-01-27 14:49:46 -03:00