Commit Graph

27 Commits

Author SHA1 Message Date
Shredder 8eb73f1fd9
chore: update config and commands to deploy to goerli (#195)
* chore: update config and commands to deploy to goerli

* feat: bring changes from other deployment branches into this branch. Including sepolia configs.

* chore: update ci to copy .env

* chore: add goerli api to .env.example.

* chore: update on UI readme

* feat: apply the requested changes

* chore: change verify-contract to verify.js and remove the other file

* chore: make the final requested changes on config files and readme.

* fix: missed comma

* docs: add the "setting contract address and abi" section to the README file in the UI directory

---------

Co-authored-by: janison <jsonsivar@gmail.com>
Co-authored-by: Camila Sosa Morales <camisosa@fleek.co>
2023-04-10 11:33:47 -04:00
Felipe Mendes 0754606089
fix: UI graphql quries (#205)
* fix: graphql codegen rename Transfer entity to fix composition merge

* fix: scroll triggering refetch with query error

* fix: skip getENSNamesDocument when address is undefined
2023-04-04 15:24:43 -03:00
Camila Sosa Morales 33d1d53118
chore: remove storybook (#192) 2023-03-27 17:40:20 -03:00
Felipe Mendes d6f8d047c8
feat: review linting for all subfolders (#169)
* chore: setup root eslint

* fix: fix .eslintignore to root folder
2023-03-13 10:21:54 -03:00
Camila Sosa Morales 13a9a1e992
feat: UI toast component (#160)
* chore: install radix toast

* feat: add toast component

* chore: display toast column

* chore: remove commented lines

* chore: fix animation
2023-03-10 09:04:30 -05:00
Felipe Mendes 099e6d76d6
chore: UI polyfills for build command (#165)
* chore: fix vite plugin for polyfills

* chore: add prod script command to run production version

* refactor: hash router to run on ipfs
2023-03-08 17:56:36 -03:00
Camila Sosa Morales 9db81d2025
chore: UI setup subgraph querying (#152)
* wip: querying with graph-client and apollo

* feat: fetching last nfts minted with basic pagination

* chore: add .graphclient folder to gitignore and update readme

* chore: teste pagination

* chore: add create ap button in NFA

* chore: remove unsued files

* fix: fix CI

* Update test.yml

* chore: add config to handle graphclient imports

* chore: update queries

* chore: update list nfa views

* chore: add graphql folder. remove unused env variable
2023-03-08 15:28:16 -05:00
Camila Sosa Morales e5d28251c4
feat: UI integrate ens dropdown (#143)
* chore: get ens names from address

* wip: ens validation

* wip: combobox with option to add new items

* chore: add trim words

* chore: change order steps

* chore: add comments

* chore: change components test view

* chore: remove unused file

* chore: add alchemy-sdk as prod dependency

* chore: pr comments
2023-03-07 08:03:53 -05:00
Camila Sosa Morales e3a8ae2429
fix: ck fix other wallet connections (#142)
* fix: fix for allow other wallet connections

* chore: fix dev server polyfills

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-02-28 10:58:20 -05:00
Felipe Mendes b957e87a83
feat: UI mint integration (#139)
* feat: add base hook for fleekerc721

* feat: add test view for minting using wagmi

* refactor: from hook to context creation

* refactor: work on provider configs

* feat: append mint transaction to mint view

* chore: add comments

* feat: add nfa price estimation

* fix: remove forgotten logs

* fix: repo and branch url creating and variable misspells

* fix: accidently removed yarn.lock file

* fix: misspelled repositores

* chore: add disclaimer comment at mint-test view

* refactor: remove wallet store
2023-02-27 11:57:44 -03:00
Camila Sosa Morales 70df262d94
feat: UI connect kit integration (#136)
* chore: connectkit poc

* feat: add connection on wallet step;

* chore: add info on readme and new env variable

* chore: add continue button if the user is connected

* chore: added constanst env file

* Update ui/src/views/mint/wallet-step/connect-wallet-button.tsx

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>

* chore: rename env variables. remove unneccesary files. add connect button

* feat: create providers folder to keep clean code

* ed

* chore: add TODO comment

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-02-23 14:54:01 -05:00
Camila Sosa Morales 964c1a651f
feat: integrate firebase for github login (#132)
* wip: form for mint

* style: change bgcolor for disabled button

* fix: add key to list items

* styles: add some spacings and border radius

* refactor: change type file and move file validation to form

* feat: add minted nft card. add wallet step

* refactor: add mint card header to not repeat code

* styles: add border radius to svg

* styles: fix styles on mint view

* style: fix height mint view

* fix: fix save repository config

* chore: changes based on PR review

* wip: connecting with gh login

* chore: add env variables

* wip: gh login wiht auth0

* feat: add gh login integration

* chore: remove web3auth packages

* doc: add info on readme to know how to get firebase credentials

* feat: add spinner component (#133)

* fix: fix for polyfills

* refactor: remove loading state cause it was causing a loop

* chore: change placeholder

* feat: add constants env file

* fix: fix polyfills

* refactor: implement async thunk for github login

* wip: add async thunk for github api calls

* feat: implemented async thunk for github api calls

* chore: add promise.all to improve api call performance

* fix: fix console log error
2023-02-23 13:38:51 -05:00
Camila Sosa Morales 33ebac510c
chore: dropdown component (#90)
* wip: add dropdown component

* wip: added search functionality on dropdown

* chore: dropdown component with properties

* style: set width pase on parent

* refactor: remove old dropdown component and add headless ui

* chore: remove unsued radix component dependency

* chore: add yarn.lock on root fodler

* refactor: remove old folders from root project

* chore: add import on index

* chore: apply PR review
2023-02-08 09:10:59 -05:00
Felipe Mendes 2b030f60b0
feat: svg preview test screen (#88)
* feat: add svg test screen

* chore: add svg test comments
2023-01-27 07:50:43 -03:00
Camila Sosa Morales 0553bef914
chore: remove chakra (#86)
* refactor: remove chakra

* refactor: remove stitches folder
2023-01-26 16:02:08 -05:00
Camila Sosa Morales 75a6de5ac7
chore: button component (#81)
* chore: add button component with storybook

* chore: add stories button

* refactor: remove github custom logo

* fix: fix build

* chore: changes based on PR review
2023-01-23 15:01:02 -05:00
Camila Sosa Morales 95d15582b2
chore: add tailwind and stitches (#75)
* styles: add stitches

* style: add tailwaind

* style: remove sizes

* chore: add storybook with sample story

* refactor: remove storybook eslint

* refactor: add tailwind with vite

* fix: fix storybook script

* style: dark mode

* style: add google fonts

* style: add radix colors

* style: add radix library

* refactor: remove light colors, not used for now

* chore: add comment to remove story example
2023-01-18 11:41:08 -05:00
Camila Sosa Morales 66e041f63f
refactor: UI improvements (#67)
* feat: add pointer on SiteCard

* fix: don`t show ens when it`s empty

* style: add icons on wallet button

* styles: align home button on same splace in all views

* style: add tooltip on attributes card

* chore: install react-icons

* feat: add paste feature on owner address field

* style: add icon of connected wallet

* style: add icon metamask

* fix: fix error message on owner address field

* chore: remove console.log

* style: add colors theme

* refactor: refactor icons. Create icon component

* refactor: remove function from component

* fix: fix husky precommit to add jsx and tsx files

* refactor: add metamask icon

* fix: fix import

* chore: remove metamask svg from assets
2023-01-11 16:34:05 -05:00
Felipe Mendes 6c901a6001
Release/0.0.1 fixes (#60)
* Update LICENSE

* Update README.md

* Update local_deploy.js

* Update FleekERC721.sol

* fix: mumbai deploy args

* fix: fix comments release (#61)

Co-authored-by: Janison Sivarajah <jsonsivar@gmail.com>
Co-authored-by: Camila Sosa Morales <camisosa@fleek.co>
2022-12-22 14:21:00 -03:00
Felipe Mendes 8b88cf2881
feat: UI metamask integration (#41)
* feat: add redux and metamask slice

* refactor: move from metamask to generic wallet using ethers

* feat: add wallet button base

* feat: add getContract function and mint functionality

* refactor: move functions to ethereum file

* feat: wallet menus and disconnect function

* refactor: Ethereum object typings

* feat: add FleekERC721 contract interaction abstraction

* refactor: remove token detail fetch mock using

* refactor: add ethereum mint function to mint site component

* feat: add wallet initialize

* wip: add signature for lastTokenId function

* feat: integrate list of tokens

* refactor: mint params construct

* fix: global window.ethereum type definition

* fix: remove console log

* fix: remove todo comment

* fix: list view items displaying
2022-12-20 14:24:41 -03:00
zoruka 4dd1442e9d chore: merge develop 2022-12-17 09:03:08 -03:00
Felipe Mendes dc2f8849c2
chore: add test workflow (#19)
* chore: add test workflow

* chore: upgrade package lock

* chore: add ui tests workflow job

* chore: add compile and build steps for test workflow

* chore: remove ui test command to run just build on workflow

* chore: fix missed conflict

* chore: add foundry installation on test workflow

* fix: wrong sintax breaking test

* chore: set foundry version in workflow

* fix: foundry lib version
2022-12-16 17:51:54 -03:00
Felipe Mendes 4836dd0436
chore: precommit hooks (#18)
* chore: add husky and lint-staged

* chore: add postinstall script

* chore: add prepush test hook

* chore: add skip tests flag

* chore: remove skip tests flag

* chore: fix format command to verify json files
2022-12-16 14:57:49 -03:00
Camila Sosa Morales 6451208871
feat: minted site detail (#36)
* feat: add detail view. add home button component. add loading component

* feat: add tile info component

* style: change bg color and front family

* refactor: remove old file

* style: new style for detail view

* chore: fix comments

* refactor: change SiteNFTDetail type

* refactor: PR comments changes

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2022-12-14 18:28:15 -03:00
Camila Sosa Morales 09d24f9723
feat: mint site view (#15)
* wip: add routes

* refactor: add config for hot reload con vite.config.js

* wip: added chakra-ui. start with the form

* feat: add formik for form validation

* feat: added validation for addresses

* feat: add success/failure message. add onSubmit handler

* feat: add setSubmitting false

* feat: update metadata fields

* wip: add mocked function

* feat: mocked onSubmit funciton

* Apply suggestions from code review

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>

* Apply suggestions from code review

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>

* refactor: PR review changes

* feat: add validation for image urls. remove controller address

* reafctor: refactor fields validation

* refactor: create input field component

* style: add responsive styles. change bg color and font. change back button

* refactor: apply PR comments

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2022-12-13 09:32:55 -03:00
Camila Sosa Morales 315672243b
UI 11: refactor vite.config.json (#20)
* refactor: refactor vite.config.json and tsconfig.json. Removed tsconfig.node.json. Added files to gitignore

* refactor: changes requested from review
2022-12-05 15:15:21 -03:00
Camila Sosa Morales c3f4030173
feat: boilerplate for UI (#14)
* feat: boilerplate for UI

* refactor: rename files. change default export for named export
2022-12-01 10:25:30 -03:00