HomeElementl

[dagit] Extract app configuration

Description

[dagit] Extract app configuration

Summary:
We currently pull a handful of static configuration values out of global space in Dagit, at various points throughout the app.

Instead, provide these at a single point (index.tsx) and make them available via context. This gives us a place to define top-level configuration that can be made more flexible over time.

Also create the Apollo client within the scope of the AppProvider, feeding it configuration as needed.

Test Plan: BK, load Dagit and sanity check by navigating through the app.

Reviewers: bengotow, max, dgibson

Reviewed By: bengotow

Differential Revision: https://dagster.phacility.com/D7197

Details

Provenance
dishAuthored on Mar 29 2021, 10:11 PM
Reviewer
bengotow
Differential Revision
D7197: [dagit] Extract app configuration
Parents
R1:45549362bbc6: Add check for RabbitMQ in Celery deployment
Branches
Unknown
Tags
Unknown