Commit Graph

303 Commits

Author SHA1 Message Date
middlingphys
a2f85dd060 remove trailing slash from addedWSS 2023-02-06 23:25:45 +09:00
8ce96257d2 v0.13.1 2023-02-05 20:26:47 -05:00
94b525dd1f Fixing add button color. 2023-02-05 18:55:09 -05:00
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