Skip to content
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

Extract the dropdown menu from VRF v2 cost calculator #1

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

simkasss
Copy link
Owner

@simkasss simkasss commented Aug 3, 2023

Relates issues

Relates smartcontractkit#1423

Description

The dropdown menu is extracted from the VRF v2 cost calculator in order to make it reusable in other components.

Changes

  • The dropdown menu is extracted to separate component
  • The dropdown menu is refactored to use the same chain data source as data feeds
  • Add queryString parameter to networks data, in order to easier create and access search parameters
  • Add getNetworkFromQueryString function, in order to get chain network object from search parameters
  • Use useQueryString, in order to get information about selected chain and network from url
  • Update useQueryString to use URLSearchParams instead of query-string, because URLSearchParams is built-in

aelmanaa and others added 12 commits August 8, 2023 20:13
Remove redundant word
* Update tutorial templates based on feedback

* Architecture diagram example
* add any-api collection

* add architecture-overview collection

* add bif collection

* add chainlink-automation collection

* update bif index page url

* add chainlink-functions collection

* add chainlink-nodes collection

* add data-feeds collection

* add getting-started collection

* add resources collection

* add vrf collection

* change chainlink-nodes type mdx -> astro

* update .md files path pages -> content

* delete redundant lines and comments

* change two links to lowercase

* functionscllient -> functions-client

* add ccip collection

* api-reference/Functions -> api-reference/functions

* add base collection

* fix TOC

* remove permalink

* update linkcheckWrapper

* Empty-Commit

* Apply Chainlink Node docs updates

* Delete BIF docs

* Rename FunctionsClient and Functions pages

* Refresh package-lock.json

* Redirects

* Add .astro/ to .gitignore

* Update test-tokens.mdx

Remove redundant word

* Network rename (smartcontractkit#1431)

* Network rename

* Fix typo EOA address by EOA in CCIP page

* Tutorial template (smartcontractkit#1425)

* Update tutorial templates based on feedback

* Architecture diagram example

* content -> frontmatter

---------

Co-authored-by: aelmanaa <[email protected]>
Co-authored-by: Dwight Lyle <[email protected]>
Co-authored-by: Yacine Benichou <[email protected]>
* sections collapse

* left sidebar collapses

* improve style

* flatteningArray -> flattenChildren

* CSS changes

---------

Co-authored-by: Dwight Lyle <[email protected]>
dwightjl and others added 5 commits August 8, 2023 20:17
* Add feed notice capability

---------

Co-authored-by: Yacine Benichou <[email protected]>

* Fix typescript issues

* Edits

* More edits not included in previous commit

* Updates

* Fix typo in threshold variable name

---------

Co-authored-by: Yacine Benichou <[email protected]>
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* change to absolute imports

* update imports

* update supportedNetworkShortcut

* Add capability for feed notices (smartcontractkit#1440)

* Add feed notice capability

---------

Co-authored-by: Yacine Benichou <[email protected]>

* Fix typescript issues

* Edits

* More edits not included in previous commit

* Updates

* Fix typo in threshold variable name

---------

Co-authored-by: Yacine Benichou <[email protected]>

* fix import

---------

Co-authored-by: Dwight Lyle <[email protected]>
Co-authored-by: Yacine Benichou <[email protected]>
* Update chain metadata

* Update scripts/reference/chains.json
@simkasss simkasss changed the base branch from move-chain-data to main August 8, 2023 17:22
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