Commit Graph

349 Commits

Author SHA1 Message Date
433881fa21 Adjusts final relays for release 2023-02-06 17:16:07 -05: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
middlingphys
a2f85dd060 remove trailing slash from addedWSS 2023-02-06 23:25:45 +09:00
greenart7c3
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
de3431e374 Fixing the order of url text and link 2023-02-06 08:32:35 -05:00
Oleg Koretsky
09f3a440d3 Fix switching tabs when changing the pager height 2023-02-06 14:46:54 +02:00
Oleg Koretsky
49c93c11e6 Make the profile header scrollable a, keep the bs â fixed 2023-02-06 13:47:48 +02: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
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