Skip to content

5.8.1#241

Merged
shub39 merged 5 commits intomasterfrom
dev
Apr 21, 2026
Merged

5.8.1#241
shub39 merged 5 commits intomasterfrom
dev

Conversation

@shub39
Copy link
Copy Markdown
Owner

@shub39 shub39 commented Apr 21, 2026

Summary by CodeRabbit

  • New Features

    • Added in-app changelog entries for versions 5.8.1 (“Miscellaneous updates and fixes”) and 5.8.0 (Expressive motion scheme).
  • Improvements

    • Updated translations.
  • Access & UI Changes

    • Font and palette selection restricted to Pro users.
    • Paywall presentation behavior and controls adjusted.
  • Chore

    • App version updated to 5.8.1.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1bd04b1e-ff01-4bbc-92cc-3e0e7a00bb16

📥 Commits

Reviewing files that changed from the base of the PR and between 0333d37 and 44f72f1.

📒 Files selected for processing (2)
  • app/build.gradle.kts
  • app/src/main/assets/changelog.json

📝 Walkthrough

Walkthrough

Patch release bump to 5.8.1: version metadata and changelogs updated; changelog JSON truncated to first 10 entries. Look-and-feel controls now require pro access to interact. PaywallPage wrapper and top-right close IconButton removed.

Changes

Cohort / File(s) Summary
Version & Release Documentation
CHANGELOG.md, app/build.gradle.kts, app/src/main/assets/changelog.json
Added ## 5.8.1 to CHANGELOG.md. Bumped appVersionName to 5.8.1 and appVersionCode to 5810. changelog.json prepended 5.8.1 and 5.8.0, removed older entries; generation now limits output to first 10 entries and treats index 9 as last for comma logic.
Look & Feel UI (pro gating)
app/src/main/java/com/shub39/rush/presentation/setting/section/LookAndFeelPage.kt
Font ToggleButton and palette Box clickable handlers now use enabled = isProUser, preventing interaction for non‑pro users.
Paywall UI structure
app/src/play/java/com/shub39/rush/billing/PaywallPage.kt
Removed outer Box(modifier) and top-right close IconButton; PaywallPage conditionally renders Paywall(paywallOptions) or CustomerCenter(onDismiss = onDismissRequest) without the previous wrapper or close control.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • 5.7.2 #231: Updates changelog files and bumps appVersionName/appVersionCode — overlaps changelog and version metadata changes.
  • 🔧 fixes #164: Edits app/build.gradle.kts and modifies PaywallPage close-button logic — overlapping UI and build metadata edits.
  • dev #155: Version bump in app/build.gradle.kts (appVersionName/appVersionCode) — related to release metadata.

Poem

🐰 A hop for patch 5.8.1 so bright,
Pro paws keep fonts and palettes tight,
The paywall shed its tiny close,
Changelogs stacked like carrot rows,
I nibble bugs and nibble byte.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title '5.8.1' is vague and does not clearly describe the changes; it only references a version number without conveying what was actually changed. Consider using a more descriptive title that summarizes the main changes, such as 'Release version 5.8.1 with UI improvements and pro access gating' or 'Bump version to 5.8.1 and restrict font/palette selection to pro users'.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@app/src/main/assets/changelog.json`:
- Around line 2-9: The checked-in JSON asset is malformed and out of sync:
update the top object so the "version" field reads "5.8.1", add the missing
comma after the closing changes array/object so the JSON is valid, and
regenerate the changelog asset to match CHANGELOG.md/versionName; specifically
modify the object containing "version" and "changes" (ensure the "changes" array
remains intact) and ensure proper comma separation between objects in the file.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bb1aa5d5-e590-4a80-9779-f2154013a49e

📥 Commits

Reviewing files that changed from the base of the PR and between d91f23e and ea274e7.

📒 Files selected for processing (4)
  • CHANGELOG.md
  • app/build.gradle.kts
  • app/src/main/assets/changelog.json
  • app/src/main/java/com/shub39/rush/presentation/setting/section/LookAndFeelPage.kt

Comment thread app/src/main/assets/changelog.json
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
app/src/play/java/com/shub39/rush/billing/PaywallPage.kt (1)

39-50: Unused modifier parameter.

After removing the outer Box(modifier = modifier), the modifier parameter is no longer applied anywhere in the composable. Per the call site in app/src/main/java/com/shub39/rush/app/App.kt (lines 101-110), no modifier is passed today, so keeping it as dead API is misleading — callers may assume layout customization is honored. Consider either dropping the parameter or re-applying it to a root container (e.g., the Paywall/CustomerCenter wrapper) for consistency with Compose API guidelines.

Also note that several imports (Box, padding, Icon, IconButton, IconButtonDefaults, Alignment, Color, painterResource) are now unused and can be cleaned up.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/src/play/java/com/shub39/rush/billing/PaywallPage.kt` around lines 39 -
50, The PaywallPage composable currently accepts a modifier parameter that is
never applied; either remove the unused modifier parameter from PaywallPage or
re-apply it to the root container that wraps the children (e.g., pass modifier
into the Paywall/CustomerCenter root such as Paywall(paywallOptions, modifier =
modifier) or CustomerCenter(onDismiss = onDismissRequest, modifier = modifier));
update PaywallPage signature and all call sites consistently if you remove it,
and after re-applying remove the now-unused imports (Box, padding, Icon,
IconButton, IconButtonDefaults, Alignment, Color, painterResource) to clean up
dead code.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@app/src/play/java/com/shub39/rush/billing/PaywallPage.kt`:
- Around line 39-50: The PaywallPage composable currently accepts a modifier
parameter that is never applied; either remove the unused modifier parameter
from PaywallPage or re-apply it to the root container that wraps the children
(e.g., pass modifier into the Paywall/CustomerCenter root such as
Paywall(paywallOptions, modifier = modifier) or CustomerCenter(onDismiss =
onDismissRequest, modifier = modifier)); update PaywallPage signature and all
call sites consistently if you remove it, and after re-applying remove the
now-unused imports (Box, padding, Icon, IconButton, IconButtonDefaults,
Alignment, Color, painterResource) to clean up dead code.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 146713db-beaf-4d34-b316-42373b66d32f

📥 Commits

Reviewing files that changed from the base of the PR and between ea274e7 and a5b7421.

📒 Files selected for processing (1)
  • app/src/play/java/com/shub39/rush/billing/PaywallPage.kt

@shub39 shub39 merged commit a81f370 into master Apr 21, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant