Skip to content

Commit a3c8033

Browse files
authored
Merge pull request #11085 from ethereum/dev
Release candidate: v7.20.1
2 parents dee1d22 + 70f288b commit a3c8033

File tree

21 files changed

+154
-22
lines changed

21 files changed

+154
-22
lines changed

.all-contributorsrc

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10432,6 +10432,70 @@
1043210432
"doc",
1043310433
"bug"
1043410434
]
10435+
},
10436+
{
10437+
"login": "mteam88",
10438+
"name": "Matthew",
10439+
"avatar_url": "https://avatars.githubusercontent.com/u/84196639?v=4",
10440+
"profile": "https://mteam88.github.io",
10441+
"contributions": [
10442+
"bug",
10443+
"doc"
10444+
]
10445+
},
10446+
{
10447+
"login": "avalidurl",
10448+
"name": "gokhan",
10449+
"avatar_url": "https://avatars.githubusercontent.com/u/11991363?v=4",
10450+
"profile": "https://github.com/avalidurl",
10451+
"contributions": [
10452+
"bug"
10453+
]
10454+
},
10455+
{
10456+
"login": "0xadri",
10457+
"name": "Adri",
10458+
"avatar_url": "https://avatars.githubusercontent.com/u/738533?v=4",
10459+
"profile": "https://github.com/0xadri",
10460+
"contributions": [
10461+
"content"
10462+
]
10463+
},
10464+
{
10465+
"login": "DSherryD",
10466+
"name": "Sherry.Du",
10467+
"avatar_url": "https://avatars.githubusercontent.com/u/130898085?v=4",
10468+
"profile": "https://github.com/DSherryD",
10469+
"contributions": [
10470+
"content"
10471+
]
10472+
},
10473+
{
10474+
"login": "FrancescoXX",
10475+
"name": "Francesco Ciulla",
10476+
"avatar_url": "https://avatars.githubusercontent.com/u/18360871?v=4",
10477+
"profile": "http://francescociulla.com",
10478+
"contributions": [
10479+
"content"
10480+
]
10481+
},
10482+
{
10483+
"login": "blazingrome",
10484+
"name": "blazingrome",
10485+
"avatar_url": "https://avatars.githubusercontent.com/u/136898739?v=4",
10486+
"profile": "https://github.com/blazingrome",
10487+
"contributions": [
10488+
"content"
10489+
]
10490+
},
10491+
{
10492+
"login": "etan-status",
10493+
"name": "Etan Kissling",
10494+
"avatar_url": "https://avatars.githubusercontent.com/u/89844309?v=4",
10495+
"profile": "https://github.com/etan-status",
10496+
"contributions": [
10497+
"content"
10498+
]
1043510499
}
1043610500
],
1043710501
"contributorsPerLine": 7,

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ To use an existing function locally you don't need to do anything. Just check th
121121

122122
To create a new function, you will need to create two files:
123123

124-
- One in `src/lambdas` where the logic will live. These are the ones that will be deployed to Netlify. These functions follow [this format](https://docs.netlify.com/functions/build-with-javascript/#synchronous-function-format).
124+
- One in `src/lambda` where the logic will live. These are the ones that will be deployed to Netlify. These functions follow [this format](https://docs.netlify.com/functions/build-with-javascript/#synchronous-function-format).
125125
- One in `src/api` that will be just a wrapper around the previous one in order to be compatible with Gatsby functions. More on the [Gatbsy docs](https://www.gatsbyjs.com/docs/reference/functions/getting-started/) for the format they follow.
126126

127127
Typically, you will develop and test functions in the Gatsby context, by running `yarn start`.
@@ -1631,6 +1631,15 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
16311631
<tr>
16321632
<td align="center" valign="top" width="14.28%"><a href="https://github.com/LadyDhaga"><img src="https://avatars.githubusercontent.com/u/106376368?v=4?s=100" width="100px;" alt="chinaman123"/><br /><sub><b>chinaman123</b></sub></a><br /><a href="#ideas-LadyDhaga" title="Ideas, Planning, & Feedback">🤔</a></td>
16331633
<td align="center" valign="top" width="14.28%"><a href="http://t.me/mevsinternet"><img src="https://avatars.githubusercontent.com/u/32142853?v=4?s=100" width="100px;" alt="Alex"/><br /><sub><b>Alex</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=z0rats" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Az0rats" title="Bug reports">🐛</a></td>
1634+
<td align="center" valign="top" width="14.28%"><a href="https://mteam88.github.io"><img src="https://avatars.githubusercontent.com/u/84196639?v=4?s=100" width="100px;" alt="Matthew"/><br /><sub><b>Matthew</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Amteam88" title="Bug reports">🐛</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=mteam88" title="Documentation">📖</a></td>
1635+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/avalidurl"><img src="https://avatars.githubusercontent.com/u/11991363?v=4?s=100" width="100px;" alt="gokhan"/><br /><sub><b>gokhan</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aavalidurl" title="Bug reports">🐛</a></td>
1636+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xadri"><img src="https://avatars.githubusercontent.com/u/738533?v=4?s=100" width="100px;" alt="Adri"/><br /><sub><b>Adri</b></sub></a><br /><a href="#content-0xadri" title="Content">🖋</a></td>
1637+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/DSherryD"><img src="https://avatars.githubusercontent.com/u/130898085?v=4?s=100" width="100px;" alt="Sherry.Du"/><br /><sub><b>Sherry.Du</b></sub></a><br /><a href="#content-DSherryD" title="Content">🖋</a></td>
1638+
<td align="center" valign="top" width="14.28%"><a href="http://francescociulla.com"><img src="https://avatars.githubusercontent.com/u/18360871?v=4?s=100" width="100px;" alt="Francesco Ciulla"/><br /><sub><b>Francesco Ciulla</b></sub></a><br /><a href="#content-FrancescoXX" title="Content">🖋</a></td>
1639+
</tr>
1640+
<tr>
1641+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/blazingrome"><img src="https://avatars.githubusercontent.com/u/136898739?v=4?s=100" width="100px;" alt="blazingrome"/><br /><sub><b>blazingrome</b></sub></a><br /><a href="#content-blazingrome" title="Content">🖋</a></td>
1642+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/etan-status"><img src="https://avatars.githubusercontent.com/u/89844309?v=4?s=100" width="100px;" alt="Etan Kissling"/><br /><sub><b>Etan Kissling</b></sub></a><br /><a href="#content-etan-status" title="Content">🖋</a></td>
16341643
</tr>
16351644
</tbody>
16361645
</table>

docs/ds-implementation.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# DS implementation guide
2+
3+
This is a reference for implementing the new Design System components and styles defined in a public [Figma file](https://www.figma.com/file/NrNxGjBL0Yl1PrNrOT8G2B/ethereum.org-Design-System).
4+
5+
This is part of our [Design System implementation epic](https://github.com/ethereum/ethereum-org-website/issues/9546). Currently we are implementing the v1, check the remaining tasks [here](https://github.com/ethereum/ethereum-org-website/issues/9548).
6+
7+
## Basics
8+
9+
- Use Chakra tokens for spacing, sizes, and breakpoints. [Chakra theme docs](https://chakra-ui.com/docs/styled-system/theme)
10+
- For colors use the semantic tokens defined in [this file](https://github.com/ethereum/ethereum-org-website/blob/dev/src/@chakra-ui/gatsby-plugin/semanticTokens.ts). These tokens will match the color variables used in the DS Figma file
11+
- Use as many Chakra components and utils as possible
12+
- Read the [Best Practices doc](https://github.com/ethereum/ethereum-org-website/blob/dev/docs/best-practices.md) for more examples and info
13+
14+
**IMPORTANT**
15+
Follow the new component directory structure:
16+
17+
```markdown
18+
src/
19+
└── components/
20+
└── ComponentA/
21+
├── index.tsx
22+
├── ComponentA.stories.tsx
23+
└── // Any other files as applicable (utils, child components, useHook, etc.)
24+
```
25+
26+
## Components creation/modification from the DS
27+
28+
If you are implementing:
29+
30+
- A base component (a component that already exists in the [Chakra components list](https://chakra-ui.com/docs/components/), for example, the button or inputs)
31+
- Try to avoid creating a new component file `/ComponentA/index.tsx` if there is no additional or custom logic we need to add to them
32+
- Create a theme file to override the default Chakra styles with the DS specs. See examples under the [Chakra theme folder](https://github.com/ethereum/ethereum-org-website/blob/dev/src/@chakra-ui/gatsby-plugin/components/)
33+
- Create a `.stories.tsx` file under `src/components/BaseStories`
34+
- A new custom component (e.g. the PageHero)
35+
- Use as many Chakra components as possible
36+
- Avoid implementing previous implementation details or styles if Chakra offers a solution for that
37+
38+
## Stories
39+
40+
As defined in the new directory structure, each created or adapted component must have a story attached to it.
41+
42+
- Follow the [Applying Storybook documentation](https://github.com/ethereum/ethereum-org-website/blob/dev/docs/applying-storybook.md)
43+
- Follow the [proposed Storybook structure](https://www.figma.com/file/Ne3iAassyfAcJ0AlgqioAP/DS-to-storybook-structure)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "7.20.0",
3+
"version": "7.20.1",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "git@github.com:ethereum/ethereum-org-website.git",

src/content/community/code-of-conduct/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Open participation is core to the ethereum.org ethos. We are a website and commu
3535

3636
### Scope {#scope}
3737

38-
This Code of Conduct applies to all ethereum.org spaces (such as GitHub, Discord, Figma Crowdin, Twitter and other online platforms), and it also applies when the community is represented in real-world public spaces such as at meetups, conferences and events.
38+
This Code of Conduct applies to all ethereum.org spaces (such as GitHub, Discord, Figma, Crowdin, Twitter and other online platforms), and it also applies when the community is represented in real-world public spaces such as at meetups, conferences and events.
3939

4040
### Our standards {#our-standards}
4141

@@ -52,7 +52,7 @@ Examples of unacceptable behavior by participants include:
5252

5353
- Physical violence, threatening physical violence or encouraging of physical violence of any kind
5454
- Using sexualized language or imagery or imposing unwelcome sexual attention
55-
- Impersonating another individual or otherwise dishonestly claiming affiliation with some individual or organization.
55+
- Impersonating another individual or otherwise dishonestly claiming affiliation with some individual or organization
5656
- Trolling, insulting/derogatory comments, and personal or political attacks
5757
- Harassing other community members in public or private channels
5858
- Publishing others’ private information, such as a physical or electronic address, without explicit permission

src/content/community/get-involved/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Do you have a background in mathematics, cryptography, or economics? You might b
2828
- Write or review an Ethereum Improvement Proposal
2929
- Write an EIP
3030
1. Submit your idea on [Ethereum Magicians](https://ethereum-magicians.org)
31-
2. Read [EIP-1](https://eip.ethereum.org/EIPS/eip-1) - **Yes, that's the _entire_ document.**
31+
2. Read [EIP-1](https://eips.ethereum.org/EIPS/eip-1) - **Yes, that's the _entire_ document.**
3232
3. Follow the directons in EIP-1. Reference it as you write your draft.
3333
- Learn how to become an [EIP Editor](https://eips.ethereum.org/EIPS/eip-5069)
3434
- You can peer-review EIPs right now! See [open PRs with the `e-review` tag](https://github.com/ethereum/EIPs/pulls?q=is%3Apr+is%3Aopen+label%3Ae-review). Provide technical feedback on the `discussion-to` link.

src/content/developers/docs/apis/json-rpc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ params: [
15521552
- `blockHash`: `DATA`, 32 Bytes - hash of the block where this log was in. `null` when its pending. `null` when its pending log.
15531553
- `blockNumber`: `QUANTITY` - the block number where this log was in. `null` when its pending. `null` when its pending log.
15541554
- `address`: `DATA`, 20 Bytes - address from which this log originated.
1555-
- `data`: `DATA` - contains one or more 32 Bytes non-indexed arguments of the log.
1555+
- `data`: `DATA` - contains zero or more 32 Bytes non-indexed arguments of the log.
15561556
- `topics`: `Array of DATA` - Array of 0 to 4 32 Bytes `DATA` of indexed log arguments. (In _solidity_: The first topic is the _hash_ of the signature of the event (e.g. `Deposit(address,bytes32,uint256)`), except you declared the event with the `anonymous` specifier.)
15571557
- **Example**
15581558

src/content/developers/docs/bridges/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ For developers, there are many ways to add support for bridges:
9191
- Assessment and maintenance of bridges are hard and time-consuming.
9292
- Selecting one bridge creates a single point of failure and dependency.
9393
- The dapp is limited by the bridge’s capabilities.
94-
- Bridges alone might not be enough. dapps might need DEXs to offer more functionality such as cross-chain swaps.
94+
- Bridges alone might not be enough. Dapps might need DEXs to offer more functionality such as cross-chain swaps.
9595

9696
4. **Integrating multiple bridges –** This solution solves many problems associated with integrating a single bridge. However, it also has limitations, as integrating multiple bridges is resource-consuming and creates technical and communication overheads for developers—the scarcest resource in crypto.
9797

src/content/developers/docs/design-and-ux/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Design and UX in web3
3-
description: Introduction to UX design an research in web3 space and Ethereum
3+
description: Introduction to UX design and research in web3 space and Ethereum
44
lang: en
55
---
66

src/content/developers/docs/ides/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ Most established IDEs have built plugins to enhance the Ethereum development exp
6666

6767
## Further reading {#further-reading}
6868

69-
- [Ethereum IDEs](https://www.alchemy.com/list-of/web3-ides-on-ethereum) _- Alchemy's list of Ethereunm IDEs_
69+
- [Ethereum IDEs](https://www.alchemy.com/list-of/web3-ides-on-ethereum) _- Alchemy's list of Ethereum IDEs_
7070

7171
_Know of a community resource that helped you? Edit this page and add it!_

0 commit comments

Comments
 (0)