Commit Graph

237 Commits

Author SHA1 Message Date
Janison Sivarajah a41f2b8a4b
Merge pull request #226 from fleekxyz/develop
Release v0.0.6 to main
2023-04-20 11:23:10 -04:00
Felipe Mendes 795164b4aa
feat: add verifier input on mint form (#213)
* fix: ethereum tx provider hook typing

* feat: add base code for verifier dropdown select

* feat: fetch verifiers from subgraph

* refactor: use combobox for selecting verifier
2023-04-20 10:31:26 -03:00
Felipe Mendes 3fbbb08cf9
test: add exception for address 0 on fuzz tests (#234) 2023-04-20 10:10:47 -03:00
Shredder eb2a765803
test: remove all matchstick tests (#233)
* test: remove all matchstick tests.

* test: remove testing step in the subgraph workflow.
2023-04-19 19:51:23 +03:30
Camila Sosa Morales 3da5666f09
style: fix combobox zIndex (#228) 2023-04-17 15:07:28 -03:00
Felipe Mendes 5ae09105c0
feat: UI create functionality to resolve address (#227)
* feat: add ENS slice

* feat: add resolved address hook

* feat: add resolved address component
2023-04-17 14:23:17 -03:00
Felipe Mendes 9934ad1cfd
feat: UI refactor on dropdown for better customization (#216)
* wip: combobox refactor

* refactor: new combobox styling

* refactor: rename new combobox

* wip: refactor combobox factory

* refactor: new combobox single component

* wip: refactor form combobox

* refactor: github branches typing

* refactor: ens field form combobox

* fix: readd removed branch icon

* refactor: replace nfa picker combobox

* refactor: remove old combobox

* refactor: rename combobox factory

* fix: remove leftover combobox code

* refactor: query filter by keys

* fix: create ap form title

* fix: max combobox options height

* feat: add chevron on combobox field

* refactor: optmize elements generation structure

* chore: add todo comments for things thats going to change

* fix: code comment addressed on pr
2023-04-17 11:40:31 -03:00
Felipe Mendes fdedc18b02
fix: linting issues on contracts folder (#212) 2023-04-17 11:27:39 -03:00
Camila Sosa Morales a571dabe6c
refactor: refactor site deploy (#225) 2023-04-14 14:26:00 -03:00
Camila Sosa Morales f51269b6a3
fix: add alchemy keys missinng (#222)
* fix: add alchemy keys missinng

* style: fix combobox index

* Update ui/src/store/features/github/async-thunk/login.ts

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

* style: remove zindex

* chore: remove duplicate toast

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-04-13 11:44:55 -03:00
Camila Sosa Morales c44efc9c53
style: change mint form fields order (#214) 2023-04-12 15:05:55 -03:00
Camila Sosa Morales 440a80752a
feat: CI/CD xyz (#206)
* feat: add deploy site config

* feat: add CI deploy xyz

* chore: add build ui folder on github workflow

* fix: fix workflow

* fix: fix build UI step

* chore: added remove comment

* feat: depoloy site on xyz when push to develop

* chore: add env varibles

* chore: remove main branch for CI/CD

* chore: change variables for secrets

* chore: make explore landing page
2023-04-12 13:48:55 -03:00
Shredder aa98d91c7a
style: fix eslint errors for subgraph (#218)
* style: fix eslint errors.

* fix: remove yarn-error.log from serverless dir.
2023-04-12 19:37:25 +03:30
Camila Sosa Morales c4ced2ff93
feat: sorting on explore view (#220)
* chore: add orderBy params on query

* feat: add sorting on explore view
2023-04-12 12:56:38 -03:00
Camila Sosa Morales 361855946a
chore: refactor style combobox (#209)
* refactor: refactor combobox based on designs

* style: combobox with search separated
2023-04-12 11:03:15 -03:00
Camila Sosa Morales 09e50adefc
feat: UI search on nfas list (#211)
* wip: created context for explore view

* feat: add search to context to filter on query

* feat: add search value to query

* feat: add search by name, external URL and ens

* feat: search by name

* chore: remove comments

* chore: rename files explore view (#217)

* chore: rename files explore view

* Update ui/src/views/explore/explore-list/results-search.tsx

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

* chore: rename nfa search fragment

---------

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

* chore: update setPageNumber

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-04-11 17:22:34 -03:00
Camila Sosa Morales e9275ed04f
chore: update graph url (#215) 2023-04-10 18:38:01 -03:00
Shredder ef2645731b
chore: update the subgraph config & deploy the latest version (#179)
* chore: update the address of the current proxy

* refactor: update contract address, network, and ABI file path in subgraph.yaml
2023-04-10 21:21:11 +03:30
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 df3e59f8a3
refactor: drip stitches exports (#210) 2023-04-10 11:34:06 -03:00
Felipe Mendes 389d6511b3
refactor: change _billings from public to private (#207) 2023-04-05 16:41:09 -03:00
Camila Sosa Morales 70d1e28cf2
feat: UI add base theme black color to replace (#204)
* chore: add black color to stitches theme

* chore: add list-nfa to index

* Update ui/src/components/nfa-card/nfa-card.styles.ts

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

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-04-05 15:56:00 -03:00
Camila Sosa Morales a4542d7442
chore: remove unused ref (#203) 2023-04-05 15:55:47 -03:00
Felipe Mendes c1af8df24c
bug: UI colors not showing up on firefox for nfa (#208)
* fix: color logo id without hashtag

* feat: remove image from preview when the load fails

* fix: dripStitches typing

* refactor: move SVGPreview to components folder with NFAPreview name

* fix: ens address variable
2023-04-05 15:52:08 -03:00
Felipe Mendes 83cd36dfc3
feat: design ens verification flow (#193)
* wip: add base solidity functions to try ens validation

* chore: add hardhat fork setup with env variable

* wip: setup ens verification for FleekERC721

* wip: add ens namehash generation

* chore: gas report setting

* feat: add ens verification on setTokenENS function

* test: hardhat transfer ens owner to set new ens

* test: fix foundry tests to enable ens validation

* refactor: change back ens to calldata and split out a public function for namehash testing

* refactor: move FleekENS.sol to util folder

* test: add ens validation tests for not owner attempts

* chore: add mainnet api key env in ci

* chore: fix .env.example

* fix: remove extra unused file
2023-04-05 11:48:56 -03:00
Felipe Mendes 2225b301ff
chore: prevent direct calls to implementation contract (#194)
* feat: disable initializers and set paused state for implementation contracts

* test: add deploy guarantee tests for interaction with implementation contracts

* chore: add buildId and implementationAddress to deployStore script

* test: reset initialized state on store of deployed contract for foundry tests

* test: optmize deployUninitialized function

* test: test if is possible to mint in implementation contract
2023-04-04 16:19:06 -03:00
Janison Sivarajah 9e202f0a1f
feat: sc 121 - serverless boilerplate (#140)
* chore: init for redoing aws stack base

* chore: fix tsc build errors

* chore: remove comment, remove schema verif that was causing error, add context

* chore: replace serverless.ts with serverless.yaml

* chore: rename serverless file correctly

* chore: fix deployment errors

* chore: add serverless-offline

* chore: fix bug executing function

* chore: readme for aws

* chore: rename to kebab-case and add eslint rule for it

* chore: add aws cred link to serverless readme
2023-04-04 14:42:51 -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
Felipe Mendes 2a9378fa52
feat: explore pagination view and loading skeletons (#202)
* feat: add skeleton styles

* feat: add nfa card skeleton

* refactor: fetch nfas with single list

* refactor: fetching nfa list backwards until no more data

* feat: add end of scroll fetch

* fix: nfa card skeleton sizing

* feat: add threshold to scroll end hook
2023-04-04 10:12:33 -03:00
Camila Sosa Morales d3f00fd291
chore: fix eslint ui errors (#201)
* chore: fix eslint errors ui

* chore: fix eslint errors

* chore: fix develop eslint errors
2023-04-03 17:02:32 -03:00
Felipe Mendes a2b8c4f7fd
feat: UI create card list component (#200)
* feat: add nfa card base structure

* feat: add needed data on lastNFAsPaginated query

* fix: nfa preview for multiple colors at the same time

* feat: setup nfa card style

* feat: apply NFAcard in NFAList
2023-04-03 11:26:42 -03:00
Felipe Mendes 779cf3bb14
feat: contracts add verified field and allow verifier (#184)
* feat: add token verified flag

* feat: add verified flag on tokenURI

* feat: add isTokenVerified function

* test: add foundry tests for token verified

* test: add hardhat tests for token verified
2023-03-31 16:13:34 -03:00
Camila Sosa Morales 73d48a0e4f
chore: fix link create AP button (#199) 2023-03-31 14:38:22 -03:00
Camila Sosa Morales c10c59ae24
feat: UI create explore view skeleton (#197)
* wip: added header for explore view

* chore: add skeleton for explore view

* chore: add dropdown variation

* style: align dropdown list
2023-03-31 12:33:30 -03:00
Felipe Mendes f74c8bb569
chore: remove ens storage feature (#198) 2023-03-30 15:55:06 -03:00
Camila Sosa Morales f3f35bb19b
feat: UI simple create ap view (#191)
* feat: add create app context

* chore: add stepper and nfa picker

* chore: crete step component

* chore: fix create AP text

* chore: update query to list NFAs

* chore: changes PR

* feat: handle error on create AP

* chore: add message error when create AP

* chore: add form context

* Update ui/src/views/access-point/create-ap.form-body.tsx

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

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-03-30 15:39:17 -03:00
Camila Sosa Morales ac618f9a32
feat: form field validations (#190)
* feat: add form field validation

* chore: add form on repo configuration

* wip: setting default branch

* chore: set default branch

* chore: form field validation workig with some fix needed

* chore: fix change first github step

* feat: set default branch

* feat: validation for textarea. fix styles on select repository

* chore: PR comments changes

* chore: remove constant

* chore: added comments

* chore: change combobox input props

* chore: remove ens validation since we dont allow custom ens

* chore: remove isEns

* refactor: fetch ens list from ens graph
2023-03-29 18:13:22 -03:00
Camila Sosa Morales 9df1791c72
feat: UI color picker component (#189)
* wip: color picker styled

* chore: color picker

* style: alight color picker

* style: align color picker
2023-03-27 17:53:02 -03:00
Camila Sosa Morales 33d1d53118
chore: remove storybook (#192) 2023-03-27 17:40:20 -03:00
Camila Sosa Morales d037565bfb
feat: navbar (#183)
* feat: add navbar

* style: change bg color navbar

* chore: connect wallet button custom. added navigation links

* style: change list nfa styles

* style: list nfas style change

* refactor: add forward-styled-ref and replace button creation (#188)

* choer: update import

* style: create fleek loco custom icon

* style: changes based on new designs

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-03-27 17:23:58 -03:00
Janison Sivarajah e8468b8e83
Merge pull request #182 from fleekxyz/develop
release: developer pre-release v0.0.4
2023-03-17 17:53:16 -04:00
Shredder 4682be82e9
refactor: metadataUpdate handlers in the subgraph (#187)
* feat: update newMint and add verifier and apAutoApproval, update subgraph accordingly.

* remove: bugged tests.

* refactor: update metadataUpdate handlers to match the new interface.
2023-03-17 19:43:43 +03:30
Shredder 2eca4be8f0
feat: update subgraph and its new mint handler + test refactor (#186)
* feat: update newMint and add verifier and apAutoApproval, update subgraph accordingly.

* remove: bugged tests.
2023-03-17 19:08:17 +03:30
Felipe Mendes ce71790c17
feat: contract when minting can set verifier (#164)
* feat: add token verifier token data and requirement

* feat: add verifier argument on mint function

* test: fix current foundry tests

* test: fix current hardhat tests

* test: add test for non token verifier with verifier role

* fix: mint signature on hardhat tests

* refactor: single mint function

* fix: overloaded mint calls on javascript side
2023-03-16 11:23:50 -03:00
Camila Sosa Morales d30fcc35cd
style: fix bg color due to bad conflicts resolved (#178) 2023-03-15 10:30:16 -05:00
Camila Sosa Morales 2c0cfd9b9b
chore: final mint step and share (#174)
* chore: final mint step and share

* chore: fix comments PR

* Update ui/src/views/mint/mint-stepper.tsx

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

* Update ui/src/views/mint/mint.context.tsx

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

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-03-14 07:44:25 -05:00
Camila Sosa Morales 7985bb35bb
chore: UI implement changes feedback (#173)
* style: combobox add cursor pointer property

* chore: make repository row clickable

* style: fix scroll on repositories list

* chore: select main/master by deafult branch

* chore: add required icon on label form and max characters length

* Update ui/src/components/core/combobox/combobox.tsx

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

* chore: remove commented line

* chore: replace Form.MaxLength

* styles: fix styles for combobox icon

* chore: default branch based on repo config

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-03-13 15:56:17 -05:00
Shredder 5c43ebe0d0
feat: add handler for burns to the transfer handler [subgraph] (#162)
* feat: add handler for burns to the transfer handler

* fix: update transfer.ts to include the changes.
2023-03-14 00:22:37 +03:30
Shredder 3414a96c65
chore: separate handlers by event type [subgraph] (#161)
* chore: separate handlers by event type

* fix: export handlers from the mapping file.
2023-03-14 00:18:08 +03:30
Camila Sosa Morales 9f97ce2ad1
chore: UI clean up console logs (#175)
* chore: add logger

* chore: remove svg-test folder

* chore: remove console logs and add toast
2023-03-13 12:52:04 -05:00