joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Mobile: Add Email to note to new Joplin Cloud section on Settings screen

Open pedr opened this issue 1 year ago • 0 comments

Related to feature https://github.com/laurent22/joplin/issues/8459

We are adding a Joplin Cloud section to the Settings screens to show the inbox email address to Joplin Cloud users.

Screenshot from 2023-07-12 18-20-07

Functionality:

When the Joplin Cloud target is selected for synchronization we will show a new section in the settings screen that will reference any settings that may involve Joplin Cloud.

For now, we will have only one section called Email to Note where the Joplin Cloud user will be able to copy the inbox email.

Every time the users open the Settings screen and the Joplin Cloud tab is visible we will check if the emailToNote.inboxEmail property was set in the application state, if it was not we will make a request to the server to try to get this information.

Testing:

  • Should only show the Joplin Cloud section when Joplin Cloud is selected as a synchronization target.
  • Should only make a request if Joplin Cloud tab is visible and the property emailToNote.inboxEmail still is an empty string (default value).
  • The button Copy to clipboard should copy the inbox email to the clipboard.
  • If the user is not able to connect to Joplin Cloud the email field will be empty.

pedr avatar Jul 12 '23 21:07 pedr