Cosmos SDK and Tendermint glossary
Closed this issue ยท 12 comments
Mission: Develop a single source of truth glossary for Tendermint and Cosmos SDK.
Because a published glossary exists, we will focus on improving the published glossary https://cosmos.network/glossary
As of April 2021, Stargate new website is live but this cosmos.network glossary is still v1 and on the design team list. Curiously, the glossary is sourced in two places for two purposes.
See Cyrus comment in this PR
@barriebyron, I believe the airtable glossary list has been deprecated for awhile now. We're currently using https://github.com/tendermint/cosmos-ui/blob/develop/src/Tooltip/dict.json for the cosmos.network/glossary
The idea was to create a custom tooltip to map a new glossary list on cosmos.network/intro
Updates:
/glossary
- it's using this list https://github.com/cosmos/cosmos.network/blob/develop/assets/data/dict.json
https://github.com/tendermint/cosmos-ui/blob/develop/src/Tooltip/dict.json - https://github.com/cosmos/cosmos.network/blob/develop/src/views/Glossary.vue#L15
/intro
- it's using airtable glossary list
- (1) https://github.com/cosmos/cosmos.network/blob/develop/src/views/Intro.vue#L34
- (2) https://github.com/cosmos/cosmos.network/blob/develop/src/store/modules/glossary.js#L15
@lovincyrus thanks for this update... Help me understand the status of this glossary. We can rely on this glossary for current and future use? I am digging the tooltips on https://cosmos.network/intro
I think the answer is no, but can we have tooltips from Markdown docs?
We can rely on this glossary for current and future use?
Yes, we can use the list. Now that I think about it, the JSON file was created just so that we could fetch the key value directly without relying the data from Airtable glossary list. They might be identical.
but can we have tooltips from Markdown docs?
Are you suggesting that we should use a markdown file instead of JSON? Which markdown docs are you referring to?
@lovincyrus open to ideas! I am in early stages of gathering information and understanding what we have. I want a discoverable Cosmos SDK glossary that is the single source of accurate truth.
You can update the airtable glossary list for the time being since it's easier to maintain than dealing with JSON syntax. ๐
@lovincyrus I didn't see your comment above about the airtable glossary, and instead updated the JSON in tendermint/cosmos-ui#218
UPDATE:
For easy "let's all add terms and definitions" at first I created a collaborative universal glossary sheet but
that effort too got lost in a shuffle. Let's focus only on updating the actual source in the json and airtable
Cyrus pointed me to the published glossary https://v1.cosmos.network/glossary
Cyrus
old site starts with v1
a lot of people visit the old v1 intro
hover to see definition list
the current definition list is accessed from two places:
/intro
/glossary
right now, this content is not streamlined for the new website. As @lovincyrus explained earlier in this PR, the glossary is sourced from: airtable (legacy, deprecated) and json
Cyrus is going to bump the glossary version and update the glossary to be the new cosmos.network. We don't yet know how the airtable vs json is going to be resolved, it's a work in progress. We do need improved SEO (I didn't even know we had a glossary)
To add new definitions, use a PR for https://github.com/tendermint/cosmos-ui/blob/develop/src/Tooltip/dict.json and ping in #ecodev and get other eyes on it
Cyrus will consolidate into one source and let me know which source.
Update: The v1.cosmos.network/glossary
has been bumped in this PR cosmos/v1.cosmos.network#194 โ๏ธ
JSON file: https://github.com/tendermint/cosmos-ui/blob/develop/src/Tooltip/dict.json
Now that we're slowly moving away from cosmos-ui
, it makes sense that we relocate the JSON file to elsewhere. The best home for the file is this repo โ cosmos/advocates
. This omits the need to create another repo. We could also implement a process in which we can introduce/suggest a new definition โ review โ approve โ gets added to the list.
The JSON file will be used in the new cosmos.network
and old v1.cosmos.network/glossary
. As we're putting in the works in rolling out the new cosmos.network/intro
, there is no need to maintain the Airtable Glossary.
Next steps:
- Cyrus to add the JSON file to this repo
TIL about https://github.com/orgs/cosmos/teams