Skip to content

Feature/save example screener UI#423

Merged
prestoncabe merged 6 commits into
mainfrom
feature/save-example-screener-ui
Jun 4, 2026
Merged

Feature/save example screener UI#423
prestoncabe merged 6 commits into
mainfrom
feature/save-example-screener-ui

Conversation

@joshwanf

@joshwanf joshwanf commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

Changes

  • Moved ./seed-data into ./builder-api/src/main/resources and changed how seed data is read (raw file path vs classpath). There was a bug where production only copies ./builder-api (cannot see ./seed-data) and the packaged app cannot access normal file paths like it does in development
  • Added ExampleScreenerExportService and an "Export Example Screener" button in the frontend. After changing the example screener(s) through the UI, this behavior will export all Firestore documents into ./builder-api/src/main/resources (overwriting the directory). Pushing to Github lets us diff the changes.

@joshwanf joshwanf requested a review from prestoncabe as a code owner April 9, 2026 01:07
@prestoncabe

Copy link
Copy Markdown
Collaborator

@joshwanf is this ready? (looks like it hasn't been updated since we last talked, but wanted to make sure)

@joshwanf

joshwanf commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

Just pushed changes to how the Example Screener service works.

  • Prod: loads packaged resources from the .jar
  • Dev: reads from the file system
  • Both environments use manifest.json to explicitly load from a file path

prestoncabe and others added 2 commits June 4, 2026 14:19
getResourceAsStream returns null (not an exception) when a classpath
resource is not found. Without this check, callers would receive a null
InputStream and encounter an NPE when trying to read from it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ortService

The configuredSeedPath constructor parameter was injected via @ConfigProperty
but never stored or used after the refactor to classpath-based resource loading.
Also removes the now-unused ConfigProperty and Optional imports.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@prestoncabe prestoncabe force-pushed the feature/save-example-screener-ui branch from f0733c8 to e529a9d Compare June 4, 2026 19:37
@prestoncabe prestoncabe merged commit 5bc6dd2 into main Jun 4, 2026
@prestoncabe prestoncabe deleted the feature/save-example-screener-ui branch June 4, 2026 22:13
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