feat(ADFA-2274): Show share button when bottom sheet is half-expanded#1513
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 Walkthrough
Walkthrough
ChangesEditor bottom sheet FAB behavior
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant SheetState
participant EditorBottomSheet
participant FABs
SheetState->>EditorBottomSheet: sheet state changes
EditorBottomSheet->>FABs: update visibility
EditorBottomSheet->>FABs: apply translation during slide or layout
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@app/src/main/java/com/itsaky/androidide/ui/EditorBottomSheet.kt`:
- Around line 598-615: Update updateFabVisibility so showCopy identifies the
diagnostics content from currentFragment rather than comparing state.currentTab
with the mutable TAB_DIAGNOSTICS position. Preserve the existing expanded-state
requirement and copyDiagnosticsFab visibility behavior.
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 71e768af-4dfe-473c-ab34-fb526e0336d8
📒 Files selected for processing (1)
app/src/main/java/com/itsaky/androidide/ui/EditorBottomSheet.kt
Jira ticket link
Show the share FAB when the bottom sheet is half-expanded, allowing users to access log sharing whenever the editor bottom sheet is not fully collapsed.