Skip to content

feat: add ACTIVITY to ScreenType enum for RN activity screen#2646

Open
lealobanov wants to merge 11 commits intodevfrom
1194-activity-ui
Open

feat: add ACTIVITY to ScreenType enum for RN activity screen#2646
lealobanov wants to merge 11 commits intodevfrom
1194-activity-ui

Conversation

@lealobanov
Copy link
Copy Markdown
Collaborator

Related Issue

Closes #???

Summary of Changes

Need Regression Testing

  • Yes
  • No

Risk Assessment

  • Low
  • Medium
  • High

Additional Notes

Screenshots (if applicable)

lealobanov and others added 7 commits January 9, 2026 18:33
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add ACTIVITY screen type handling in ReactNativeActivity
- Replace native TransactionRecordFragment with RN Activity screen
- Update MainContentPresenter to launch ReactNativeActivity for Activity tab

Closes #1194
Remove native Android Activity/Transaction Record screen as it's now
replaced by React Native Activity screen.

Deleted files:
- TransactionRecordActivity, Fragment, ViewModel
- TransactionRecordListAdapter
- TransactionRecord and TransactionViewMoreModel
- All related presenters (5 files)
- Layout XML files (3 files)

Updated:
- AndroidManifest.xml: removed activity declaration
- MainPageAdapter.kt: reduced page count to 4
- TokenDetailActivitiesPresenter.kt: use RN Activity screen
- Utils.kt: removed toTransactionRecord() function

Closes #1194
@lealobanov lealobanov marked this pull request as ready for review January 21, 2026 08:42
@lealobanov lealobanov requested a review from a team as a code owner January 21, 2026 08:42
lealobanov and others added 4 commits January 24, 2026 02:42
Add placeholder implementations for createSeedKey, saveNewKey,
removeOldKey, and signRotationRequest to fix build error.

These methods are defined in the TypeScript bridge spec but were
not implemented in Android. Full implementation needed for key
rotation feature.
- Create ReactNativeActivityFragment to host RN Activity screen
- Update MainPageAdapter to include Activity fragment at position 4
- Update MainContentPresenter to use ViewPager navigation for Activity tab
- This keeps bottom navigation visible when viewing Activity screen

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pass the native app's dark mode state to React Native so the embedded
Activity screen uses the correct theme colors.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Base automatically changed from login-v4 to dev March 2, 2026 07:09
@lealobanov lealobanov requested review from jaymengxy and lmcmz March 2, 2026 07:09
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