Skip to content

Updates main site with latest beta changes#743

Merged
gcardonag merged 11 commits into
mainfrom
develop
Apr 7, 2026
Merged

Updates main site with latest beta changes#743
gcardonag merged 11 commits into
mainfrom
develop

Conversation

@gcardonag
Copy link
Copy Markdown
Contributor

Pull Request

Change Summary

  • Add AI tooling and Supabase helpers#716
  • feat: add ProvidedBy component for resource attribution#692
  • Update env#715
  • re-add posthog provider#741

vontell and others added 11 commits February 24, 2026 19:24
Adds CLAUDE.md for project context, a CLI script to query Supabase
tables, and a centralized db module for database access.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use optional chaining on import.meta.env so src/db.js works in both
Vite and Node contexts, then import the shared client in the CLI
script instead of duplicating the connection setup. Also fix typo
in CLAUDE.md.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
src/db.js was dead code — nothing imported it. The fetch script now
imports the supabase client from src/services/db.ts directly, run
via node --experimental-strip-types. Added optional chaining on
import.meta.env for Node compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add AI tooling and Supabase helpers
* feat: add ProvidedBy component for resource attribution

Add Provider type to ResourceEntry and create ProvidedBy component
that displays organization attribution with logo/name support.
Supports multiple providers with "+X more" overflow handling.

* feat: add logo support and image fallback for ProvidedBy

- Add Share Food Program logo as local asset for testing
- Implement image fallback to Avatar when logo fails to load
- Increase logo size to 40x40 for better visibility
- Position ProvidedBy below Last Modified section

* feat: add provider logo mapping utility

Logo resolution now checks both provider.logo_url and a local mapping
by provider name. This allows storing logos as local assets while
keeping provider data simple (just name and url).

* refactor: remove hardcoded mock provider data

Component now only displays when resource.providers has actual data.

* refactor: address PR feedback for ProvidedBy component

Reviewers flagged that provider logos should come from the database, not
static assets. This removes the hardcoded logo file and providerLogos
utility. Also extracts ProviderItem and ProviderLogo as separate
components, uses optional Provider[] prop with default, and replaces
deprecated primaryTypographyProps with slotProps.primary.

* refactor: migrate deprecated inputProps to slotProps.htmlInput

MUI codemod flagged TextField's inputProps as deprecated. Migrating to
slotProps.htmlInput aligns with the current MUI API.

* Adds Supabase querying for resource providers

* Adds providers database name variable

* Fixes cypress testing action

---------

Co-authored-by: Gabriel Cardona <2278918+gcardonag@users.noreply.github.com>
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.5.1 to 6.5.5.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](tornadoweb/tornado@v6.5.1...v6.5.5)

---
updated-dependencies:
- dependency-name: tornado
  dependency-version: 6.5.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](pyasn1/pyasn1@v0.6.2...v0.6.3)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.10.1 to 2.12.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](jpadilla/pyjwt@2.10.1...2.12.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-version: 2.12.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* mv found API keys to .env

* all hardcoded ones are verfided and moved

* final mv

* mv verification pwd

* mv verification pwd

* add missing msg

* moe yelling

* added yelling in dev env for all keys and imports if missing

* add: secerts workflow to test injections

* add: secerts workflow to test injections

* should work -- clean up after

* another try to make it work -- clean up after

* another try to make it work -- clean up after

* try 4 to make it work -- clean up after

* try 5 to make it work -- clean up after

* try 6 to make it work -- clean up after

* try 7 debug missing key ugg

* try 7 debug missing key ugg

* try 8 should work

* working cleaup done

* testing something -- need to add more secret keys

* just need to add one more key to GH secrets and should work

* zod env config

* zod env config

* Update config.ts

* simplfy

* Adds vite preflight check to ensure environment variables are set and fixes workflow references to GMaps API key secret

---------

Co-authored-by: Gabriel Cardona <2278918+gcardonag@users.noreply.github.com>
@gcardonag gcardonag merged commit 9fa6bc3 into main Apr 7, 2026
5 checks passed
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.

5 participants