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

[Epic] Custom contracts #199

Merged
merged 30 commits into from
Nov 9, 2023
Merged

[Epic] Custom contracts #199

merged 30 commits into from
Nov 9, 2023

Conversation

henrypalacios
Copy link
Collaborator

@henrypalacios henrypalacios commented Sep 28, 2023

  • Adding new /contracts route
  • Adding new items on contract builder options
  • Adding contracts table
  • Adding import contract form

@vercel
Copy link

vercel bot commented Sep 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
polkadot-contract-wizard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2023 4:39pm

@henrypalacios henrypalacios self-assigned this Sep 28, 2023
@henrypalacios henrypalacios changed the title Adding contracts route [Epic] Custom contracts Sep 28, 2023
* add custom option on home

* add HomeButtonHorizontal variant

* refactor CustomContract component

* fix layout

* add dashboard page and menu

* rm contract form dashboard menu and add icon

* Dashboard --> Contracts

* change folder name to contracts

* img uppercase

* add styles refactor
henrypalacios and others added 2 commits October 5, 2023 10:50
* add contract table in contracts page

* add share contract modal

* add view when no wallet is connected, refactor share modal

* fix lint error

* fix pr comments

* fix pr typos

* remove duplicated tittle

* replace textfield component

---------

Co-authored-by: Agustín Longoni <[email protected]>
Co-authored-by: Agustín Longoni <[email protected]>
* add last contracts table

* add mt

* add network badge component

* move view all contract link
* add gap to next/back buttons

* add custom contract basic page

* add dropzone component

* working on drag and drop logic

* fix error

* custom --> custom-contract route

* Fixing custom page

* Adding codeHash comparison

* Fixing ts definition errors

* Checking validation hash

* Display message when contract is imported

* Fix converted initialSupply

---------

Co-authored-by: Henry Palacios <[email protected]>
* add contract table in contracts page

* add share contract modal

* add view when no wallet is connected, refactor share modal

* fix lint error

* fix pr comments

* fix pr typos

* add edit option

* add contract table edit name and delete

* refactor code and remove item from table when is hidden

* add missing UserContractDetails attribute

* add dropdown filter and fix table re-render

* rename file and fix imports

* remove show test in contract widget, add missing custom typos

* add custom missing properties

* fix pr comments

* add EmptyString typo

---------

Co-authored-by: Agustín Longoni <[email protected]>
* fix infinite contract table loop

* update yarnlock

* fix problem with typos
* fix table size

* change save icon

* tablehead caption

* fix layout

* add MainContainer component - layout

* fix breackpoint sizes

* add tooltip on contracts page

* add tooltip on contract home

* add isoDate format

* add docstring
* add contract detail page

* accordion and tabs components

* layout improvements

* refactor on accordion and add contract address

* accordion styles

* fix styles

* add tab logic

* addn styles

* add icons

* add tab logic

* wording

* add networkbadge
* add input lenght validator and message

* fix problem with loading state

* add default name for empty contracts names

* fix problem with listing date
* Fix contract_name input

* Create custom contract fn

* Merging the loop solution in home

* Refactoring

* Fixing name typo error

* Adding toast notification

* Fixing newDeploy on Step3

* Parsin Record to json string

* fix layout

* Fixing custom Token img on contracts table

* Adding useForm

* Fixing deploy psp contracts

* Fix typo on Routes

---------

Co-authored-by: Agustín Longoni <[email protected]>
* fix minnor bug

* fix an error with the list of contracts when changing accounts

* fix problem with updates, readd listener
* add fixed back and next buttons

* add input styles

* add dropzone border color

* fix back button styles

* fix back and next container

* fix form colors and add autoFocus

* rmv unused component

* change position
* Adding Redirection

* Removing old folder

* Fixing yarn lock

* skeleton improvements

* fix layout and add isoDate tooltip

* remove maincontainer

* CI errors'

* Renderazing dynamic page

* Avoid use network con ContractDetail

* Avoid use network con ContractDetail again

* Trying fix network error

* Removing contract API

* Removing Domain on apiBaseUrlPath

* Using basePath based on the environment

* Removing console

* Using VERCEL_URL

* Trying another order

* Using URL_params instead of dynamic URL

* Getting metadata when not is downloaded

* Adding Redirection with uuid after create contract

---------

Co-authored-by: Agustín Longoni <[email protected]>
* add json metadata to actions

* move contract table to homepage

* add Last contract titte and network

* improve no contracts message

* move table to components

* table refactor

* fix errors

* clean code

* remove old documentation and add new external documentation

* remove doc tests

* refactor WIP

Co-authored-by: Henry Palacios <[email protected]>

* Donwload metadata on contracts table

* Fix typo on useDonwloadSource

* Improve the downloaded file name

---------

Co-authored-by: Andre Neyra <[email protected]>
Co-authored-by: Henry Palacios <[email protected]>
Co-authored-by: Henry Palacios <[email protected]>
* Adding validatino when no connected

* AutoFocus on editContractName
* Get Sorted methods

* Adding Inputs to form on each method

* Use registry instead of contract Promise

* Rename files

* Fixing typod error files

* Rollback eslint
@henrypalacios henrypalacios merged commit a1aa47e into develop Nov 9, 2023
3 checks passed
@henrypalacios henrypalacios deleted the epic-custom-contracts branch November 9, 2023 16:39
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.

3 participants