Commit Graph

2811 Commits (d5b0a33ae3b36463684e53b2b99196826fa9d538)

Author SHA1 Message Date
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
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
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
Hailey 832582df23
Adjust `windowSize` on `PostThread` `FlatList` (#2989)
* adjust window size, cells batching period

* rm batching period change
2024-02-26 16:54:05 -08:00
Hailey 88846ca36d
fix reversed icons in validator 🤦 (#2991) 2024-02-26 16:48:32 -08:00
Paul Frazee d38f168de5 Update .po files 2024-02-23 17:01:47 -08:00
Hailey 9c5cd391dd
use `showControls` to show/hide live text icon on ios (#2982) 2024-02-23 16:05:54 -08:00
Paul Frazee bdb63fff6d Fix dim mode unread notif color 2024-02-23 15:17:59 -08:00
dan 6ae9c5d45c
Make dim theme dim (#2966)
* Make dim color scheme dim

* Tweaks

* Overall tweaks

* We have to go darker

* Tweak saturation of blues in dim

* Increase contrast on dark-dark mode

* adjust dim

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Co-authored-by: Hailey <me@haileyok.com>
2024-02-23 15:09:50 -08:00
Hailey de9df50af3
Add handle validation to create account UI (#2959)
* show uiState errors in the box as well

simplify copy

update ui for only letters and numbers

add ui validation to handle selection

* simplify names

* Fix accidental text-node render

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2024-02-23 13:38:47 -08:00
Mary 4771caf204
Normalize relative day (#2874)
* fix: normalize relative date

* chore: add comments

* refactor: skip flooring normalized diff

* refactor: let -> const

* fix: get own copy of date to prevent mutating

* refactor: rounding does the same trick
2024-02-23 12:38:14 -08:00
Hailey 1c5a2232fc
increase timeout to 15s (#2958) 2024-02-23 12:37:49 -08:00
Hailey 35be8ec90e
use `useOpenLink` hook for links in ALF (#2975)
* use `useOpenLink` hook for links in ALF

* web only for `outline`
2024-02-23 09:20:55 -08:00
dan 894f00d687
Rename Home Feed Prefs to Following Feed Prefs (#2965) 2024-02-22 16:51:11 +00:00
dan 1ccb3be961
Refactor feed header components (#2964)
* Move home-related files to view/com/home

* Add HomeHeader in front of FeedTabBar

* Move isDekstop check outside FeedsTabBar

* Remove PWI logic from tabbar

* Separate platform-specific layout from shared logic
2024-02-22 16:03:20 +00:00
Hailey 93b5eff4d7
patch react-navigation to fix history bug (#2955)
* patch react-navigation

- https://github.com/react-navigation/react-navigation/pull/11833

* add readme
2024-02-21 17:54:25 -08:00
Hailey 874489b402
Use EAS managed build number, run build/submit on GH Actions (#2841)
* use eas version code

* test

* try sync

* try sync

* use eas to manage the version code

* apply build numbers to dist

* test script

* set this to production or now

* revert to schedule

* testing on 1.69

* autosubmit

* autosubmit, remove cheat

* finished!!!!!

try again

try again

try again

try again

add same for android

maybe now

omg wow i messed that up?

once again

once again

again

error?

add caching

add caching

try again again again again

try again again again

try again again

try again

try this a different way

another test

testing this again

* hack

* write environment variables

* ready to go

* final test

* Revert "final test"

This reverts commit 6580c5c0974db25a3704b683673c41471a6ad0cf.
2024-02-21 13:54:31 -08:00
Hailey ba71e4b459
Fix `numberOfLines` not updating on iOS 15 (#2956) 2024-02-21 11:49:46 -08:00
Hailey d2e5f83cd2
Fix UITextView line height adjustment for DynamicType, always use the max width for the view (#2916)
* fix text being cut off

* adjust line height for dynamictype
2024-02-21 10:11:42 -08:00
dan 43206d9f57
Navigate back from a deleted post's route (#2948) 2024-02-21 17:51:42 +00:00
Eric Bailey f88b165254
Add optional close callback to Dialog (#2947)
* Add optional close callback

* No emitter
2024-02-20 18:20:59 -06:00
dan 6413b8ba8c
Fix flash when pressing into just-created post (#2945) 2024-02-20 21:39:42 +00:00
Eric Bailey 9edb82609d
Last usage (#2944) 2024-02-20 15:25:54 -06:00
surfdude29 0c470d1f61
Update blogpost URL in ExportCarDialog.tsx (#2939) 2024-02-20 21:00:45 +00:00
dan 3a75855677
Prefer full posts for post thread placeholder (#2943)
* Revert "Prefer post over quote when finding cached post (#2935)"

This reverts commit da62a77f05.

* Prefer full posts for post thread placeholder

* Clarify with a comment
2024-02-20 19:41:29 +00:00