Commit Graph

6743 Commits

Author SHA1 Message Date
Eric Bailey a595eb3264 Clarify intent 2026-01-21 20:41:51 -06:00
Eric Bailey 5b8da00742 Add test for metrics client 2026-01-21 20:24:50 -06:00
Eric Bailey 89a4ad541d Add session ID test 2026-01-21 20:08:54 -06:00
Eric Bailey b4896ab1a4 Fix session ID bug 2026-01-21 19:59:43 -06:00
Eric Bailey 66af8f1fbf [APP-1782] Migrate to new analytics APIs (#9735)
* Migrate logEvent to useAnalytics

* Migrate logger.metric to useAnalytics

* Migrate tricky spot, fix types

* Migrate remaining tricky spot

* Missed one

* Remove metric() from logger

* Migrate useGate to useAnalytics

* Remove all other StatSig mentions

* Update event payload

* Update logger tests

* Mock expo method
2026-01-21 19:31:39 -06:00
Eric Bailey 82706fbd19 Remove Metrics alias from logger 2026-01-21 14:50:08 -06:00
Eric Bailey 6b33423d14 Prefer root package export 2026-01-21 14:41:59 -06:00
Eric Bailey abcf8abde5 Remove LogEvents alias for Metrics 2026-01-21 14:40:49 -06:00
Eric Bailey eeb3e90b1a Refactor logging in feed-feedback, add debug logging to metrics client 2026-01-21 14:36:25 -06:00
Eric Bailey 2d25f1caee Ope fix statsig noop 2026-01-21 14:18:04 -06:00
Eric Bailey 4788732df3 Add todo, reset logger readme 2026-01-21 13:59:55 -06:00
Eric Bailey 27540d6d6c Clear out statsig client 2026-01-21 13:54:22 -06:00
Eric Bailey 9ecb866497 Migrate toClout 2026-01-21 13:50:10 -06:00
Eric Bailey 9aa04712f8 Update tracking endpoint 2026-01-21 13:45:14 -06:00
Eric Bailey 6771bdc24a Rip out LogEvent from navigation 2026-01-21 12:05:43 -06:00
Eric Bailey de6efbdf52 Refactor current route handling 2026-01-21 11:52:16 -06:00
Eric Bailey 3bc772a12a Add logger to base analytics context 2026-01-21 11:35:45 -06:00
Eric Bailey 71c6771e87 Some comments and cleanup 2026-01-21 11:00:48 -06:00
Eric Bailey bdfbbef9ce Fix useMeta util 2026-01-21 10:40:22 -06:00
Eric Bailey 9522a8ab29 Clean up old code 2026-01-21 10:30:11 -06:00
Eric Bailey d08f5cf9d9 Integrate feature gates into analytics context 2026-01-21 10:11:32 -06:00
Eric Bailey 2738a46737 WIP revamp 2026-01-20 21:35:37 -06:00
Eric Bailey 50ce1aeda4 Ensure userMetadata is cleared when logging out 2026-01-20 18:04:37 -06:00
Eric Bailey 93c02b56d0 Ensure we update metadata when session ID changes 2026-01-20 17:56:37 -06:00
Eric Bailey af8fada3c1 Shared metadata cache 2026-01-20 17:44:21 -06:00
Eric Bailey aadc71bb3b Move to separate file 2026-01-20 15:39:46 -06:00
Eric Bailey 5b8f8bb234 Add metrics client 2026-01-20 15:36:16 -06:00
Eric Bailey 5c2a799280 Move everything out of React 2026-01-20 11:41:13 -06:00
Eric Bailey 443141d3dd Clean up growthbook code, integrate into init and sessions 2026-01-20 11:03:26 -06:00
Eric Bailey c005e02713 WIP 2026-01-19 17:32:59 -06:00
Eric Bailey b4f57b94aa Fix Live Now reporting container collapse on Android (#9730) 2026-01-19 15:33:15 -06:00
Eric Bailey bd9e8244f1 [APP-1783] Clean up some feature gates and logging (#9729)
* Remove gates we don't need

* Clean up some logging

* Keep disable gates around for now

* Add missing gate

* Revert file

* Revert package changes
2026-01-19 15:32:02 -06:00
Eric Bailey 5989bf7fad Remove some unused things (#9719) 2026-01-19 10:48:13 -06:00
Samuel Newman a4f173d008 Bump version to 1.115.0 (#9726)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-18 20:03:45 +02:00
pfrazee f244afcd9c Nightly source-language update 2026-01-17 02:42:35 +00:00
Eric Bailey 62c0c06bbf Move browser env into main env (#9718) 2026-01-16 17:20:03 -06:00
Eric Bailey 0589bd7d9e Move /platform/detection vars into /env (#9707)
* Add platform vars to env

* Replace /platform/detection with /env
2026-01-16 16:28:17 -06:00
Samuel Newman bd510d8468 Upgrade ESLint to v9 with flat config (#9680)
* Upgrade ESLint to v9 with flat config

- Upgrade eslint from v8 to v9.18.0
- Migrate from .eslintrc.js to eslint.config.mjs (flat config)
- Upgrade typescript-eslint to v8.20.0 (unified package)
- Replace eslint-plugin-import with eslint-plugin-import-x for flat config support
- Add globals package for environment globals
- Update eslint-plugin-bsky-internal with proper meta objects for ESLint v9
- Fix deprecated context.getScope() API usage
- Update bskyembed to use flat config
- Remove deprecated --ext flag from lint scripts
- Configure rules to maintain previous behavior while using new ESLint version

* Fix varsIgnorePattern to require character after underscore

Restore the original pattern `^_.+` instead of `^_` so that lingui's
`const { _ } = useLingui()` will still be flagged when unused.

* Update ESLint rule tests for flat config format

- Update RuleTester to use flat config languageOptions instead of
  eslintrc parser format
- Remove duplicate test case that ESLint v9 now detects
- Add Jest globals for test files

* update eslint package versions

* lint android a11y

* enable typechecked rules, switch them to warn

* fix yarn lock ci

* Fix CI failure

* Remove unused globals?

* Organize a bit, add quiet to main lint command

* Allow ternary

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Eric Bailey <git@esb.lol>
2026-01-16 16:24:28 -06:00
Samuel Newman acc26c965d make live now gate fail-open (#9714) 2026-01-16 08:34:00 -08:00
Samuel Newman fbd1138d97 Add fishing minigame (#9713) 2026-01-16 08:31:01 -08:00
Samuel Newman 9c563f2a48 Fix collapsed button by simplifying, keep container width (#9712) 2026-01-16 10:18:41 -06:00
Eric Bailey 1d4263078d Refetch live events every 5 min (#9706) 2026-01-15 16:26:44 -06:00
Eric Bailey 367eebe600 Reset default AA debug for E2E (#9705) 2026-01-15 13:05:11 -06:00
Eric Bailey 06a8a7efc2 intl pull and extract:all (#9704) 1.114.0 2026-01-15 10:58:01 -06:00
Samuel Newman 29f8bc998d Highlight first feed in sidebar if non selected (#9703) 2026-01-15 07:12:15 -08:00
Eric Bailey 4760e59ea4 Add back deleted css block (#9702) 2026-01-15 08:09:24 -06:00
Samuel Newman d9e37a222a scope last-selected-feed to per-account (#9500) 2026-01-15 06:07:09 -08:00
estrattonbailey 3b98f2f8ab Nightly source-language update 2026-01-15 03:06:32 +00:00
Samuel Newman ab85b509c0 Watermark posts in screenshots (#9637)
* watermark posts in screenshots

* disable when app is backgrounded

* fix alignment

* show watermark even when there isn't a button
2026-01-14 21:03:13 -06:00
Samuel Newman 65faee4f08 Unregister push token on signout (#8661)
* unregister push - WIP

* create agent and submit push token revokation

* mock unregisterpush

* fix import

* Add proxy headers

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2026-01-14 20:55:35 -06:00