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
Vitor Pamplona
912ca72d68
Presenting a Drop Down menu to copy keys and channel IDs.
2023-02-01 14:05:59 -03:00
Vitor Pamplona
c3c19ebb49
Only showing notifications if it directly cites the account holder
2023-02-01 13:51:03 -03:00
Vitor Pamplona
0f968ca5e5
Removing channel create and change from Notifications Feed
2023-02-01 13:17:21 -03:00
Vitor Pamplona
2e17535a60
Keeping chatroom list scroll up top if it was up top.
2023-02-01 12:40:31 -03:00
Vitor Pamplona
663eb9c604
Solves https://github.com/vitorpamplona/amethyst/issues/58
2023-02-01 10:52:54 -03:00
Vitor Pamplona
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
Vitor Pamplona
814fb1845f
Moving Picture and Display Name Observables to leaf UI nodes.
2023-01-31 22:12:24 -03:00
Vitor Pamplona
94a4bfc2f3
Avoiding calculations in the UI thread
2023-01-31 22:11:54 -03:00
Vitor Pamplona
4303e6040c
Fixes Channel @tag
2023-01-31 20:50:56 -03:00
Vitor Pamplona
75cb313886
Uses Hex to idex Users
2023-01-31 20:50:38 -03:00
Vitor Pamplona
88d2786473
v0.11.7
2023-01-30 23:39:30 -03:00
Vitor Pamplona
7837860ac6
Keep Note model refreshes in the Default thread.
2023-01-30 23:39:09 -03:00
Vitor Pamplona
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
Vitor Pamplona
c71c121356
Correctly updates new changes to the User model
2023-01-30 22:41:13 -03:00
Vitor Pamplona
d94f35de0e
User Relay information in Profiles
2023-01-30 22:05:48 -03:00
Vitor Pamplona
3c52ff6e8d
Tracks where notes are coming from
2023-01-30 19:38:06 -03:00
Vitor Pamplona
dc47845dd6
Solves a duplicated id in the feed.
2023-01-30 19:36:39 -03:00
Vitor Pamplona
76087e5f25
Removes new threads, boosts from the Conversations view
2023-01-30 13:51:30 -03:00
Vitor Pamplona
6225b4f843
Renames Follows + Replies to Conversations
2023-01-30 13:51:10 -03:00
Vitor Pamplona
3a834a932c
Increases Home feed to 400
2023-01-30 13:50:56 -03:00
Vitor Pamplona
e59dfa7a76
Avoids concurrent exceptions
2023-01-30 13:50:43 -03:00
Vitor Pamplona
a0ba313661
Creating linkable routes for NIP19 in content.
2023-01-30 13:50:24 -03:00
Vitor Pamplona
fb8d6daf3d
Resizing when using the keyboard
2023-01-30 00:23:22 -03:00
Vitor Pamplona
f2d7dea860
v0.11.6 Avoids crashing on invalid relay entries.
2023-01-29 23:35:08 -03:00
Vitor Pamplona
29b1a94ec4
Fixing crash due to wrong relay url (spaces, wrong schema, etc)
2023-01-29 23:27:48 -03:00
Vitor Pamplona
bba5afcdbf
0.11.5
2023-01-29 22:07:00 -03:00
Vitor Pamplona
8b1e0f9af0
Activating NIP 56 (Report Users and Posts with Event Kind 1984)
2023-01-29 22:06:48 -03:00
Vitor Pamplona
9fe73c7a97
v0.11.4 QR code reading and scanning (any NIP-21 uri)
2023-01-29 00:58:43 -03:00
Vitor Pamplona
9263684031
Support for PubKey QR showing and Scanning.
2023-01-29 00:56:13 -03:00
Vitor Pamplona
d1753a59f9
v0.11.3
2023-01-28 12:42:37 -03:00
Vitor Pamplona
31e2e586b7
Adding Block user option in profiles.
2023-01-28 12:42:24 -03:00
Vitor Pamplona
5a502f3b80
v0.11.2
2023-01-27 22:09:45 -03:00
Vitor Pamplona
456d40c58e
Declaring observers directly into the Picture Compose
2023-01-27 22:05:22 -03:00
Vitor Pamplona
d19a1fa1b2
Refactoring
2023-01-27 22:04:59 -03:00
Vitor Pamplona
59dc19720f
Correctly filtering out the channel id from the reply to list
2023-01-27 22:04:45 -03:00
Vitor Pamplona
11cfc90d36
Remove Channel Messages from event datasource
2023-01-27 22:04:25 -03:00
Vitor Pamplona
9f2f0727a0
Increase Global size to 200
2023-01-27 22:04:03 -03:00
Vitor Pamplona
6f9a69b9d4
Migrating pictures and banners to https
2023-01-27 22:03:54 -03:00
Vitor Pamplona
5ad39d7163
Clickable Profile pictures on notifications
2023-01-27 20:29:09 -03:00
Vitor Pamplona
acff1316be
Only disk is much slower
2023-01-27 20:28:30 -03:00
Vitor Pamplona
ee2684a775
Printing memory and disk use for cache
2023-01-27 20:28:01 -03:00
Vitor Pamplona
5f3f80bc97
Waits 10 seconds before reconnecting.
2023-01-27 20:06:34 -03:00
Vitor Pamplona
1e3654396b
No more blinking in Feeds
2023-01-27 19:28:59 -03:00
Vitor Pamplona
ae82c690ea
Refreshing new Channels when showing them up on screen.
2023-01-27 19:28:48 -03:00
Vitor Pamplona
a29a0a614b
Profile Refactoring
2023-01-27 16:10:13 -03:00
Vitor Pamplona
4d5a40f4ac
Avoids any crash in processing events.
2023-01-27 16:10:05 -03:00
Vitor Pamplona
27e12a63d6
Full integration between Channel Messages and Regular notes.
2023-01-27 15:50:17 -03:00
Vitor Pamplona
a934b42524
Avoiding concurrent exceptions when looping through messages
2023-01-27 14:50:20 -03:00
Vitor Pamplona
c29c14f82b
Round input texts
2023-01-27 14:49:46 -03:00