Skip to content

perf: Removed unused ConfirmationActivity member#1234

Merged
znelson merged 1 commit intocrosspoint-reader:masterfrom
znelson:delete-tweaks
Mar 1, 2026
Merged

perf: Removed unused ConfirmationActivity member#1234
znelson merged 1 commit intocrosspoint-reader:masterfrom
znelson:delete-tweaks

Conversation

@znelson
Copy link
Contributor

@znelson znelson commented Feb 28, 2026

Summary

What is the goal of this PR?

Small follow up to #909, removing an unused member variable and some temporary debug logging.


AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? NO

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f67e6c2 and 27cb88f.

📒 Files selected for processing (2)
  • src/activities/home/MyLibraryActivity.h
  • src/activities/util/ConfirmationActivity.cpp
💤 Files with no reviewable changes (2)
  • src/activities/util/ConfirmationActivity.cpp
  • src/activities/home/MyLibraryActivity.h

📝 Walkthrough

Walkthrough

Two cleanup changes across the codebase: removal of an unused private data member pendingSubActivityExit from MyLibraryActivity class and removal of two debug logging statements from ConfirmationActivity.

Changes

Cohort / File(s) Summary
Code Cleanup and Simplification
src/activities/home/MyLibraryActivity.h, src/activities/util/ConfirmationActivity.cpp
Removed unused private field pendingSubActivityExit from MyLibraryActivity and removed two debug log statements from ConfirmationActivity::onEnter method.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title mentions removing an unused ConfirmationActivity member, but the changeset actually removes a member from MyLibraryActivity and debug logs from ConfirmationActivity, making the title partially misleading. Update the title to accurately reflect all changes, such as 'perf: Remove unused member and debug logs' or clarify which activity the member removal applies to.
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The description accurately describes the goal of removing an unused member variable and temporary debug logging as a follow-up to PR #909.

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


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.

@znelson znelson requested review from ngxson and osteotek February 28, 2026 17:23
@znelson znelson marked this pull request as ready for review February 28, 2026 17:23
@znelson znelson merged commit 80d1856 into crosspoint-reader:master Mar 1, 2026
7 checks passed
@znelson znelson deleted the delete-tweaks branch March 1, 2026 16:46
laird pushed a commit to laird/crosspoint-claw that referenced this pull request Mar 1, 2026
)

## Summary

**What is the goal of this PR?**

Small follow up to crosspoint-reader#909, removing an unused member variable and some
temporary debug logging.

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**NO**_
laird added a commit to laird/crosspoint-claw that referenced this pull request Mar 1, 2026
Cherry-picked upstream fixes and features applied via rescue-1.0.0 worktree:
- fix: properly implement requestUpdateAndWait() (crosspoint-reader#1218)
- fix: Hide unusable button hints in empty directory (crosspoint-reader#1253)
- fix: add missing keyboard metrics to Lyra3CoversTheme (crosspoint-reader#1101)
- fix: remove bookProgressBarHeight from Lyra3CoversTheme
- feat: replace picojpeg with JPEGDEC for JPEG decoding (crosspoint-reader#1136)
- feat: WIFI pill, feed log fix, JPEGDEC version string
- feat: Add git branch to version string (crosspoint-reader#1225)
- fix: navigate directly to QR code after DZ auto-connect
- perf: Removed unused ConfirmationActivity member (crosspoint-reader#1234)
- refactor: Simplify new setting introduction (crosspoint-reader#1086)
- fix: UI fonts, settings stack overflow, PULSR theme name
- fix: convert SettingsList to push_back (prevent stack overflow)

All commits built and verified on device (confirmed 1.1.0-dev+d1e786a).
trilwu added a commit to trilwu/crosspet that referenced this pull request Mar 2, 2026
…actors)

Merges upstream commits:
- fix: fixed-point x-advance and kerning for text layout (crosspoint-reader#1168)
- chore: add firmware size history script (crosspoint-reader#1235)
- refactor: binary search for font lookups (crosspoint-reader#1202)
- perf: remove unused ConfirmationActivity member (crosspoint-reader#1234)

Resolved conflicts in ubuntu_10/12 bold/regular font headers by accepting
upstream regenerated values (local had no changes to these files).
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.

3 participants