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

feat: adapt settings for mobile (UI) #2590

Closed
wants to merge 160 commits into from
Closed

Conversation

amadeu2
Copy link
Contributor

@amadeu2 amadeu2 commented Mar 22, 2022

Summary

This PR replace #2271

Changelog

Adapt settings UI to mobile

Relevant Issues

Closes #2064
Closes #2063
Closes #2062
Closes #2061
Closes #2060
Closes #2259
Closes #2095

Type of Change

Please select any type below that is applicable to your changes, and delete those that are not.

  • Breaking - any change that would cause existing functionality to not work as expected
  • Chore - refactoring, build scripts or anything else that isn't user-facing
  • Docs - changes to the documentation
  • Fix - a change which fixes an issue
  • New - a change which implements a new feature
  • Update - a change which updates existing functionality

Testing

Platforms

Please select any platforms where your changes have been tested.

  • Desktop
    • MacOS
    • Linux
    • Windows
  • Mobile
    • iOS
    • Android

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

Checklist

Please tick all of the following boxes that are relevant to your changes, and delete those that are not.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or modified tests that prove my changes work as intended
  • I have verified that new and existing unit tests pass locally with my changes
  • I have verified that my latest changes pass CI workflows for testing and linting
  • I have made corresponding changes to the documentation

@amadeu2 amadeu2 added type:feature Adding a new feature or functionality platform:mobile labels Mar 22, 2022
@amadeu2 amadeu2 added this to the Mobile 1.0.0-alpha milestone Mar 22, 2022
@amadeu2 amadeu2 requested a review from cvarley100 as a code owner March 22, 2022 03:20
@amadeu2 amadeu2 self-assigned this Mar 22, 2022
@amadeu2 amadeu2 mentioned this pull request Mar 22, 2022
18 tasks
amadeu2 and others added 13 commits March 22, 2022 19:39
Signed-off-by: Amadeo Marchioni <[email protected]>
Signed-off-by: Amadeo Marchioni <[email protected]>
Signed-off-by: Amadeo Marchioni <[email protected]>
* chore: update bug report form

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Rajiv Shah <[email protected]>

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Rajiv Shah <[email protected]>

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Rajiv Shah <[email protected]>

Co-authored-by: Rajiv Shah <[email protected]>
cvarley100 and others added 20 commits April 21, 2022 12:15
* feat: add all font weights for inter and fira mono fonts

* increment svelte version to make use of new element

* update: add font familys to tailwind theme
fix: add more tags to tailwind safelist

* refactor: update text component to be more customizable

Co-authored-by: Begoña Alvarez <[email protected]>
…3048)

* chore: increment eslint-plugin-svelte3 to 3.4.1
chore: prettier-plugin-svelte to 2.7.0

* fix: change
* fix: add formatting for specific decimal separators

* chore: remove dev tools access from packaged builds
* fix: add formatting for specific decimal separators

* chore: remove dev tools access from packaged builds

* fix: use appropriate number formatting for asset fiat prices
* add plugin folder

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix format

* fix podspec file

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix iOS plugin code

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix iOS stronghold file extension

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix LastUpgradeVersion iOS project

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix Java code delete internal app folder

Signed-off-by: Amadeo Marchioni <[email protected]>

* avoid use write-storage permission when ScopedStorage is enabled (10/11)

Signed-off-by: Amadeo Marchioni <[email protected]>

* use the latest patch release from the 7.0.x line

Co-authored-by: Rajiv Shah <[email protected]>

* Update license

Co-authored-by: Rajiv Shah <[email protected]>

* Update pod platform version

Co-authored-by: Rajiv Shah <[email protected]>

* chore: replace deprecated iOS function

Signed-off-by: Amadeo Marchioni <[email protected]>

* chore: replace deprecated android function

Signed-off-by: Amadeo Marchioni <[email protected]>

* update plugin type definitions

Signed-off-by: Amadeo Marchioni <[email protected]>

* add default path on java

Signed-off-by: Amadeo Marchioni <[email protected]>

* add default path on Swift

Signed-off-by: Amadeo Marchioni <[email protected]>

* use FileUtils.copy function, remove loop

Signed-off-by: Amadeo Marchioni <[email protected]>

* remove return string

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix Android manifest

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix Android 10 API 30 export Stronghold file

Signed-off-by: Amadeo Marchioni <[email protected]>

* use internal cache dir

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix build path to public folder, remove ugly code

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix export Stronghold on API 28-31

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix import file from API level 28-31

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix Android errors

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix format

Signed-off-by: Amadeo Marchioni <[email protected]>

* Update SecureFilesystemAccessPlugin.java

Co-authored-by: Rajiv Shah <[email protected]>
* add capacitor secure-filesystem-access plugin

Signed-off-by: Amadeo Marchioni <[email protected]>

* update Stringhold backup implementation

Signed-off-by: Amadeo Marchioni <[email protected]>

* add platform types

* implement on platform.ts

* implement plugin fn on Security.svelte

* implement plugin fn on Backup.svelte

* implement plugin fn FileImport.svelte

* fix format

* fix export iOS needed permissions

Signed-off-by: Amadeo Marchioni <[email protected]>

* add defaultPath as new typings

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix: merge conflit apply change to new file

Signed-off-by: Amadeo Marchioni <[email protected]>

* chore: update yarn lock with capacitor filesystem

Signed-off-by: Amadeo Marchioni <[email protected]>

* chore: update test for platform.ts

Signed-off-by: Amadeo Marchioni <[email protected]>
* implement saveRecoveryKit fn

* fix format

Signed-off-by: Amadeo Marchioni <[email protected]>

* add defaultPath as new typings

Signed-off-by: Amadeo Marchioni <[email protected]>
* implement remove profile folder function, fix get user path

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix format

Signed-off-by: Amadeo Marchioni <[email protected]>
* fix: receive qr responsiveness

* feat: adjust qr size

* fix: increase QR size slightly

Co-authored-by: Charlie Varley <[email protected]>
* implement renameProfileFolder function

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix bindings definitions

Signed-off-by: Amadeo Marchioni <[email protected]>

* add plugin code to use profilePath var

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix bindings API to use storagePath

Signed-off-by: Amadeo Marchioni <[email protected]>

* implement plugin Java code

Signed-off-by: Amadeo Marchioni <[email protected]>

* fix format

Signed-off-by: Amadeo Marchioni <[email protected]>

* ensure received vars are not null on Java code

Signed-off-by: Amadeo Marchioni <[email protected]>

* more fixes on Java code

Signed-off-by: Amadeo Marchioni <[email protected]>

* Update packages/backend/bindings/capacitor/android/src/main/java/org/iota/walletactorsystem/WalletPlugin.java

Co-authored-by: Rajiv Shah <[email protected]>

* Update packages/backend/bindings/capacitor/ios/Plugin/Plugin.swift

Co-authored-by: Rajiv Shah <[email protected]>

* Update packages/backend/bindings/capacitor/ios/Plugin/Plugin.swift

Co-authored-by: Rajiv Shah <[email protected]>

* Update packages/backend/bindings/capacitor/ios/Plugin/Plugin.swift

Co-authored-by: Rajiv Shah <[email protected]>

Co-authored-by: Rajiv Shah <[email protected]>
* feat/settings-mobile_new:
  chore: restore profileColor variable
  chore: fix lint error on Sidebar.svelte
  chore: restore Sidebar export
  chore: fix format lint
  chore: restore Sidebar.svelte, remove mobile code
  fix: adjust main menu styling
  fix: add safe area view spacing to settings
  chore: remove sidebar component
  chore: adapt Login comp to mobile
  feat: add Switch Accounts button to setttings menu
  chore: remove duplicated code on Settings comp
  chore: add MainMenu and remove Sidebar from Dashboard
  chore: remove icons from menu as Figma design
  feat: add MainMenu only mobile component
  chore: add zIndex prop to Drawer comp
  fix: add prop `opened` on settings Drawer
  fix: recover import
  fix mobile settings help links
  fix css class typo
  adapt settings to mobile

Signed-off-by: Amadeo Marchioni <[email protected]>
Signed-off-by: Amadeo Marchioni <[email protected]>
Signed-off-by: Amadeo Marchioni <[email protected]>
@amadeu2 amadeu2 requested a review from paul-boegelsack May 16, 2022 23:00
amadeu2 added 5 commits May 16, 2022 21:29
Signed-off-by: Amadeo Marchioni <[email protected]>
Signed-off-by: Amadeo Marchioni <[email protected]>
Signed-off-by: Amadeo Marchioni <[email protected]>
Signed-off-by: Amadeo Marchioni <[email protected]>
@amadeu2 amadeu2 closed this May 18, 2022
@amadeu2 amadeu2 deleted the feat/settings-mobile_new branch June 7, 2022 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment