Skip to content

Make DataSpace optional#338

Open
jpmckinney wants to merge 3 commits intodevfrom
dataspace-optional
Open

Make DataSpace optional#338
jpmckinney wants to merge 3 commits intodevfrom
dataspace-optional

Conversation

@jpmckinney
Copy link
Copy Markdown
Collaborator

@jpmckinney jpmckinney commented Apr 14, 2026

The frontend currently depends on https://github.com/CivicDataLab/dataspacebackend. However, that repo is not part of the DPG. Make the dependency optional by disabling features that depend on it.

…rt of the file generated from the BACKEND_URL GraphQL API.
If it isn't set or is empty, these elements aren't rendered:

- "Datasets" from MainNav and MobileNav
- "Dataset Explorer" from QuickLinks
- "Link to the datasets" from IndicatorDescription
- DatasetCatalog and Resources from homepage (app/[locale]/page.tsx)
- "Chart View" tab from analytics page (analytics-layout.tsx, analytics-mobile-layout.tsx)

And, all /datasets paths render not-found.tsx instead.
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.

1 participant