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

import custom deployment #245

Merged
merged 17 commits into from
Oct 26, 2023
Merged

Conversation

henrypalacios
Copy link
Collaborator

@henrypalacios henrypalacios commented Oct 23, 2023

  • Fixing contract_name input disabled after clean field.
  • Creating custom deployment on DB
  • Adding Backend Version API on Drawer

@vercel
Copy link

vercel bot commented Oct 23, 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 Oct 26, 2023 9:49pm

@henrypalacios henrypalacios changed the base branch from develop to epic-custom-contracts October 23, 2023 20:54
@henrypalacios henrypalacios merged commit c69e76a into epic-custom-contracts Oct 26, 2023
2 checks passed
@henrypalacios henrypalacios deleted the import-custom-deployment branch October 26, 2023 22:36
This was referenced Oct 27, 2023
@henrypalacios henrypalacios mentioned this pull request Nov 9, 2023
henrypalacios added a commit that referenced this pull request Nov 9, 2023
* Adding contracts route

* Add Custom Contracts and Contracts section (#195)

* 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

* Add Contract Table / Share Modal (#217)

* 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 (#229)

* add last contracts table

* add mt

* add network badge component

* move view all contract link

* fix missing type error

* Add import form section (#201)

* 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]>

* Feature/ Contrat table edit name and delete contract (#232)

* 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 (#244)

* fix infinite contract table loop

* update yarnlock

* fix problem with typos

* Contracts UI + Layout fixes (#238)

* 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

* Contract details view layout (#231)

* 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 disabled styles

* Revert "Contract details view layout (#231)"

This reverts commit 8979c19.

* Fix minnor bugs in contracts page table  (#246)

* add input lenght validator and message

* fix problem with loading state

* add default name for empty contracts names

* fix problem with listing date

* import custom deployment (#245)

* 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 custom contracts bugs

* fix contract table rerender bug

* Fix minnor bugs (#255)

* fix minnor bug

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

* fix problem with updates, readd listener

* Form styles and layout fixes (#247)

* 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

* load custom contract (#248)

* 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]>

* Tables UI Improvements + New Documentation (#256)

* 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]>

* connection validations (#257)

* Adding validatino when no connected

* AutoFocus on editContractName

* interaction methods (#265)

* Get Sorted methods

* Adding Inputs to form on each method

* Use registry instead of contract Promise

* Rename files

* Fixing typod error files

* Rollback eslint

---------

Co-authored-by: Agustín Longoni <[email protected]>
Co-authored-by: AndrN <[email protected]>
Co-authored-by: Agustín Longoni <[email protected]>
Co-authored-by: Henry Palacios <[email protected]>
henrypalacios added a commit that referenced this pull request Nov 13, 2023
* Adding contracts route

* Add Custom Contracts and Contracts section (#195)

* 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

* Add Contract Table / Share Modal (#217)

* 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 (#229)

* add last contracts table

* add mt

* add network badge component

* move view all contract link

* fix missing type error

* Add import form section (#201)

* 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]>

* Feature/ Contrat table edit name and delete contract (#232)

* 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 (#244)

* fix infinite contract table loop

* update yarnlock

* fix problem with typos

* Contracts UI + Layout fixes (#238)

* 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

* Contract details view layout (#231)

* 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 disabled styles

* Revert "Contract details view layout (#231)"

This reverts commit 8979c19.

* Fix minnor bugs in contracts page table  (#246)

* add input lenght validator and message

* fix problem with loading state

* add default name for empty contracts names

* fix problem with listing date

* import custom deployment (#245)

* 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 custom contracts bugs

* fix contract table rerender bug

* Fix minnor bugs (#255)

* fix minnor bug

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

* fix problem with updates, readd listener

* Form styles and layout fixes (#247)

* 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

* load custom contract (#248)

* 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]>

* Tables UI Improvements + New Documentation (#256)

* 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]>

* connection validations (#257)

* Adding validatino when no connected

* AutoFocus on editContractName

* contract detail design + share functionality

* fix imports

* move contract-details to view

* add edit contract name and download logic

* fix build problem

* fix deployed by address and edit button container

* update contractDetail

* fix edit name bug

* fix tab padding

* add action container

* fix table head aligmnet

* decrease tabs size

---------

Co-authored-by: Henry Palacios <[email protected]>
Co-authored-by: AndrN <[email protected]>
Co-authored-by: Henry Palacios <[email protected]>
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.

2 participants