Skip to content

Conversation

saihaj
Copy link
Contributor

@saihaj saihaj commented May 1, 2023

In plans to unify all tooling, one of the things we did last week was migrate all the example subgraphs to graph-tooling graphprotocol/graph-tooling#1204 and we are going to archive the example-subgraphs repo graphprotocol/example-subgraphs#5. So merging this docs is the last step for us to be able to archive the old example subgraph repo.

@saihaj saihaj requested a review from a team as a code owner May 1, 2023 15:58
@github-actions
Copy link

github-actions bot commented May 1, 2023

📦 Next.js Bundle Analysis for @graphprotocol/docs

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Seventy-five Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/ar/cookbook/arweave 8.71 KB 604.75 KB 172.79% (+/- <0.01%)
/ar/cookbook/cosmos 8.61 KB 604.65 KB 172.76% (+/- <0.01%)
/ar/cookbook/subgraph-debug-forking 7.46 KB 603.5 KB 172.43% (+/- <0.01%)
/de/cookbook/arweave 8.49 KB 604.52 KB 172.72% (+/- <0.01%)
/de/cookbook/cosmos 8.4 KB 604.44 KB 172.70% (+/- <0.01%)
/de/cookbook/subgraph-debug-forking 6.96 KB 602.99 KB 172.28% (🟡 +0.01%)
/en/cookbook/arweave 8.48 KB 604.52 KB 172.72% (+/- <0.01%)
/en/cookbook/cosmos 8.41 KB 604.45 KB 172.70% (+/- <0.01%)
/en/cookbook/subgraph-debug-forking 6.96 KB 602.99 KB 172.28% (🟡 +0.01%)
/es/cookbook/arweave 8.85 KB 604.89 KB 172.83% (+/- <0.01%)
/es/cookbook/cosmos 8.82 KB 604.86 KB 172.82% (+/- <0.01%)
/es/cookbook/subgraph-debug-forking 7.21 KB 603.24 KB 172.36% (+/- <0.01%)
/fr/cookbook/arweave 9.13 KB 605.17 KB 172.91% (+/- <0.01%)
/fr/cookbook/cosmos 9.03 KB 605.07 KB 172.88% (+/- <0.01%)
/fr/cookbook/subgraph-debug-forking 7.5 KB 603.54 KB 172.44% (+/- <0.01%)
/hi/cookbook/arweave 9.65 KB 605.69 KB 173.05% (+/- <0.01%)
/hi/cookbook/cosmos 9.6 KB 605.64 KB 173.04% (+/- <0.01%)
/hi/cookbook/near 11.02 KB 607.06 KB 173.45% (+/- <0.01%)
/hi/cookbook/subgraph-debug-forking 7.87 KB 603.91 KB 172.54% (🟡 +0.01%)
/hi/developing/creating-a-subgraph 30.72 KB 626.76 KB 179.07% (+/- <0.01%)
/it/cookbook/arweave 8.49 KB 604.53 KB 172.72% (+/- <0.01%)
/it/cookbook/cosmos 8.41 KB 604.45 KB 172.70% (+/- <0.01%)
/it/cookbook/subgraph-debug-forking 6.96 KB 602.99 KB 172.28% (🟡 +0.01%)
/ja/cookbook/arweave 9.3 KB 605.34 KB 172.95% (+/- <0.01%)
/ja/cookbook/cosmos 9.14 KB 605.18 KB 172.91% (+/- <0.01%)
/ja/cookbook/near 10.5 KB 606.54 KB 173.30% (+/- <0.01%)
/ja/cookbook/subgraph-debug-forking 7.44 KB 603.48 KB 172.42% (+/- <0.01%)
/ja/developing/creating-a-subgraph 27.26 KB 623.3 KB 178.08% (+/- <0.01%)
/ko/cookbook/arweave 8.48 KB 604.52 KB 172.72% (+/- <0.01%)
/ko/cookbook/cosmos 8.41 KB 604.44 KB 172.70% (+/- <0.01%)
/ko/cookbook/subgraph-debug-forking 6.96 KB 602.99 KB 172.28% (🟡 +0.01%)
/mr/cookbook/arweave 9.57 KB 605.61 KB 173.03% (+/- <0.01%)
/mr/cookbook/cosmos 9.49 KB 605.53 KB 173.01% (+/- <0.01%)
/mr/cookbook/near 9.78 KB 605.82 KB 173.09% (+/- <0.01%)
/mr/cookbook/subgraph-debug-forking 6.96 KB 602.99 KB 172.28% (🟡 +0.01%)
/mr/developing/creating-a-subgraph 24.76 KB 620.8 KB 177.37% (+/- <0.01%)
/nl/cookbook/arweave 8.48 KB 604.52 KB 172.72% (+/- <0.01%)
/nl/cookbook/cosmos 8.41 KB 604.45 KB 172.70% (+/- <0.01%)
/nl/cookbook/subgraph-debug-forking 6.95 KB 602.99 KB 172.28% (🟡 +0.01%)
/nl/developing/creating-a-subgraph 24.76 KB 620.8 KB 177.37% (+/- <0.01%)
/pl/cookbook/arweave 8.48 KB 604.52 KB 172.72% (+/- <0.01%)
/pl/cookbook/cosmos 8.41 KB 604.45 KB 172.70% (+/- <0.01%)
/pl/cookbook/near 9.5 KB 605.54 KB 173.01% (+/- <0.01%)
/pl/cookbook/subgraph-debug-forking 6.95 KB 602.99 KB 172.28% (🟡 +0.01%)
/pt/cookbook/arweave 8.49 KB 604.53 KB 172.72% (+/- <0.01%)
/pt/cookbook/cosmos 8.4 KB 604.44 KB 172.70% (+/- <0.01%)
/pt/cookbook/subgraph-debug-forking 6.96 KB 603 KB 172.28% (🟡 +0.01%)
/ru/cookbook/arweave 9.67 KB 605.71 KB 173.06% (+/- <0.01%)
/ru/cookbook/cosmos 9.63 KB 605.67 KB 173.05% (+/- <0.01%)
/ru/cookbook/subgraph-debug-forking 7.88 KB 603.92 KB 172.55% (+/- <0.01%)
/ru/developing/creating-a-subgraph 25.05 KB 621.09 KB 177.46% (+/- <0.01%)
/sv/cookbook/arweave 8.49 KB 604.53 KB 172.72% (+/- <0.01%)
/sv/cookbook/cosmos 8.41 KB 604.45 KB 172.70% (+/- <0.01%)
/sv/cookbook/near 9.5 KB 605.54 KB 173.01% (+/- <0.01%)
/sv/cookbook/subgraph-debug-forking 6.95 KB 602.99 KB 172.28% (🟡 +0.01%)
/sv/developing/creating-a-subgraph 24.76 KB 620.8 KB 177.37% (+/- <0.01%)
/tr/cookbook/arweave 8.48 KB 604.52 KB 172.72% (+/- <0.01%)
/tr/cookbook/cosmos 8.41 KB 604.45 KB 172.70% (+/- <0.01%)
/tr/cookbook/subgraph-debug-forking 6.96 KB 602.99 KB 172.28% (🟡 +0.01%)
/uk/cookbook/arweave 8.49 KB 604.53 KB 172.72% (+/- <0.01%)
/uk/cookbook/cosmos 8.46 KB 604.5 KB 172.72% (+/- <0.01%)
/uk/cookbook/near 9.58 KB 605.62 KB 173.03% (+/- <0.01%)
/uk/cookbook/subgraph-debug-forking 6.96 KB 603 KB 172.28% (🟡 +0.01%)
/ur/cookbook/arweave 9.59 KB 605.63 KB 173.04% (+/- <0.01%)
/ur/cookbook/cosmos 9.48 KB 605.52 KB 173.01% (+/- <0.01%)
/ur/cookbook/near 10.85 KB 606.89 KB 173.40% (+/- <0.01%)
/ur/cookbook/subgraph-debug-forking 7.72 KB 603.76 KB 172.50% (+/- <0.01%)
/ur/developing/creating-a-subgraph 29.13 KB 625.17 KB 178.62% (+/- <0.01%)
/vi/cookbook/arweave 8.49 KB 604.52 KB 172.72% (+/- <0.01%)
/vi/cookbook/cosmos 8.41 KB 604.45 KB 172.70% (+/- <0.01%)
/vi/cookbook/subgraph-debug-forking 6.96 KB 602.99 KB 172.28% (🟡 +0.01%)
/zh/cookbook/cosmos 8.96 KB 605 KB 172.86% (+/- <0.01%)
/zh/cookbook/near 10 KB 606.04 KB 173.15% (+/- <0.01%)
/zh/cookbook/subgraph-debug-forking 7.41 KB 603.45 KB 172.41% (🟡 +0.01%)
/zh/developing/creating-a-subgraph 26.28 KB 622.32 KB 177.81% (+/- <0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@azf20
Copy link
Contributor

azf20 commented May 2, 2023

I think this LGTM - just checking with @benface that changing all the non "en" language pages will be ok with Crowdin?

@saihaj saihaj merged commit 6b6ff1d into main May 5, 2023
@saihaj saihaj deleted the saihaj/update-example-location branch May 5, 2023 18:15
@benface
Copy link
Contributor

benface commented May 7, 2023

@azf20 – Sorry for the delay. It will be "ok" in the sense that it'll work for now, but unless translators apply the same changes in Crowdin (which they should because changing the source string will mark the translated strings as outdated, but it might take some time), they will be overwritten the next time we merge the Crowdin PR.

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.

4 participants