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

Modify application scoring to store last updated metadata by question #284

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

daniel-panhead
Copy link
Contributor

Description

New schema for storing scores:

image

Instead of each app question being mapped directly to a score, it is mapped to an object containing store + last updated metadata

Other considerations

This change definitely breaks the /assessment endpoint since it modifies an underlying function used by both, but considering the page looks broken already, we should be fine :)

This PR also modifies a global firebase setting - setting/updating now ignores undefined values where previously it would error.

Copy link

github-actions bot commented Dec 1, 2024

Visit the preview URL for this PR (updated for commit e861945):

https://nw-admin-portal--pr284-daniel-last-updated-gr3rm31r.web.app

(expires Mon, 16 Dec 2024 04:21:04 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d819f9eb3b1b79c03e9109f08eeff92215a2990e

@daniel-panhead daniel-panhead force-pushed the daniel/last-updated-by-question branch from 8fc9300 to 63b8d9f Compare December 9, 2024 04:08
Copy link
Contributor

@jkuo630 jkuo630 left a comment

Choose a reason for hiding this comment

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

lgtm

@jkuo630 jkuo630 merged commit 07c9f5f into dev Dec 9, 2024
5 checks passed
@daniel-panhead daniel-panhead deleted the daniel/last-updated-by-question branch December 9, 2024 04:21
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