Commit Graph

335 Commits

Author SHA1 Message Date
9faf6a2fbc Merge pull request #94 from Radiokot/fix/ui_issues
Fix some UI issues
2023-02-07 15:59:26 -05:00
f61b894ddf Merge branch 'main' into fix/ui_issues 2023-02-07 15:59:19 -05:00
b0dda37023 Merge pull request #90 from greenart7c3/main
fix dropDown color on light theme
2023-02-07 15:56:17 -05:00
d600d1c3e5 Fix invisible user profile menu button (white on white) 2023-02-07 12:01:23 +02:00
79947524cc Fix login screen buttons crop when the keyboard is opened 2023-02-07 11:53:46 +02:00
2e49bbc606 Make post translation label wrap words properly, fix #86 2023-02-07 11:20:45 +02:00
c3f0f7c59c Bugfix v0.13.2 2023-02-06 18:53:43 -05:00
387c5cdffa v0.13.2 2023-02-06 18:39:45 -05:00
660f11cfc4 Adjustments to video playback 2023-02-06 18:38:59 -05:00
2a6a6f459c Using the explore button to present information about the relay 2023-02-06 18:15:54 -05:00
12c330f8f6 Correctly handling Atomic Boolean 2023-02-06 18:15:37 -05:00
d252297ba4 List relays in Private DMs 2023-02-06 18:15:18 -05:00
ba5eca648f Adds individual relay information per chat message. 2023-02-06 17:51:55 -05:00
ca3ed88b78 Tracks relays used per Note 2023-02-06 17:16:27 -05:00
433881fa21 Adjusts final relays for release 2023-02-06 17:16:07 -05:00
3a7228712c fix dropDown color on light theme 2023-02-06 17:30:35 -03:00
7b3a23825f Updating Semisol's relay. 2023-02-06 14:50:59 -05:00
2819c7efcf Shipping Amethyst with Paid relays for Global and Public Chats. 2023-02-06 14:34:44 -05:00
e645029ddf Crops Posts in 350 chars. 2023-02-06 14:34:21 -05:00
f160a024aa Since refresh is mostly a CPU/Memory process and not really IO, Default is recommended. 2023-02-06 12:29:17 -05:00
074cac3021 Removes unnecessary elvis operator 2023-02-06 12:28:27 -05:00
e7c6292cdc Fixing test case after https://github.com/vitorpamplona/amethyst/pull/87 2023-02-06 12:18:52 -05:00
6daeb487d3 Fixing unassignable variable from PR https://github.com/vitorpamplona/amethyst/pull/88 2023-02-06 11:30:57 -05:00
2e2e54d642 Merge pull request #87 from greenart7c3/main
add debug configuration
2023-02-06 11:19:25 -05:00
d2ce108bf3 Merge pull request #88 from middlingphys/remove_trailing_slash
remove trailing slash from relay URI
2023-02-06 11:18:48 -05:00
a6dcf64f04 Refactoring Channel -> Subscription 2023-02-06 10:56:10 -05:00
a2f85dd060 remove trailing slash from addedWSS 2023-02-06 23:25:45 +09:00
7c8c79819a add debug configuration 2023-02-06 11:15:18 -03:00
a5f156ec49 Merge remote-tracking branch 'origin/main' 2023-02-06 08:38:48 -05:00
43a6fefa17 Merge pull request #84 from Radiokot/fix/83
Fix #83
2023-02-06 08:38:10 -05:00
de3431e374 Fixing the order of url text and link 2023-02-06 08:32:35 -05:00
09f3a440d3 Fix switching tabs when changing the pager height 2023-02-06 14:46:54 +02:00
49c93c11e6 Make the profile header scrollable a, keep the bs â fixed 2023-02-06 13:47:48 +02:00
8ce96257d2 v0.13.1 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
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
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
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