Skip to content

Fix families pages for dict-based backend responses#292

Merged
cheezyrock merged 1 commit into
mainfrom
codex/fix-families-page-display-issues
Apr 21, 2026
Merged

Fix families pages for dict-based backend responses#292
cheezyrock merged 1 commit into
mainfrom
codex/fix-families-page-display-issues

Conversation

@cheezyrock
Copy link
Copy Markdown
Collaborator

Motivation

  • Backend responses for families were changed from positional arrays to objects/dicts and a frontend route had a typo, which caused the families pages and family-related autocomplete to break.

Description

  • Corrected the frontend API client route from /get_filtered_familes to /get_filtered_families in Frontend/src/api/routes.js.
  • Added parseFamilyRecord helpers to Frontend/src/pages/Families.js and Frontend/src/pages/FilteredFamilies.js to normalize records returned either as arrays or as objects with named fields, and updated table rendering to use the normalized fields.
  • Updated Frontend/src/pages/ExploreSystems.js to build family autocomplete options from either array-shaped or object-shaped family records.
  • Adjusted polynomial and field rendering inputs in FilteredFamilies to use the parsed object fields (model_coeffs / modelCoeffs and base_field_label / baseFieldLabel).

Testing

  • Ran npm --prefix Frontend run build which completed successfully and produced a production build with warnings.
  • Ran npm --prefix Frontend run lint which failed due to many pre-existing repository-wide lint issues unrelated to these specific changes.

Codex Task

@cheezyrock
Copy link
Copy Markdown
Collaborator Author

Merge conflict created issue where families page wouldn't display. Used Codex to analyze repository and fix the merge errors.

@cheezyrock cheezyrock merged commit 7ad1ef8 into main Apr 21, 2026
4 of 6 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in dads - issue tracking Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant