Skip to content

Conversation

ryanmcd118
Copy link
Collaborator

This PR resolves major backend and frontend stability issues, improves graph rendering defaults, expands sample data, and modernizes the development workflow. It restores Vercel deployment to the original working model and ensures consistent coding standards with automated linting, formatting, and CI testing.

Some of the major issues addressed:

  • Eliminate 500 errors and frontend connection regressions
  • Stabilize schema generation and visualization from both mock data and DB fallbacks
  • Improve default layout, zoom, and edge rendering in React Flow
  • Enforce consistent code style, naming, and testing in CI
  • Simplify and restore Vercel deployment configuration

Key Changes

Backend

  • Safe fallbacks for DB errors and decryption failures
  • Expanded mock schema
  • Normalized schema output for React Flow
  • Added test endpoints and improved schema generation helpers

Frontend

  • Reliable React Flow edge creation and column alignment
  • Grid-like initial positioning with improved zoom defaults
  • Component file casing aligned (PascalCase) for consistency and case-sensitive FS compatibility
  • Visible, styled connection lines

Deployment & Tooling

  • Reverted webpack/Vercel output config to original public/ model
  • Embedded complete generated GraphQL types/resolvers in sample payloads
  • Added ESLint, Prettier, Jest, and React Testing Library with CI workflow
  • Removed legacy AWS deployment configs

Testing

  • Linting and all tests pass locally and in CI
  • Verified API endpoints respond with correct schema or mock data fallback
  • Vercel successfully serves static example schema from public/

@ryanmcd118 ryanmcd118 self-assigned this Aug 15, 2025
@ryanmcd118 ryanmcd118 added bug Something isn't working enhancement New feature or request labels Aug 15, 2025
Copy link

@ryanmcd118 ryanmcd118 merged commit f327d32 into oslabs-beta:main Aug 15, 2025
3 checks passed
ryanmcd118 added a commit that referenced this pull request Aug 15, 2025
Follow-up: Performance and stability improvements post-[#96]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant