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

Allow user to import items from JSON exports #56

Merged
merged 18 commits into from
May 3, 2024

Conversation

KatherineInCode
Copy link
Contributor

@KatherineInCode KatherineInCode commented Apr 23, 2024

📔 Objective

This gives the user the ability to import items from a JSON export. Currently only JSON (as exported by the Authenticator app) is supported.

📸 Screenshots

Simulator Screenshot - iPhone 15 Pro - 2024-05-02 at 21 15 20

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

Copy link
Contributor

github-actions bot commented Apr 23, 2024

Logo
Checkmarx One – Scan Summary & Details57d2f398-e857-4918-bbf9-a26dfc00e712

No New Or Fixed Issues Found

Copy link
Contributor

github-actions bot commented Apr 23, 2024

1 Warning
⚠️ Ignoring duplicate libraries: '-lbitwarden_uniffi'
3 Messages
📖 AuthenticatorSharedTests: Executed 262 tests, with 3 failures (0 expected) in 15.358 (15.765) seconds
📖 AuthenticatorTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.001) seconds
📖 NetworkingTests: Executed 26 tests, with 0 failures (0 expected) in 0.071 (0.085) seconds

Authenticator code coverage

Total coverage: 54.52%

File Coverage
AuthenticatorShared/Core/Platform/Extentions/Sequence+Async.swift 64.29%
AuthenticatorShared/Core/Platform/Services/ServiceContainer.swift 16.22%
AuthenticatorShared/Core/Vault/Models/Domain/ImportFileType.swift 0.00%
AuthenticatorShared/Core/Vault/Models/Enum/ImportFormatType.swift 100.00%
AuthenticatorShared/Core/Vault/Services/ExportItemsService.swift 67.65%
AuthenticatorShared/Core/Vault/Services/ImportItemsService.swift 0.00%
AuthenticatorShared/UI/Platform/FileSelection/FileSelectionCoordinator.swift 39.02%
AuthenticatorShared/UI/Platform/FileSelection/FileSelectionModule.swift 0.00%
AuthenticatorShared/UI/Platform/Settings/Settings/ImportItems/ImportItemsProcessor.swift 0.00%
AuthenticatorShared/UI/Platform/Settings/Settings/ImportItems/ImportItemsState.swift 100.00%
AuthenticatorShared/UI/Platform/Settings/Settings/ImportItems/ImportItemsView.swift 100.00%
AuthenticatorShared/UI/Platform/Settings/Settings/SettingsProcessor.swift 26.58%
AuthenticatorShared/UI/Platform/Settings/Settings/SettingsView.swift 76.07%
AuthenticatorShared/UI/Platform/Settings/SettingsCoordinator.swift 55.79%

Powered by Slather

Generated by 🚫 Danger

@KatherineInCode KatherineInCode marked this pull request as ready for review May 3, 2024 02:20
@KatherineInCode KatherineInCode requested a review from a team as a code owner May 3, 2024 02:20
@KatherineInCode KatherineInCode merged commit 4c0d984 into main May 3, 2024
9 checks passed
@KatherineInCode KatherineInCode deleted the import-json-items branch May 3, 2024 13:35
@KatherineInCode KatherineInCode linked an issue Jun 4, 2024 that may be closed by this pull request
1 task
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.

Feature Request: Ability to Import
2 participants