Commit Graph

3233 Commits (1a9eeb760ff0f9fcc8b7fd510ac3be7db889e95d)

Author SHA1 Message Date
Minseo Lee 200c4c1d37
Merge branch 'bluesky-social:main' into patch-3 2024-02-29 13:05:45 +09:00
Hailey a35976cdc9
Don't mute your own posts (#3037)
* Don't mute your own posts.

* fix and add tests
2024-02-28 18:41:23 -08:00
Eric Bailey 2440975bd2
Integrate new dialogs into old back handling (#3023) 2024-02-28 20:06:26 -06:00
Minseo Lee a1127bfcfc
Merge branch 'main' into patch-3 2024-02-29 09:51:56 +09:00
Hailey 7fd13cacfe
Remove `Platform.select()` (#3027) 2024-02-28 15:38:54 -08:00
Paul Frazee 442eb135ee
Add /intent/compose to bskyweb (#3026) 2024-02-28 15:30:08 -08:00
Hailey c7de733dff
always use utf8 offsets (#3024) 2024-02-28 13:28:27 -08:00
Hailey a697b39c48
add alf dialogs to useCloseAllActiveElements (#3021) 2024-02-28 11:46:19 -08:00
Hailey 60eb6e23d1
close open dialogs when deep linking to composer (#3020) 2024-02-28 11:35:59 -08:00
Eric Bailey d2c6edacb6
Protect against non functions being passed to close callback (#3019) 2024-02-28 11:27:54 -08:00
Eric Bailey 0c3d55db6f
Improve muted word matching (#3018)
* Use name params

* Add language exception matching
2024-02-28 08:38:31 -08:00
Hailey 5cb45f9c16
fix collissions in uitextview (#3017) 2024-02-28 08:31:04 -08:00
dan d679ae7dbb
Use selected feed for window title on Home (#3016) 2024-02-28 08:08:11 -08:00
dan 0dd3f9432b
Fix wrong feed being shown (#3015) 2024-02-28 08:04:51 -08:00
Hailey 88c66c4bc5
fix app group in native code (#3014) 2024-02-28 07:58:13 -08:00
Minseo Lee b723c4ca7c
Merge branch 'bluesky-social:main' into patch-3 2024-02-28 16:26:19 +09:00
Paul Frazee e2ae534fde Fix app config 2024-02-27 21:11:48 -08:00
Hailey ba667af80e
add entitlements (#3013) 2024-02-27 21:09:59 -08:00
Hailey ffeef8fd49
update config (#3012) 2024-02-27 20:54:12 -08:00
Hailey 2a60faf4fe
add dev team (#3011) 2024-02-27 20:34:11 -08:00
Minseo Lee 3767e76390
Merge branch 'bluesky-social:main' into patch-3 2024-02-28 13:03:55 +09:00
Hailey c4d30a0b7f
please 🙏 (#3010) 2024-02-27 19:48:04 -08:00
Paul Frazee 00ac76d0fe Fix group id 2024-02-27 19:40:22 -08:00
Paul Frazee 622d0daad6 More entitlement fixes 2024-02-27 18:41:53 -08:00
Hailey ed2e6d654e
Fix entitlements (#3008) 2024-02-27 18:34:09 -08:00
Paul Frazee 259468b7d5 Change application group to group.app.bsky 2024-02-27 18:29:59 -08:00
Paul Frazee 23347a832d Update po files 2024-02-27 17:35:52 -08:00
dan 2d14d0e2db
Remove dangerous derived state from RichText (#3007)
* Remove facet resolution from RichText

* Remove derived state
2024-02-27 17:35:25 -08:00
dan 603f3c0be9
Safeguard posts from clobbered state (#3006) 2024-02-28 00:48:54 +00:00
dan 6bd68e5321
Fix keys within a slice (#3005)
Co-authored-by: Hailey <me@haileyok.com>
2024-02-28 00:19:13 +00:00
Hailey d451f82f54
Share Extension/Intents (#2587)
* add native ios code outside of ios project

* helper script

* going to be a lot of these commits to squash...backing up

* save

* start of an expo plugin

* create info.plist

* copy the view controller

* maybe working

* working

* wait working now

* working plugin

* use current scheme

* update intent path

* use better params

* support text in uri

* build

* use better encoding

* handle images

* cleanup ios plugin

* android

* move bash script to /scripts

* handle cases where loaded data is uiimage rather than uri

* remove unnecessary logic, allow more than 4 images and just take first 4

* android build plugin

* limit images to four on android

* use js for plugins, no need to build

* revert changes to app config

* use correct scheme on android

* android readme

* move ios extension to /modules

* remove unnecessary event

* revert typo

* plugin readme

* scripts readme

* add configurable scheme to .env, default to `bluesky`

* remove debug

* revert .gitignore change

* add comment about updating .env to app.config.js for those modifying scheme

* modify .env

* update android module to use the proper url

* update ios extension

* remove comment

* parse and validate incoming image uris

* fix types

* rm oops

* fix a few typos
2024-02-27 15:22:03 -08:00
dan ac726497a4
Show tab bar on desktop web (#2998)
* Show tabbar on desktop

* Make bottom border always 1px

* Don't hide/show navbar when switching tabs

* two rows WIP

* Top bar tweaks

* Make scroll adjustement native-only

* Add new web scroll behavior
2024-02-27 14:55:25 -08:00
Eric Bailey 978bcc1ba9
Tags menu/muted words improvements (#3002)
* Fix translations

* Handle loooong words

* Truncate on desktop web, revert mobile changes

* Break the words

* Small enough for mobile web

* Fix alignment on mobile web

* Clarify
2024-02-27 14:04:49 -08:00
Hailey 6717f8f11e
Compile locale before build on CI, fix the google-services.json variable for android builds (#3001)
* compile intl before building, fix android json var

* update intl:build
2024-02-27 13:31:44 -08:00
Hailey 2a04546c73
Intent handler (#2992)
* Handle URL params

* Add resources

* Add other params

* refactor for scope

* modify the pr to support intents rather than utm

remove linebreak

remove linebreak

handle web

adjust path check to work on web

add a short delay for opening the composer

setup compose intent, move to `intents` directory

fix intent logic

ignore incoming intents in the navigation router

* refactor

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2024-02-27 10:35:38 -08:00
Hailey c8d02a791a
Log to Sentry whenever users encounter Bluesky feed errors (#2999) 2024-02-27 10:01:29 -08:00
Minseo Lee 41e69651f9 Update ChangePassword.tsx 2024-02-27 19:17:58 +09:00
Minseo Lee b2605d3908 Update ChangePassword.tsx 2024-02-27 19:17:47 +09:00
Gabriella eca1333b7c
Update messages.po
Corrected small typo
2024-02-27 09:55:51 +01:00
Gabriella 505787e437
Update messages.po
Translation updated with minor corrections
2024-02-27 09:44:12 +01:00
Minseo Lee 8d394a3541
Merge branch 'main' into patch-3 2024-02-27 14:39:41 +09:00
Eric Bailey 58aaad704a
Add tags and mute words (#2968)
* Add bare minimum hashtags support (#2804)

* Add bare minimum hashtags support

As atproto/api already parses hashtags, this is as simple as hooking it
up like link segments.

This is "bare minimum" because:

- Opening hashtag "#foo" is actually just a search for "foo" right now
  to work around #2491.
- There is no integration in the composer. This hasn't stopped people
  from using hashtags already, and can be added later.
- This change itself only had to hook things up - thank you for having
  already put the hashtag parsing in place.

* Remove workaround for hash search not working now that it's fixed

* Add RichTextTag and TagMenu

* Sketch

* Remove hackfix

* Some cleanup

* Sketch web

* Mobile design

* Mobile handling of tags search

* Web only

* Fix navigation woes

* Use new callback

* Hook it up

* Integrate muted tags

* Fix dropdown styles

* Type error

* Use close callback

* Fix styles

* Cleanup, install latest sdk

* Quick muted words screen

* Targets

* Dir structure

* Icons, list view

* Move to dialog

* Add removal confirmation

* Swap copy

* Improve checkboxees

* Update matching, add tests

* Moderate embeds

* Create global dialogs concept again to prevent flashing

* Add access from moderation screen

* Highlight tags on native

* Add web highlighting

* Add close to web modal

* Adjust close color

* Rename toggles and adjust logic

* Icon update

* Load states

* Improve regex

* Improve regex

* Improve regex

* Revert link test

* Hyphenated words

* Improve matching

* Enhance

* Some tweaks

* Muted words modal changes

* Handle invalid handles, handle long tags

* Remove main regex

* Better test

* Space/punct check drop to includes

* Lowercase post text before comparison

* Add better real world test case

---------

Co-authored-by: Kisaragi Hiu <mail@kisaragi-hiu.com>
2024-02-26 20:33:48 -08:00
Hailey c8582924e2
Scale back sentry logs for trivial events (#2997)
* scale back sentry logs

* update migrate log tests
2024-02-26 20:19:06 -08:00
dan 1a34921661
Tweak tabbar sizing on web (#2996) 2024-02-27 03:56:25 +00:00
dan 3ec4e034b7
Fix imprecise header height calculation (#2995)
* Remove dead code

* Fix header height calculation
2024-02-27 02:33:23 +00:00
Vinayak Kulkarni 771999761e
feat(nvm): add support for nvm & minor actions housekeeping (#2979)
* feat: add `.nvmrc` for specifying node version

Co-Authored-By: Evandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com>

* chore(deps): bump setup-node to v4

* build: use node-version-file instead of hardcoded 18.x

* chore(deps): bump nvm version

* fix: checkout before install 🎉

---------

Co-authored-by: Evandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com>
2024-02-26 17:35:06 -08:00
Hailey e9ad3f552d
Bump version to 1.70 (wait for release) (#2987) 2024-02-26 17:26:41 -08:00
dan a8925bac86
Remove side borders on mobile web list (#2994) 2024-02-27 01:25:25 +00:00
Eric Bailey 0311288dd7
Fix dark butterfly on android splash (#2993) 2024-02-26 19:24:36 -06:00
Steve Klabnik 9b11fc720f
Remove invite codes from README (#2988)
Invite codes aren't needed anymore!

Thanks to https://bsky.app/profile/shreyanjain.net/post/3kmdulzeibc2o for pointing this out to me.
2024-02-27 01:24:14 +00:00