Commit Graph

2295 Commits (5cc46241d75ecbd462f1b69a42d6d923dadf6d28)

Author SHA1 Message Date
Minseo Lee 5cc46241d7
Reorder the locales alphabetically and correct the name for Indonesian (#2483) 2024-01-10 23:07:47 -08:00
Mary 0b2daa787c
Use the RichText facets when copying post text (#2481)
* feat: serialize rich text to string

* feat: wire richTextToString to copy post text
2024-01-10 22:56:45 -08:00
Eric Bailey f7b01c3542
Add expired log (#2456)
* Add expired log

* Add service
2024-01-10 22:52:46 -08:00
bnewbold 231c528c88
remove deprecated search.bsky.social code (#2461) 2024-01-10 22:52:22 -08:00
Paul Frazee ce1e6518a2
Increase the number of lines for quote posts from 6 to 20 (#2489) 2024-01-10 22:51:54 -08:00
Hailey 6ec6d522e8
fix rendering of external in quote embeds (#2464) 2024-01-10 22:36:47 -08:00
Paul Frazee 7ab4be6f7d
Reduce polling (#2465)
* Move profile and preference polling to polls-on-foreground

* Refetch prefs on feeds screen refresh since polling no longer occurs

* Reduce notifications polling by 50% if there's already an unread

* Disable feed polling if we know we have content

* Disable the hard refresh after 1 hour in case it's the cause of the random feed refresh bug

* Fix types
2024-01-10 22:27:14 -08:00
Mary 0442dcc1a0
fix: add the appropriate color-scheme for dark mode (#2480) 2024-01-10 20:56:21 -08:00
Ansh c75771047c
compile Post as an action (#2460) 2024-01-09 15:43:56 -08:00
Stanislas Signoud 008893b911
Internationalize more strings (#2440)
Co-authored-by: Ansh <anshnanda10@gmail.com>
2024-01-09 14:37:15 -08:00
Noritada Kobayashi aeeacd10d3
Mark more texts for localization (#2436) 2024-01-10 02:23:34 +05:30
Max Ignatenko 592133db58
Update Ukrainian translations (#2439) 2024-01-10 02:18:26 +05:30
Danni d7f4e1391c
Add Indonesian localization (#2356)
* Add Indonesian (id) locale

* Add Indonesian translation messages

* Update team number and add some translation

* Update for better ID translation

* Apply suggestions from code review

Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>

* Apply suggestions from code review

Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>

* Change translation post to postingan

* Update translation

* Fix error

* Apply suggestions from code review

Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>

* Add Thinkbyte1024 and mary-ext to language team ID

* Update username to lowercase

---------

Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
Co-authored-by: Ansh <anshnanda10@gmail.com>
2024-01-10 02:17:48 +05:30
Hailey dda5ca27fe
add expandable context to composer when replying to post (#2419)
* add expand replyTo text with animation

* add images, quote to replyTo

* support withmedia

* adjust layout

* add embed to all needed openComposer calls

* adjust gap

* organize imports
2024-01-08 21:37:12 -08:00
Paul Frazee 153c25e1fe Add stable gutters to settings page 2024-01-08 20:51:56 -08:00
Paul Frazee bb3d9868f9 Merge branch 'settings-web' of https://github.com/rahulyadav5524/social-app into main 2024-01-08 20:46:52 -08:00
Eric Bailey a5b474895a
Application Layout Framework (#1732)
* Initial library setup

* Add docblocks

* Some cleanup

* New storybook

* Playing around

* Remove silly test, use for...in

* Memo

* Memo

* Add hooks example

* Tweak colors, bit of cleanup

* Improve macro handling

* Add some more examples

* Rename for better diff

* Cleanup

* Add nested context example

* Add todo

* Less break more perf

* Buttons, you get the idea

* Fix test

* Remove temp colors

* Add a few more common macros

* Docs

* Perf improvements

* Alf go brrrr

* Update breakpoint handling

* I think it'll work

* Better naming, better code

* Fix typo

* Some renaming

* More complete pass at Tailwind naming

* Build out storybook

* Playing around with curves

* Revert "Playing around with curves"

This reverts commit 6b0e0e5c9d842a2d9af31b53affe2f6291c3fa0d.

* Smooth brain

* Remove outdated docs

* Some docs, fix line-height values, export tokens
2024-01-08 19:43:56 -06:00
Eric Bailey 0ee0554b86
Do not nuke session on unknown backend errors (#2399)
* Do not nuke session on unknown backend errors

* Restore existing functionality

* Use new event

* Kick user out to sign in

* Remove unstable
2024-01-08 15:59:55 -08:00
Eric Bailey c1e8abfb77
Fix splash config (#2452)
* Don't use mask for android at all

* Handle reduced motion

* Add dark splash

* Add dark config

* Try more config

* Duplicate config

* Ensure splash config is applied
2024-01-08 14:55:47 -08:00
Hailey cb9ed35cf6
convert prefix to lowercase in actor autocomplete query (#2431) 2024-01-08 13:56:47 -08:00
Hailey 928a626c2e
support intl tenor links (#2438)
* support intl tenor links

* update test cases
2024-01-08 13:55:48 -08:00
Eric Bailey 9eeff2cc5c
Splash: reduce motion + dark mode (#2448)
* Don't use mask for android at all

* Handle reduced motion

* Add dark splash

* Add dark config

* Fix android version code

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2024-01-08 13:47:25 -08:00
Paul Frazee fcfebda469 Bump android app version code 2024-01-08 12:10:30 -08:00
Eric Bailey da575a6379
Don't use mask for android at all (#2445)
* Don't use mask for android at all

* Remove old Android check
2024-01-08 12:09:30 -08:00
Minseo Lee 15f3c679aa
Update Korean localization (#2432)
* Update messages.po

* Update messages.po

* Update messages.po

* Update messages.po

* Update messages.po

* Update messages.po
2024-01-08 23:48:18 +05:30
Rahul Yadav e3e13a362f
Fixed same issue 2024-01-07 20:21:15 +05:30
Rahul Yadav 9fabf28cab
Fixed import issue 2024-01-07 20:17:45 +05:30
Rahul Yadav 66e5cccb87
Removed unused code 2024-01-07 19:53:00 +05:30
Rahul Yadav 218fdde8d9
Removed unused code 2024-01-07 19:50:12 +05:30
Rahul Yadav abc65a9347
Fixed scroll issue 2024-01-07 19:47:36 +05:30
Eric Bailey 56021ccda5
Use android mode, fix fallback (#2437) 2024-01-05 13:53:59 -06:00
Maison da Silva f65bbe36f5
Update for Version 1.63 Português (BR) (#2435)
* Update for Version 1.63

* Update Date
2024-01-05 23:33:12 +05:30
Max Ignatenko bc067295b8
New translations messages.po (Ukrainian) (#2422) 2024-01-05 17:22:04 +05:30
Noritada Kobayashi 98885656a3
Update Japanese localization (addition + language code correction) (#2423) 2024-01-05 17:20:54 +05:30
Paul Frazee 6e8650e2eb 1.63 2024-01-04 17:40:28 -08:00
Paul Frazee 0dae24e78f
Additional embed sources and external-media consent controls (#2424)
* add apple music embed

* add vimeo embed

* add logic for tenor and giphy embeds

* keep it simple, use playerUri for images too

* add gif embed player

* lint, fix tests

* remove links that can't produce a thumb

* Revert "remove links that can't produce a thumb"

This reverts commit 985b92b4e622db936bb0c79fdf324099b9c8fcd8.

* Revert "Revert "remove links that can't produce a thumb""

This reverts commit 4895ded8b5120c4fc52b43ae85c9a01ea0b1a733.

* Revert "Revert "Revert "remove links that can't produce a thumb"""

This reverts commit 36d04b517ba5139e1639f2eda28d7f9aaa2dbfb6.

* properly obtain giphy metadata regardless of used url

* test fixes

* adjust gif player

* add all twitch embed types

* support m.youtube links

* few logic adjustments

* adjust spotify player height

* prefetch gif before showing

* use memory-disk cache policy on gifs

* use `disk` cachePolicy on ios - can't start/stop animation

* support pause/play on web

* onLoad fix

* remove extra pressable, add accessibility, fix scale issues

* improve size of embed

* add settings

* fix(?) settings

* add source to embed player params

* update tests

* better naming and settings options

* consent modal

* fix test id

* why is webstorm adding .tsx

* web modal

* simplify types

* adjust snap points

* remove unnecessary yt embed library. just use the webview always

* remove now useless WebGifStill 😭

* more type cleanup

* more type cleanup

* combine parse and prefs check in one memo

* improve dimensions of youtube shorts

* oops didn't commit the test 🫥

* add shorts as separate embed type

* fix up schema

* shorts modal

* hide gif details

* support localized spotify embeds

* more cleanup

* improve look and accessibility of gif embeds

* Update routing for the external embeds settings page

* Update and simplify the external embed preferences screen

* Update copy in embedconsent modal and add 'allow all' button

---------

Co-authored-by: Hailey <me@haileyok.com>
2024-01-04 17:37:36 -08:00
Paul Frazee db62f27241
Reduce web requests (#2420)
* Stop auto-refetching app passwords and invites on an interval

* Don't poll for posts or notifs if the app/tab isnt focused
2024-01-04 17:36:27 -08:00
Paul Frazee 8a4a8af61c
New user home feed fixes (#2421)
* Readd discover to default feeds for new users

* Fallback just to discover in home when mergefeed is disabled

* Always provide a cursor with mergefeed (no 'end of feed' condition)
2024-01-04 17:34:10 -08:00
Paul Frazee 34817628e1
E2E runner fixes (#2428)
* Fix mock-server run script

* Bump detox

* Replace fetch with node-native api
2024-01-04 17:33:57 -08:00
Rahul Yadav 454973f3cc
fixed lint issue 2024-01-04 23:56:58 +05:30
Maison da Silva 67e70918e3
Recompile all locales (#2411) (#2416) 2024-01-04 03:56:47 +05:30
Max Ignatenko 401b3401c7
Add Ukrainian localization (#2336) 2024-01-04 01:52:55 +05:30
Maison da Silva 1f38e9b197
Update Portuguese for Português (#2414) 2024-01-04 01:02:22 +05:30
Ansh 1fed517a17
Add Portuguese Localization (#2407)
* Create messages.

* Update helpers.test.ts

* Update helpers.ts

* Update i18n.ts

* Update i18n.web.ts

* Update languages.ts

* Update i18n.ts

* Update lingui.config.js

* Correct file name and remove unused variables!

* Update Language-Team

* Update Bump ios build

* Fix for Stop the user from posting before the link card finishes loading #2328

* Update based in model en

* Update last version lang

* Update messages.po tsx:160 and tsx:143

* Bump ios build number and android version code

* adjustment

* adjustment 100%

* Update Date

* Update Day for Merge

* Update Name Maison for Maison da Silva

* fix order of case

* fix lint

* add tag for BR portugese

* add tag for BR

* update `pt` to `pt-BR`

---------

Co-authored-by: Maison da Silva <maisonmdsgreen@hotmail.com>
2024-01-04 00:15:56 +05:30
Ansh 7299c730cf
Recompile all locales (#2411) 2024-01-04 00:12:42 +05:30
Paul Frazee d49045b61b Fix to spanish localization file 2024-01-03 10:33:28 -08:00
Ansh 3bee621347
Enable Spanish Localization (#2405)
* add `es` to `lingui.config.js`

* update messages.po

* enable spanish localization
2024-01-03 10:14:36 -08:00
Eric Bailey 4baef7a2d5
Update IS_PROD check (#2337)
* Update IS_PROD check to work now and after federation

* Use correct sandbox PDS

* Just use simple check for now
2024-01-03 09:58:05 -08:00
Eric Bailey 1b0c73a2a3
Fix: Web design issues (#2377) (#2410)
* Fix web design issues

* Fix Right Nav width design issue

Co-authored-by: Rahul Yadav <52163880+rahulyadav5524@users.noreply.github.com>
2024-01-03 09:56:07 -08:00
Paul Frazee df277e5977
Multiple improvements to link cards and quote posts (#2398)
* fix canvas

* fix external link embed styles

* Use the same link-card style on web and mobile and give a little more height on desktop to the card images

* Use dark border on link embeds to match quote post style

* Fix the highlighting behavior on linkcards and quoteposts

---------

Co-authored-by: Hailey <me@haileyok.com>
2024-01-03 09:53:41 -08:00