Add description field to the EIP header#3706
Conversation
MicahZoltu
left a comment
There was a problem hiding this comment.
Recommend removing the Simple Summary from the template and EIP-1, as this would be the new place to put that content.
I generally approve, but would like to see the Simple Summary removed along with the introduction of a description metadata field.
Absolutely, that would be the goal, but decided to keep the first step simple until there's a general agreement on this.
My main question right now is how to render it on the page:
|
|
I care less about answering the "how it is rendered" question right now, as that is something we can pretty easily/freely iterate on after this change I think. I'm fine with starting out with something simple and then improving it later. |
I would like to see that happen in this PR, not a future PR. I dislike the idea of having a period of time where we have both a |
I planned to do it in this PR, but did not wanted to bring extra work to myself before this field is agreed on. |
|
I like 2. |
|
I like both 1 and 2. In terms of the actual text in the templates, I don't mind too much. I'm on board with the change in general though (it will be great to not repeat the EIP number a dozen times in the social thumbnail!) |
a8508b6 to
58af7c5
Compare
|
@MicahZoltu should be ready to merge, but let me know if you want to remove the commit for 2718. |
| --- | ||
| eip: 2718 | ||
| title: Typed Transaction Envelope | ||
| description: Defines a new transaction type that is an envelope for future transaction types. |
There was a problem hiding this comment.
Simple Summary should be removed with the inclusion of description. I think.
There was a problem hiding this comment.
Right. My question was do you want to touch this file in this PR or not?
There was a problem hiding this comment.
I'm fine with 2718 getting updated as a "first example" in this PR.
There was a problem hiding this comment.
Ok, also removed the section.
eip-template.md
Outdated
| --- | ||
| eip: <to be assigned> | ||
| title: <EIP title> | ||
| description: <Provide a simplified and layman-accessible explanation of the EIP.> |
There was a problem hiding this comment.
I think it would be valuable to include this text or similar, but not a hard requirement if others disagree:
Imagine an email subject line, GitHub PR title, or forum post title.
There was a problem hiding this comment.
I don't want to argue too much about it, but what is the title then?
There was a problem hiding this comment.
Title is a few words, not a complete sentence.
King Micah
Description is one full (short) sentence.
The benevolent dictator of the EIPs repository.
Abstract is multi-sentence (short paragraph) technical summary.
Micah is the unelected, self assigned dictator of the EIPs repository. They rule by way of blocking an PRs they don't like and merging things they like without waiting for agreement from anyone else. Micah's power can be taken away by someone else volunteering to take on the responsibilities of shepherding the EIP's repository."
Another way to look at it is that a Title is what you would use in a sentence when referring to the EIP. "We should implement the EVM Object Format in Shanghai." The description is what you would use to jog someone's memory as to what the EIP is. "What is the EVM Object Format?" "It is the EIP that Establishes contract versioning by way of a leading bytecode sequence." "Ah, right, I remember that one."
There was a problem hiding this comment.
I think actually your description is much better suited as opposed to the examples you gave :)
title: <Title is a few words, not a complete sentence.>
description: <Description is one full (short) sentence.>
abstract: <Abstract is multi-sentence (short paragraph) technical summary.>
58af7c5 to
4c91216
Compare
7807444 to
27e2844
Compare
27e2844 to
8e80f46
Compare
|
@MicahZoltu this still needs a manual merge from you 😅 |
|
Blocked by ethereum/eipv#28 😭 All eyes are on you @lightclient 🙏 |
8e80f46 to
3b5cd36
Compare
This has been removed from EIP-1 on 15-09-2019 in the PR ethereum#2186.
3b5cd36 to
617b06d
Compare
617b06d to
1de8caf
Compare
1de8caf to
9e91d4a
Compare
* Add description field to the EIP header * Update 2718 * Move description rendering to below the title * Remove the simple summary from the template This has been removed from EIP-1 on 15-09-2019 in the PR ethereum#2186. * Update title/description/abstract with new recommendation * Mention length limit of description



Implementation of #3564 (comment).
The header:

Twitter before:

Twitter after:

Could also render the
descriptionprominently after the header.