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

Introduce FirestoreAccountStorage #24

Merged
merged 2 commits into from
Nov 18, 2023
Merged

Conversation

Supereg
Copy link
Member

@Supereg Supereg commented Nov 15, 2023

Introduce FirestoreAccountStorage

♻️ Current situation & Problem

This PR introduces the new FirestoreAccountStorage target that allows you to easily implement an AccountStorageStandard using Firestore.

⚙️ Release Notes

  • Introduce FirestoreAccountStorage to easily storage additional user data in firestore

📚 Documentation

Extensive documentation was added.

Further, I noticed that our documentation builds are not up to date in the Swift package index. This is probably due to an outdated spi.yml. This file was updated as part of this PR.

✅ Testing

TBA

📝 Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

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

Thank you for these improvements, I only had some minor comments.

Package.swift Outdated Show resolved Hide resolved
.spi.yml Show resolved Hide resolved
@Supereg Supereg marked this pull request as ready for review November 17, 2023 22:29
Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #24 (2155e86) into main (084d697) will increase coverage by 56.72%.
The diff coverage is 80.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##            main      #24       +/-   ##
==========================================
+ Coverage   3.28%   59.99%   +56.72%     
==========================================
  Files         19       19               
  Lines       1070     1072        +2     
==========================================
+ Hits          35      643      +608     
+ Misses      1035      429      -606     
Files Coverage Δ
...vices/FirebaseIdentityProviderAccountService.swift 30.19% <80.00%> (+30.19%) ⬆️

... and 11 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 084d697...2155e86. Read the comment docs.

@Supereg Supereg merged commit 21419af into main Nov 18, 2023
8 checks passed
@Supereg Supereg deleted the feature/firestore-account-storage branch November 18, 2023 00:03
@PSchmiedmayer
Copy link
Member

Thank you @Supereg for the additional improvements and merging the PR 🚀

Supereg added a commit that referenced this pull request Nov 21, 2023
# Rework FirestoreAccountStorage implementation

## ♻️ Current situation & Problem
This PR fixes several issues identified within #24. As it turns out, we
completely forgot to add testing for this component.
This follow-up PR addresses some of the issues and adds proper UI
testing.

## ⚙️ Release Notes 
* Fixes several issues with the `FirestoreAccountStorage` module


## 📚 Documentation
--


## ✅ Testing
We added testing for the respective components.

## 📝 Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md).
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