feat: OW PoC user creation and Oura auth flow#350
Open
travis-sauer-oltech wants to merge 4 commits intojupyterhealth:mainfrom
Open
feat: OW PoC user creation and Oura auth flow#350travis-sauer-oltech wants to merge 4 commits intojupyterhealth:mainfrom
travis-sauer-oltech wants to merge 4 commits intojupyterhealth:mainfrom
Conversation
- Add ow_key column to Observation model (migration 0017) - Add GET /api/v1/ow/sync endpoint with StartAfter idempotency - Filter HR files via S3 metadata trace_id - Convert samples via omh-shim, bulk_create observations - Add boto3 + omh-shim dependencies, OW_S3_* settings
- Register all core models in admin with search/filter/display - Add __str__ to Organization, Practitioner, Patient, CodeableConcept, Study, DataSource for readable admin labels
s1monj
requested changes
Apr 16, 2026
Collaborator
s1monj
left a comment
There was a problem hiding this comment.
Just one small change to keep src imports consistent while we remember thx
| </head> | ||
| <body class="h-100"> | ||
| {% block body_content %} {% endblock %} | ||
| <script src="{% static 'js/common.js' %}"></script> |
Collaborator
There was a problem hiding this comment.
@travis-sauer-oltech because these two scripts (common.js and ow-client.js) don't have any top level lines to be called at include-time (ie they're all functions) we can move them inside the html head block - use https://github.com/jupyterhealth/jupyterhealth-exchange/blob/main/core/templates/partials/base.html as a reference
|
|
||
| var TOKEN_ENDPOINT = window.location.origin + "/o/token/"; | ||
| var API_ENDPOINT = window.location.origin + "/api/v1/"; | ||
|
|
Collaborator
There was a problem hiding this comment.
@travis-sauer-oltech leave these here for now but just as a reminder for later we should move them to core/templates/client/client_settings.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes out #331 and #348.