Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile: Migrate Dropdown, ScreenHeader to TypeScript #6763

Conversation

personalizedrefrigerator
Copy link
Collaborator

Rationale

Testing plan

  1. Create a new note
  2. Edit the note
  3. Move the note to a different notebook using the dropdown header
  4. Change the synchronization target to OneDrive and show the sign-in page
  5. Press the back arrow at the top of the screen
  6. Change the synchronization target to DropBox and show the sign-in page
  7. Press the back arrow at the top of the screen

packages/app-mobile/components/Dropdown.tsx Outdated Show resolved Hide resolved
packages/app-mobile/components/ItemList.js Outdated Show resolved Hide resolved
Comment on lines -205 to -212
log_press() {
NavService.go('Log');
}

status_press() {
NavService.go('Status');
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These methods were unused (I did a search in all files in the app-mobile/ directory).

Comment on lines -558 to +626
{renderUndoButton(this.styles())}
{renderRedoButton(this.styles())}
{renderUndoButton()}
{renderRedoButton()}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

renderUndoButton and renderRedoButton didn't/don't take any arguments.

packages/app-mobile/package.json Outdated Show resolved Hide resolved
@laurent22
Copy link
Owner

Looks good now, thanks!

@laurent22 laurent22 merged commit 92c24c2 into laurent22:dev Aug 27, 2022
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.

2 participants