Commit graph

670 commits

Author SHA1 Message Date
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
5c2793fff3 fix(android): add a theme preview for SettingsScreen 2024-09-16 13:17:34 +05:30
245437c739 refactor(android): prepare SettingsScreen composable for standalone preview 2024-09-16 13:17:33 +05:30
1dfea689c6 Revert "refactor: make PostComments non-nullable"
This reverts commit 39e3d783cd.
2024-09-16 12:34:37 +05:30
943cddd8a4 fix(android): cache search results properly 2024-09-02 14:11:36 +05:30
1ebf610794 fix(common): slightly increase padding in LobstersCard 2024-09-02 12:49:32 +05:30
784dcf16f8 feat(android): add a screenshot test for NetworkPosts 2024-09-02 12:49:32 +05:30
7037d55bf2 fix(android): collect saved posts flow in a Lifecycle aware manner 2024-09-02 00:51:30 +05:30
4ab76c60bb fix(android): ensure pull refresh indicator is visible 2024-09-02 00:31:54 +05:30
077c855ef3 fix(android): give the right padding to SearchBar
Fixes #644
2024-08-29 12:42:22 +05:30
1de4916c9c feat: redesign bottom navigation bar 2024-08-28 15:17:38 +05:30
4f3bafc051 fix(android): migrate to Material3 pull refresh indicator 2024-08-28 13:42:36 +05:30
8651a4f66b refactor: lazily query saved and read state in UI
Having this always be read from the UI avoids values going stale inside data models

Fixes #641
2024-08-28 13:12:31 +05:30
6f424ae2d5 fix(android): avoid triggering a refresh on saving posts
The underlying issue is still not resolved since work on paging has stalled out in
Store5, but this trades the bad UX of an unwanted refresh for the slightly less
bad UX of the saved state sometimes being stale.

Fixes #558
2024-08-28 12:37:57 +05:30
c8d1491196 refactor(android): inline refresh load state 2024-08-28 12:18:58 +05:30
1dfcda4a64 feat(android): enable Sentry session replay 2024-08-24 16:02:56 +05:30
39e3d783cd refactor: make PostComments non-nullable 2024-08-21 13:37:48 +05:30
67b253ba62 fix(android): reorder settings items 2024-08-08 03:44:03 +05:30