-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Use grapher config from API instead of from HTML in multiembedder #3884
Merged
+39
−4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Aug 19, 2024
This stack of pull requests is managed by Graphite. Learn more about stacking. |
265637f
to
91f193d
Compare
7ff4c04
to
718d193
Compare
91f193d
to
41b9260
Compare
718d193
to
9575cd4
Compare
41b9260
to
1dd7bdb
Compare
9575cd4
to
df54d29
Compare
1dd7bdb
to
019831b
Compare
df54d29
to
31783c0
Compare
019831b
to
b96dde4
Compare
31783c0
to
4969cea
Compare
b96dde4
to
9490433
Compare
4969cea
to
935fde8
Compare
9490433
to
6d5c3bc
Compare
935fde8
to
daf3747
Compare
6d5c3bc
to
b6d10f1
Compare
daf3747
to
efe49d6
Compare
b6d10f1
to
6189190
Compare
efe49d6
to
a6efc86
Compare
6189190
to
845c2ab
Compare
a6efc86
to
4f6ed11
Compare
This was referenced Aug 26, 2024
845c2ab
to
26e490c
Compare
940738b
to
0df5bff
Compare
e5338b6
to
8f4418c
Compare
0df5bff
to
2a74086
Compare
8f4418c
to
6ea8ff0
Compare
2a74086
to
fa93186
Compare
6ea8ff0
to
14065aa
Compare
fa93186
to
8152321
Compare
14065aa
to
25404f1
Compare
8152321
to
2163513
Compare
25404f1
to
53ab64b
Compare
2163513
to
dd56e2b
Compare
53ab64b
to
35deed4
Compare
dd56e2b
to
eb1de29
Compare
35deed4
to
4c94b5a
Compare
eb1de29
to
380b1f5
Compare
4c94b5a
to
18dd056
Compare
02cf775
to
2689b72
Compare
18dd056
to
868a5f7
Compare
868a5f7
to
caecd68
Compare
Also adds two new mockSiteRouter routes so that in local dev we can fetch grapher configs from the DB instead of R2 via the admin API
caecd68
to
d728828
Compare
This was referenced Oct 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR switches the multi-embedder from using the chart config in the HTML file to the explicit grapher API.
The current (draft) version just uses the same url as the request came in on but that means that for local dev you need to have baked pages to use port :8788. It's probably nicer to have an explicit "grapher api url" setting that defaults to the same as the main page for prod but can be set differently for local dev or staging