Eric Bailey
5710140a73
handle stuck state with granular android permissions
2023-08-29 17:09:38 -05:00
Paul Frazee
2619c55c10
Test fixes
2023-08-28 19:10:36 -07:00
Eric Bailey
1c460c40f4
Make posts behave more like links ( #1316 )
...
* use cursor for post cards
* ignore type error
* handle meta keys on non native links
(cherry picked from commit daccafea0b7ab21af6572767e496d20f32ead353)
* remove cursor on non-post notifications, not quite right
* Simplify link handling
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-08-28 18:41:28 -07:00
Paul Frazee
cc2838761b
Replace web editor link behavior ( #1319 )
...
* Replace web editor link behavior (close #1293 ) (close #1292 )
* Update link decorator to match rich text link detector
2023-08-28 18:40:45 -07:00
Patroll
2c60a0328d
Fix: Don't flash default profile avatar and link in nav ( #1287 )
2023-08-28 17:58:14 -07:00
Paul Frazee
5ee754e6f9
Improvements to feed assembly to avoid possible state issues ( #1318 )
...
* Avoid potential dropped posts due to pruning when checking for latest
* Add a sanity check to ensure dup react keys never occur (close #1315 )
2023-08-28 17:54:59 -07:00
Paul Frazee
e2f0770b88
Remove ability for Post component to load from URI ( close #1302 ) ( #1317 )
2023-08-28 17:08:21 -07:00
Eric Bailey
c77fd588e9
wrap mutation in runInAction ( #1305 )
2023-08-28 11:55:56 -07:00
Paul Frazee
a3cb12f584
Move the web composer to the top of the screen ( #1282 )
2023-08-25 10:30:15 -07:00
Eric Bailey
b15a435069
Eslint updates ( #1281 )
...
* eslint: Update eslintrc
* eslint: Strings must use singlequote quotes
* eslint: expected { after if-condition
* eslint: update warnings
* a little cleanup
* remove conflicted file
---------
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-08-25 08:48:38 -07:00
Eric Bailey
a0dca81a74
don't mention own user from composer ( #1279 )
2023-08-25 08:47:47 -07:00
Eric Bailey
953ae9c096
Update/fix `ChangeHandle` form ( #1280 )
...
* fix well-known did copy value
* s/Domain/Host in change handle form
2023-08-25 08:47:12 -07:00
Eric Bailey
462022741d
Use `Pressable` for most links/embeds ( #1181 )
...
* delay press on all links
* use Pressable for all accessible links
2023-08-24 16:28:26 -07:00
Eric Bailey
4654a9a45e
defer loading of feeds until visible ( #1271 )
...
* defer loading of feeds until visible
* Fix: use existing hasLoaded
* Fix: dont query for latest during initial load
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-08-24 16:26:29 -07:00
Paul Frazee
a5981e127f
Fixes to the feed discovery page ( #1238 )
...
* Bump yarn.lock for... reasons
* Restyle DiscoverFeeds empty state (close #1236 )
* Fix: maintain search state in feed discovery (close #1204 )
* tsconfig fixes
* Tweaks to yarn.lock
2023-08-24 16:16:14 -07:00
Ansh
7410bcd888
setup `isAuthenticatedUser` in profileUiModel inside an action ( #1272 )
2023-08-24 16:13:42 -07:00
Paul Frazee
c6f321862b
Add analytics event for when the app is opened from a notification ( #1270 )
...
* Add analytics event for when the app is opened from a notification
* Tweak notification ID
2023-08-24 16:07:16 -07:00
Paul Frazee
c1c02f480b
A couple quick notifications fixes ( #1262 )
...
* Create separate .easignore to ensure google-services.json goes to eas
* Set the notifications serviceDid according to the session host
* Fix types
2023-08-23 17:10:00 -07:00
Ansh
6487a87542
[APP-836] Emoji picker for web ( #1254 )
...
* add emoji-mart package for emoji dropdown picker
* remove emoji picker modal
* load emoji mart data not as part of the main bundle
* remove @emoji-mart/data
* setup emoji insertion with events
* get emoji data from local static assets
* close emoji picker after one emoji has been inserted
* Switch emoji picker trigger to an icon
* Update emoji-mart-data.js
* make grabbing emoji data work on more browsers
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-08-23 16:29:23 -07:00
Ansh
8ab5eb6583
[APP-786] Native notifications ( #1095 )
...
* move `notifee.ts` to notifications folder
* install expo notifications
* add UIBackgroundMode `remote-notifications` to app.json
* fix notifee import in Debug.tsx
* add `google-services.json`
* add `development-device` class to eas.json
* Add `notifications.ts` for native notification handling
* send push token to server
* update `@atproto/api`
* fix putting notif token to server
* fix how push token is uploaded
* fix lint
* enable debug appview proxy header on all platforms
* setup `notifications.ts` to work with app view notifs
* clean up notification handler
* add comments
* update packages to correct versions
* remove notifee
* clean up code a lil
* rename push token endpoint
* remove unnecessary comments
* fix comments
* Remove old background scheduler
* Fixes to push notifications API use
* Bump @atproto/api@0.6.6
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-08-23 16:28:51 -07:00
Ansh
32b9648931
Fixes #1252 fix alt text setting description toggle ( #1261 )
...
* make toggle border width slightly larger
* change copy
2023-08-23 16:16:55 -07:00
Eric Bailey
b6317d4ce7
Improve handling of unselecting languanges in composer language menu ( #1093 )
...
* allow toggling off/on multiple from main composer lang menu
* fix dropdown styles for long labels
* udpate model to use new string field
* update language UI
* save langs to history on submit
* remove edit
* clean up use new fields
* default to deviceLocales
* fix default valu
* feedback
* use radio icon
2023-08-23 13:40:15 -07:00
Eric Bailey
473a9fc73e
fix bad reference on native
2023-08-23 14:31:08 -05:00
Paul Frazee
8e1d0b0396
Change Handle modal DNS instruction tweaks for clarity ( #1245 )
...
* Remove potentially confusing period from subdomain in changehandle (close #1004 )
* Clarify dns instructions further (close #1087 )
2023-08-22 16:37:04 -07:00
Paul Frazee
54706a0437
Fix: update posts rendered in notifs on refresh ( close #1196 ) ( #1243 )
2023-08-22 16:36:49 -07:00
Paul Frazee
fcea27ea0b
Fix: include link-meta abort signal for timeout ( close #1214 ) ( #1240 )
2023-08-22 16:36:36 -07:00
Paul Frazee
54118fe478
Fix feed empty state ( close #1235 ) ( #1239 )
2023-08-22 16:36:23 -07:00
Eric Bailey
2b13dc0f3a
Add likes tab ( #1227 )
...
* add likes tab
(cherry picked from commit 6c5ffd964ca0b185ddfc37088d82712a006a1163)
* only show Likes tab to authenticated user
(cherry picked from commit ecc1254411d760158b6d7a4c5f05d940db872dfc)
* Bump @atproto/api@0.6.5
* fix types
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-08-22 12:30:51 -07:00
Eric Bailey
548ec6c82d
add title attr to text text links ( #1228 )
...
* add title attr to text text links
* Revert "add title attr to text text links"
This reverts commit c028cd184efd3b2788d8f46134eecf521e5d7b07.
* use css tooltips
* add to expanded post state
* handle theming
* add to bskyweb
2023-08-22 11:04:17 -07:00
Ansh
16b265a861
[APP-834] Allow @ing someone in post directly from profile ( #1241 )
...
* setup `initMention` for mobile
* setup creating post with profile tagged on web
2023-08-22 11:01:00 -07:00
Ansh
3aadc43c89
[APP-835] trim end of email during login ( #1242 )
...
* trim end of email during login
* Switch trimEnd() to trim()
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-08-22 10:52:59 -07:00
Paul Frazee
fb1199e21d
Merge branch 'main' of github.com:bluesky-social/social-app into main
2023-08-22 10:50:45 -07:00
Paul Frazee
0a50df1cce
Minor formatting
2023-08-22 10:50:19 -07:00
Paul Frazee
17fcc2f25c
Merge branch 'fix-empty-search' of https://github.com/darnfish/social-app into darnfish-fix-empty-search
2023-08-22 10:49:53 -07:00
Eric Bailey
13c11801b9
fix thread double border ( #1251 )
2023-08-22 10:49:03 -07:00
Eric Bailey
09a445d804
do not thread author media filtered feed ( #1253 )
2023-08-22 10:46:49 -07:00
William Gibson
d3f525ab28
Don't submit search if query is empty
2023-08-22 04:27:46 -04:00
Ansh
88357d5c82
add profiles sampling to sentry ( #1237 )
2023-08-21 16:49:59 -07:00
Eric Bailey
4cc2695d84
allow handles to start with a number ( #1231 )
...
* allow handles to start with a number
* don't allow leading hyphen
2023-08-21 13:37:57 -07:00
Paul Frazee
2198aab8b2
Fix to post meta overflow in highlighted post ( #1211 )
...
* Fix to post meta overflow in highlighted post
* Give more space to desktop web
2023-08-17 18:59:25 -07:00
Paul Frazee
c7cad72368
Fix android postmeta alignment
2023-08-17 17:48:45 -07:00
Paul Frazee
43d1f002f5
Dont suggest users that are muted or blocked ( close #1185 ) ( #1209 )
2023-08-17 17:44:48 -07:00
Eric Bailey
55ad56f689
default translate to device language ( #1207 )
2023-08-17 15:45:36 -07:00
Paul Frazee
4a59178cd2
Update the web composer textinput to an emitter ( close #1193 ) ( #1205 )
...
The tiptap useEditor() hook creates an awkward challenge for passing
event handlers into its plugins and native events. By introducing a
memoized editor, we should be able to shuttle events out of tiptap
without retriggering the useEditor hook. The emitter can then change
its registered handlers with each state update.
2023-08-17 13:39:59 -07:00
Paul Frazee
5e63d3164b
A set of composer fixes ( #1187 )
...
* Don't insert a newline on cmd+entrl (close #1173 )
* Don't linkify selected text on url-paste (close #1149 )
* Disable the adult content controls if there is no media on the post (close #1169 )
2023-08-16 10:46:52 -07:00
Paul Frazee
819340dd3c
Shorten links in composer to reduce char usage ( #1188 )
...
* Modify toShortUrl() to always include the full domain
* Shorten links in the composer to save on characters
* Apply some limits to the link card suggester
2023-08-16 10:22:50 -07:00
Paul Frazee
5379561934
Tune link card font sizes on desktop
2023-08-16 10:10:39 -07:00
Paul Frazee
79a6819769
Tune up the link card to look nicer, show more info, and layout horizontally on web to user space more nicely ( #1190 )
2023-08-16 10:02:41 -07:00
Paul Frazee
884e5c9294
Fix to "Load new posts" showing sometimes when there's nothing new to show ( #1191 )
...
* Fix to feed item react key value (hopefully)
* Fix false-firing of load more (close #1028 )
2023-08-16 10:00:22 -07:00
Paul Frazee
6ccfb1375a
Fix tap target size of post dropdown menus ( #1180 )
2023-08-15 15:49:52 -07:00