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: enable login app type #845

Merged
merged 9 commits into from
Apr 25, 2024
Merged

feat: enable login app type #845

merged 9 commits into from
Apr 25, 2024

Conversation

tomzemp
Copy link
Member

@tomzemp tomzemp commented Apr 23, 2024

This PR merges in the changes that are on alpha v10.6.0-alpha3 release (https://github.com/dhis2/app-platform/releases/tag/v10.6.0-alpha.3) that make possible using app-platform for login app types.

@tomzemp tomzemp changed the title Login type catchup feat: enable login app type Apr 23, 2024
@tomzemp
Copy link
Member Author

tomzemp commented Apr 25, 2024

Pushed some clean up (837624f)

Based on comments from @KaiVandivier :

  1. It might be nice to choose one of either login or loginApp as the boolean prop used through the adapter
  2. I didn’t really understand this comment in the ServerVersionProvider: “version is not currently available, minimum for login app” — is that like “we don’t need the whole system info for the login app, but we need the server version at the minimum to proceed”?
    P.S. since the login app type uses skipApiVersion on the app-runtime provider, is fetching the server version in a login app just to satisfy the type requirement for the config prop on the Provider or something (or the version parsing functions)?
  1. harmonized
  2. these are dated given that the changes were initially made before versioning was available and supported on login configuration

@tomzemp tomzemp merged commit 2586e38 into master Apr 25, 2024
6 checks passed
@tomzemp tomzemp deleted the login-type-catchup branch April 25, 2024 11:44
dhis2-bot added a commit that referenced this pull request Apr 25, 2024
# [11.2.0](v11.1.1...v11.2.0) (2024-04-25)

### Features

* enable login app type ([#845](#845)) ([2586e38](2586e38))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 11.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants