Commit Graph

274 Commits

Author SHA1 Message Date
Camila Sosa Morales 3a4cd5fa7d
Merge pull request #256 from fleekxyz/feature/sc-838/ui-finish-indexed-nfa-view-after-design-changes
refactor: UI indexed nfa view design changes
2023-05-16 14:44:59 -03:00
Camila Sosa Morales 48755af8c1 style: fix styles PR review 2023-05-16 14:44:15 -03:00
Camila Sosa Morales 540eabf4ff style: fix mobile designs 2023-05-16 12:19:25 -03:00
Camila Sosa Morales 7475a62548
Merge branch 'develop' into feature/sc-838/ui-finish-indexed-nfa-view-after-design-changes 2023-05-11 15:53:28 -03:00
Camila Sosa Morales d004890e88 styles: responsivness on NFA detail page 2023-05-11 12:15:42 -03:00
Camila Sosa Morales afba5e4d61 chore: remove debugger 2023-05-11 11:39:09 -03:00
Camila Sosa Morales ca185c0f36 feat: infinite scroll for hosted NFAs list 2023-05-11 11:38:03 -03:00
Camila Sosa Morales 346d4efc34
fix: fix card header (#257) 2023-05-10 19:22:48 -03:00
Camila Sosa Morales 698238c9b9 chore: re-organize fragments indexed nfa view 2023-05-10 15:32:46 -03:00
Camila Sosa Morales 36223a7620 chore: nfa icon error image 2023-05-10 12:11:21 -03:00
Camila Sosa Morales 349cf57976
feat: UI show the total nfas (#252)
* feat: show total tokens

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

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

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

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

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-05-10 11:44:51 -03:00
Camila Sosa Morales cda25b9a3b
feat: UI refactor card header (#250)
* reactor: refactor card header

* feat: custom card component

* chore: animation on create ap success card

* chore: remove old file

* chore: global responsiveness (#251)

* Update ui/src/components/card/card.tsx

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

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-05-10 11:44:40 -03:00
Camila Sosa Morales d2bad871c3
chore: UI transition when wallet is already connected (#177)
* chore: wallet auto transition when already connected

* chore: display connected address

* chore: skip first step if wallet connected

* chore: remove useeffect from mint stepper
2023-05-10 11:44:19 -03:00
Camila Sosa Morales 130ef2589c style: radial gradient background 2023-05-09 17:21:03 -03:00
Shredder 70f2df4210
feat: verifications and mongo write operations (#253)
* integration

* refactor: rename the mintId parameter, add serverless offline.

* docs: update documentation readme.

* feat: add the create call for handling new mint info.

* feat: add build record db, write the signed transaction call to the contract, query builds in the mint handler.

* feat: new prisma schema.

* feat: add logic to the build handler and update mint handler to pass the verified field.

* feat: update token record in the build handler, add start command to package.json

* feat: add dotenv to read the private key variable from the main .env file.

* feat: add domain and ipfs hash to mint and setTokenBuild functions. Alter the structs accordingly.

* test: update mint parameters with ipfsHash for foundry and hardhat tests.

* feat: add build record entity to subgraph.

* feat: add domain field, update schema, remove tokenId from build handler.

* test: fix missing parameters.

* fix: build info test parameters missing.

* test: final test fix for the foundry metadataupdate params.

* refactor: tsconfig changes and pr feedback.
2023-05-09 21:25:19 +03:30
Camila Sosa Morales 65e7ec9429 Merge branch 'develop' into feature/sc-838/ui-finish-indexed-nfa-view-after-design-changes 2023-05-09 13:48:14 -03:00
Camila Sosa Morales 74dbac66cd feat: add menu component 2023-05-09 10:52:49 -03:00
Camila Sosa Morales 393c4a316d
feat: NFA detail page subraph integration (#254)
* feat: nfa detail page with data from the subgraph

* Update ui/src/views/indexed-nfa/fragments/aside.fragment.tsx

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

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-05-09 10:31:29 -03:00
Camila Sosa Morales 84659d6392 refactor: aside component NFA detail page 2023-05-05 19:05:09 -03:00
Camila Sosa Morales 829d287b75 feat: set background gradient on nfa detail page 2023-05-05 12:58:44 -03:00
Shredder 85d14483cb
fix: decrement total tokens by one for each burn, fix the collection id, remove tokens field of git repo in the mapping file. (#249) 2023-05-02 19:19:02 +03:30
Felipe Mendes d2f81ee98e
fix: script deployment store for libraries and proxy (#248) 2023-05-02 10:57:24 -03:00
Shredder 69ebd36a5b
docs: update readme, add serverless section. (#237) 2023-05-02 13:38:12 +03:30
Felipe Mendes a20ec8bb22
feat: subgraph updated handlers (#235)
* feat: add verifier when contract is initialized

* feat: initialize git repository on new mint

* feat: add created at in token entity

* feat: add created at in ap entity

* feat: handle verifier role grant and revoke

* feat: add verified field to token

* refactor: create constants file

* feat: add total tokens counter on collection entity

* refactor: verify verifier address for mint event

* refactor: remove collection id
2023-04-28 12:22:51 -03:00
Camila Sosa Morales f685d6800b
feat: UI responsiveness on mint and AP flow (#245)
* wip: make mint flow responsive

* feat: add responsivness

* feat: add button connection

* refactor: remove iconSpacing from button for responsiveness

* styles: text ellipsis variation

* style: ellipsis on combobox
2023-04-28 12:16:24 -03:00
Camila Sosa Morales 0983e28755
styles: fix resolved address (#247) 2023-04-27 11:36:06 -03:00
Camila Sosa Morales ce6fd030e3
fix: UI repo configuration step fix styles (#243)
* feat: create row data component

* chore: remove margin from left icons

* styles: add styles for icon on row data
2023-04-27 11:25:40 -03:00
Camila Sosa Morales 9f48213e28
refactor: remove dropdown component and use combobox instead (#242) 2023-04-27 10:51:25 -03:00
Camila Sosa Morales fd4b7c953c
chore: UI remove tailwind from input component (#241)
* refactor: refactor styles repository selection

* refactor: remove tailwind from input component

* chore: change input group component

* chore: review changes on input component
2023-04-27 10:30:53 -03:00
Shredder d838f1a449
feat: MongoDB & Prisma [serverless] (#224)
* feat: init prisma.

* feat: update the prisma model.

* feat: write client tests.

* feat: Prisma integration and helper [serverless] (#229)

* refactor: rename the prisma folder to prisma-setup.

* feat: install prisma client.

* feat: add new build and invoke commands for prisma and the modules.

* feat: add prisma helper, update serverless config for testing purposes

* docs: update readme and include a .env.example file.

* feat: zoruka's suggestion on using finally instead of catch.

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

---------

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

* feat: prisma-setup restructure.

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-04-27 15:01:21 +03:30
Shredder 8f1263e43d
feat: define submit build info interface and parameters. (#231) 2023-04-27 13:48:31 +03:30
Shredder 787e4d6fef
feat: create smart contract helper for serverless (#232)
* feat: add log decoder helper and import web3.

* feat: create the web3 helper and install the package. update ts config to use JSONs in the helper script.

* feat: use nfaContract in submitBuildInfo handler.

* refactor: make the setTokenBuild params self-explanatory.

* docs: comment the placeholder.
2023-04-27 13:47:35 +03:30
Felipe Mendes ae8ba51c84
feat: UI work on navbar responsivity (#244)
* feat: add useMediaQuery

* feat: add menu icon

* feat: add navbar responsivity

* feat: add current path indication for navigation

* feat: prevent screen zoom

* refactor: move logo to navbar folder

* refactor: move sidebar to single file

* refactor: set icon names to kebab case

* feat: add alpha color function

* feat: add backdrop filter on navbar
2023-04-26 16:31:39 -03:00
Felipe Mendes cbe8b93594
bug: contract verifier address sent on mint calls (#239)
* chore: update hardhat to fix viaIR issues

* feat: add validations in main contract

* refactor: add hardhat tests

* test: add foundry tests
2023-04-25 15:58:50 -03:00
Shredder 957219b8af
feat: serverless new mint handler placeholder (#221)
* feat: add handler.

* fix: make the handler compilable.

* feat: parse json
2023-04-25 22:09:54 +03:30
Camila Sosa Morales 737715e1e3
styles: fix dropdown sorting styles (#238) 2023-04-24 18:22:26 -03:00
Felipe Mendes 0354877581
refactor: ui explore view responsivity (#236)
* refactor: clean up nfa search code and add base responsivity

* refactor: clean up nfa list code

* refactor: rename explore header fragment files

* refactor: nfa list items sizing

* feat: add vertical padding for page content

* refactor: make navbar not break the layout
2023-04-24 11:16:47 -03:00
Camila Sosa Morales 21b9660164
feat: UI ap flow (#223)
* chore: AP flow based on designs

* chore: preview ap creation

* style: max-width for explore container

* fix: fix setArgs

* feat: add success step for access point creation

* feat: add dots spinner

* chore: AP flow finished

* chore: release changes

* feat: store ens once the user log in with wallet

* feat: add mocked function for bunny cdn creation

* chore: finish bunny cdn mocked functions

* chore: run eslint

* feat: add domain validator

* style: move animation to stitches keyframes

* chore: set ens only when is not set

* Update ui/src/store/features/bunny-cdn/async-thunk/verify-ap.ts

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

* chore: remove nfa-picker

* chore: get nfa name

* chore: change verify thunk name

* fix: fix verifyPullzone thunk

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-04-21 15:57:20 -03:00
Felipe Mendes 22a6d70e98
feat: UI indexed nfa view (#230)
* wip: indexed nfa base layout

* refactor: split aside and main components to single files

* feat: indexed nfa aside styling

* feat: add main section header and drescription

* feat: add main section traits

* feat: add verification banner in main fragment

* feat: add externla link icon

* feat: add table stylings and frontends section mocked

* feat: add versions table mocked

* feat: add small layer of responsivity

* feat: add indexed nfa view skeleton

* refactor: create fragments folder

* refactor: split out mock and add todo comment

* feat: add icon on verified banner

* refactor: table stylings

* feat: add chevron right icon

* fix: link paths

* chore: add todo comments

* refactor: set initial position for aside container

* refactor: improve spacings

* fix: remove leftover comment
2023-04-20 14:19:53 -03: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