use-ink / contracts-ui

Web application for deploying wasm smart contracts on Substrate chains that include the FRAME contracts pallet
https://contracts-ui.substrate.io/
GNU General Public License v3.0
61 stars 44 forks source link

chore: collocation and updated dir struct #515

Closed gaboesquivel closed 8 months ago

gaboesquivel commented 10 months ago
./src
├── app ........................ main app component
├── config ..................... app config ( constants ) 
├── context .................... global context
├── hooks ...................... global hooks
├── index.tsx .................. entry point
├── layout ..................... structural components
├── lib ........................ pure function utilities
├── pages ...................... route components
├── services ................... websockets, web storage, and api queries.
├── shared ..................... shared components
├── styles ..................... css ( can be collocated too)
└── types ...................... global types

depends on #516

Note: I realized I had the prettier plugin turned on so there are some places where it applied css class rearrangements. The best to review this pr is cloning locally, explore the files and check the imports.

netlify[bot] commented 10 months ago

Deploy Preview for contracts-ui ready!

Name Link
Latest commit 48d34c88eac08bf853302b551a692345ae56e93d
Latest deploy log https://app.netlify.com/sites/contracts-ui/deploys/64f72e989edcc200082bef49
Deploy Preview https://deploy-preview-515--contracts-ui.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

cypress[bot] commented 10 months ago

Passing run #240 ↗︎

0 61 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

chore: review imports
Project: Contracts UI Commit: 48d34c88ea
Status: Passed Duration: 04:14 💡
Started: Sep 5, 2023 1:38 PM Ended: Sep 5, 2023 1:43 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.