8000 BIT-434: Add folders view by shannon-livefront · Pull Request #219 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BIT-434: Add folders view #219

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

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Conversation

shannon-livefront
Copy link
Collaborator

BIT-434

🚧 Type of change

🚀 New feature development
📔 Objective

Added UI and functionality to view the current list of the user's folders.

📋 Code changes

FolderView+Fixtures.swift: Fixtures for FolderView and Folder for use in testing
SettingsRepository.swift: Added a publisher for the flow of user's folders
FolderService.swift: Added a publisher for the flow of user's folders
View.swift: Added a shortcut for an "add" toolbar button
Settings/Vault/Folders/*: Added all the UI and boilerplate for showing the list of folders
SettingsCoordinator.swift: Added navigation to the folders view

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation 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

@bitwarden-bot
Copy link

Logo
Checkmarx One – Scan Summary & Detailsdd701d6a-ab03-4151-942c-ef900dc80bc2

No New Or Fixed Issues Found

Copy link
Contributor
3 Warnings
⚠️ Ignoring duplicate libraries: '-lbitwarden_uniffi'
⚠️ BitwardenShared/UI/Platform/Settings/Settings/Vault/Folders/FoldersProcessor.swift has less than 80% code coverage
⚠️ BitwardenShared/UI/Platform/Settings/Settings/Vault/VaultSettingsProcessor.swift has less than 80% code coverage

Bitwarden code coverage

Total coverage: 85.65%

File Coverage
BitwardenShared/Core/Platform/Repositories/SettingsRepository.swift 100.00%
BitwardenShared/Core/Platform/Services/ServiceContainer.swift 97.52%
BitwardenShared/Core/Vault/Services/FolderService.swift 100.00%
BitwardenShared/UI/Platform/Application/Extensions/View.swift 100.00%
BitwardenShared/UI/Platform/Settings/Settings/Vault/Folders/FoldersProcessor.swift 67.74%
BitwardenShared/UI/Platform/Settings/Settings/Vault/Folders/FoldersState.swift 100.00%
BitwardenShared/UI/Platform/Settings/Settings/Vault/Folders/FoldersView.swift 100.00%
BitwardenShared/UI/Platform/Settings/Settings/Vault/VaultSettingsProcessor.swift 75.00%
BitwardenShared/UI/Platform/Settings/SettingsCoordinator.swift 100.00%

Powered by Slather

Generated by 🚫 Danger

@nathan-livefront nathan-livefront self-assigned this Dec 19, 2023
Copy link
Contributor
@nathan-livefront nathan-livefront left a comment

Choose a reason for hiding this comment

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

This looks awesome!

@shannon-livefront shannon-livefront merged commit 34f31aa into main Dec 19, 2023
@shannon-livefront shannon-livefront deleted the shannon/BIT-434-folders-view branch December 19, 2023 21:53
state.folders = value
}
} catch {
services.errorReporter.log(error: error)
Copy link
Member

Choose a reason for hiding this comment

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

🤔 @shannon-livefront in case an error happens here, shouldn't we let the user know that an error happen and that's why they are not seeing any folders? If not they might think that the folders aren't loading and wait there for a while.

vvolkgang pushed a commit that referenced this pull request Feb 24, 2025
)

Co-authored-by: Katherine Bertelsen <kbertelsen@bitwarden.com>
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.

4 participants
0