Commit graph

687 commits

Author SHA1 Message Date
a746734ad8 common: add TagList 2025-06-07 09:06:51 +05:30
d69629c319 fix: upgrade AndroidX snapshot 2025-06-07 09:06:51 +05:30
091276a3c6 fix: upgrade about libraries 2025-06-04 00:08:30 +05:30
6badde13b0 fix: disable more config changes 2025-06-03 00:48:35 +05:30
7c9f833ade refactor: pull down comments stuff into common 2025-06-01 14:40:43 +05:30
0d47787a73 refactor: remove unused method 2025-06-01 13:49:30 +05:30
30d035baa2 fix: restore navigation rail
Fixes #834
2025-05-30 00:06:22 +05:30
0d3c08c10a refactor: hoist state out of UserProfile
Solves the issue of every pop of the backstack causing data to be re-fetched,
but now has the issue of the data being stale for a few frames. Still better
than the current state, so I'll take it.
2025-05-26 19:02:37 +05:30
daf66a16bc refactor: move HttpFailure.toError to api module
Also expose EitherNet as an api dependency since it's part of the
public API.
2025-05-26 18:51:23 +05:30
2543f5bcc2 refactor: Nav3Screen -> LobstersPostsScreen 2025-05-25 23:12:07 +05:30
e92017173d refactor: cleanup ClawBackStack implementation 2025-05-25 23:11:33 +05:30
fe5a6f0a93 fix: add missing adaptive strategy 2025-05-25 22:46:34 +05:30
f7c8f968e5 feat: add adaptive hints to Nav3Screen 2025-05-25 22:46:34 +05:30
f64d4ab9a1 refactor: eliminate Destination indirection 2025-05-25 22:46:34 +05:30
9dce06ff80 refactor: pull out ClawAppBar
Also change consumers of ClawBackStack to take delegating references
2025-05-25 22:46:34 +05:30
beb1943ee6 refactor: consistently use destination over route 2025-05-25 22:46:34 +05:30
9c76617700 refactor: properly use TopLevelRoute 2025-05-25 22:46:34 +05:30
e011870986 refactor: add a custom back stack implementation 2025-05-25 17:43:20 +05:30
eef3fa0fc8 fix: add back Haze 2025-05-25 16:55:19 +05:30
0a466d5f54 feat: add nicer animations 2025-05-25 16:53:18 +05:30
ec70c9ab56 fix: try fixing backstack introspection 2025-05-25 16:53:09 +05:30
699afafcf9 refactor: switch to rememberNavBackStack helper 2025-05-25 16:52:41 +05:30
1385edc3bf refactor: simplify settings screen 2025-05-25 15:30:29 +05:30
92fb2939e6 refactor: fix search destination 2025-05-25 15:30:29 +05:30
bf0a6c40e8 refactor: inline BaseActivity indirection 2025-05-25 15:03:11 +05:30
74ccf74f8d refactor: move navigation rail to nav3 2025-05-25 13:58:35 +05:30
17289a26f1 feat: rewrite navigation on top of Nav3 2025-05-25 13:58:35 +05:30
8edf833461 chore: add a preview to LobstersListItem 2025-05-25 13:58:22 +05:30
604856912f fix: increase swipe thresdhold 2025-05-25 08:51:32 +05:30
be80812dc6 refactor: rewrite comment text rendering 2025-05-25 08:46:00 +05:30
5599d6d70d refactor: drop screenshot tests
This breaks the Anvil Gradle Plugin

See: https://github.com/ZacSweers/anvil/issues/89
2025-03-28 23:50:07 +05:30
82d8303bfe chore(deps): bump everything 2025-03-28 23:42:39 +05:30
52382d7918 fix: remove useless Sentry-related code 2025-03-11 19:27:29 +05:30
976c9dd064 feat: separate db reads and writes to separate dispatchers 2025-03-11 17:32:56 +05:30
25249629fd chore: remove years from license headers
These are a useless annoyance

See: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
2025-01-23 23:45:10 +05:30
fa5cb1f484 fix(deps): upgrade haze to 1.2.0 2025-01-10 02:41:27 +05:30
renovate[bot]
c1b4af7484 fix(deps): update sentry to v7.20.0
msfjarvis: disable Session Replay now that it's out of beta and paid
2025-01-03 14:51:06 +05:30
b20b087b8b feat: start work on a new tablet screen
Updates #726
2025-01-02 14:44:13 +05:30
d4d11b9254 refactor: de-duplicate navigation destinations 2024-12-02 15:58:19 +05:30
57bc93d5ea feat(ui): reintroduce navigation rail to tablet UI 2024-11-30 13:53:55 +05:30
76dd90a287 fix(android): prevent transparent navigation bar on API <= 31
Haze only works on API 32 and above so we set a solid background
color for devices without blur.
2024-11-16 22:50:55 +05:30
4bac4c6404 fixup! refactor(android): remove TwoPaneLayoutPostActions 2024-11-01 00:09:30 +05:30
4d260933c0 refactor(android): remove TwoPaneLayoutPostActions 2024-11-01 00:00:33 +05:30
37d0614830 fix(android): switch to LocalActivity from activity-compose 2024-10-31 23:38:00 +05:30
1fc8f9a2be refactor(android): revamp the user interactions of tablet UI and cleanup code 2024-10-28 01:14:39 +05:30
ThanaReka
b84f266db7
Add tablet specific UI (#686)
Hi @msfjarvis! Please have a look at what I have been able to implement
so far. When trying to call the ListDetail version in the MainActivity I
realized that the MainActivity is based on the BaseActivity class, and I
wasn't exactly sure how to set the parameters for ListDetail. Let me
know your thoughts when you get a chance. Thanks!

---------

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-10-26 20:53:43 +00:00
f215210ffa refactor(android): make navigation destinations parcelable 2024-10-27 01:36:58 +05:30
c2b58dbe58 fix: prevent navigation bugs with back button 2024-10-20 22:52:43 +05:30
renovate[bot]
70a47e7162
fix(deps): update sentry to v7.15.0 (#679)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[io.sentry:sentry-bom](https://redirect.github.com/getsentry/sentry-java)
| `7.14.0` -> `7.15.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.sentry:sentry-bom/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.sentry:sentry-bom/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.sentry:sentry-bom/7.14.0/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.sentry:sentry-bom/7.14.0/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[io.sentry:sentry-android](https://redirect.github.com/getsentry/sentry-java)
| `7.14.0` -> `7.15.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.sentry:sentry-android/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.sentry:sentry-android/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.sentry:sentry-android/7.14.0/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.sentry:sentry-android/7.14.0/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>getsentry/sentry-java (io.sentry:sentry-bom)</summary>

###
[`v7.15.0`](https://redirect.github.com/getsentry/sentry-java/blob/HEAD/CHANGELOG.md#7150)

[Compare
Source](https://redirect.github.com/getsentry/sentry-java/compare/7.14.0...7.15.0)

##### Features

- Add support for `feedback` envelope header item type
([#&#8203;3687](https://redirect.github.com/getsentry/sentry-java/pull/3687))
- Add breadcrumb.origin field
([#&#8203;3727](https://redirect.github.com/getsentry/sentry-java/pull/3727))
- Session Replay: Add options to selectively mask/unmask views captured
in replay. The following options are available:
([#&#8203;3689](https://redirect.github.com/getsentry/sentry-java/pull/3689))
- `android:tag="sentry-mask|sentry-unmask"` in XML or
`view.setTag("sentry-mask|sentry-unmask")` in code tags
- if you already have a tag set for a view, you can set a tag by id:
`<tag android:id="@&#8203;id/sentry_privacy"
android:value="mask|unmask"/>` in XML or
`view.setTag(io.sentry.android.replay.R.id.sentry_privacy,
"mask|unmask")` in code
- `view.sentryReplayMask()` or `view.sentryReplayUnmask()` extension
functions
- mask/unmask `View`s of a certain type by adding fully-qualified
classname to one of the lists
`options.experimental.sessionReplay.addMaskViewClass()` or
`options.experimental.sessionReplay.addUnmaskViewClass()`. Note, that
all of the view subclasses/subtypes will be masked/unmasked as well
- For example, (this is already a default behavior) to mask all
`TextView`s and their subclasses (`RadioButton`, `EditText`, etc.):
`options.experimental.sessionReplay.addMaskViewClass("android.widget.TextView")`
- If you're using code obfuscation, adjust your proguard-rules
accordingly, so your custom view class name is not minified
- Session Replay: Support Jetpack Compose masking
([#&#8203;3739](https://redirect.github.com/getsentry/sentry-java/pull/3739))
- To selectively mask/unmask
[@&#8203;Composables](https://redirect.github.com/Composables), use
`Modifier.sentryReplayMask()` and `Modifier.sentryReplayUnmask()`
modifiers
- Session Replay: Mask `WebView`, `VideoView` and
`androidx.media3.ui.PlayerView` by default
([#&#8203;3775](https://redirect.github.com/getsentry/sentry-java/pull/3775))

##### Fixes

- Avoid stopping appStartProfiler after application creation
([#&#8203;3630](https://redirect.github.com/getsentry/sentry-java/pull/3630))
- Session Replay: Correctly detect dominant color for `TextView`s with
Spans
([#&#8203;3682](https://redirect.github.com/getsentry/sentry-java/pull/3682))
- Fix ensure Application Context is used even when SDK is initialized
via Activity Context
([#&#8203;3669](https://redirect.github.com/getsentry/sentry-java/pull/3669))
- Fix potential ANRs due to `Calendar.getInstance` usage in Breadcrumbs
constructor
([#&#8203;3736](https://redirect.github.com/getsentry/sentry-java/pull/3736))
- Fix potential ANRs due to default integrations
([#&#8203;3778](https://redirect.github.com/getsentry/sentry-java/pull/3778))
- Lazily initialize heavy `SentryOptions` members to avoid ANRs on app
start
([#&#8203;3749](https://redirect.github.com/getsentry/sentry-java/pull/3749))

*Breaking changes*:

- `options.experimental.sessionReplay.errorSampleRate` was renamed to
`options.experimental.sessionReplay.onErrorSampleRate`
([#&#8203;3637](https://redirect.github.com/getsentry/sentry-java/pull/3637))
- Manifest option `io.sentry.session-replay.error-sample-rate` was
renamed to `io.sentry.session-replay.on-error-sample-rate`
([#&#8203;3637](https://redirect.github.com/getsentry/sentry-java/pull/3637))
- Change `redactAllText` and `redactAllImages` to `maskAllText` and
`maskAllImages`
([#&#8203;3741](https://redirect.github.com/getsentry/sentry-java/pull/3741))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/msfjarvis/compose-lobsters).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMTQuMCIsInVwZGF0ZWRJblZlciI6IjM4LjExNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-10-10 08:13:53 +00:00
7d31979221 refactor(android): workaround ContentEmitterReturningValues lint 2024-10-02 20:26:04 +05:30