Commit Graph

896 Commits

Author SHA1 Message Date
Serkan Reis
c6b8e10d73 Fix for vertical images 2022-08-11 17:27:01 +03:00
Serkan Reis
3e6a7a0eee Fix vertical video previews 2022-08-11 17:20:59 +03:00
Serkan Reis
f895533ad6
Sequence overlay for asset previews (#37)
* Sequence overlay for asset previews

* Make updates

* Remove extra css

Co-authored-by: findolor <anakisci@gmail.com>
2022-08-11 16:38:33 +03:00
Serkan Reis
cceb2c1d08
Display collection creation results (#35)
* Display collection creation results

* Add links for collection creation details

* Update link appearance
2022-08-10 15:04:18 +03:00
findolor
2c04539894 Fix anchor component imports 2022-08-10 12:42:00 +03:00
Arda Nakışçı
20926b8781
Change some texts and tools related things (#34)
* Change some texts and tools related things

* Add favicon and remove unused components
2022-08-10 12:39:39 +03:00
Arda Nakışçı
e68f2f25eb
Add loading spinner and modal on asset metadata upload (#33) 2022-08-10 12:07:05 +03:00
name-user1
c994411dfb
Batch minting (#30)
* Bach Mint

* Add mint_for for batch minting

* Batch minting with mint to function with given number

* Minor fixes

* Update components/collections/actions/actions.ts

Co-authored-by: name-user1 <eray@deuslabs.fi>
Co-authored-by: Serkan Reis <serkanreis@gmail.com>
Co-authored-by: Arda Nakışçı <anakisci@gmail.com>
2022-08-10 10:25:23 +03:00
Serkan Reis
823b8c04f5
Omit file extensions during metadata file upload (#32)
* Upload metadata files without an extension

* Display success toast on metadata updates
2022-08-10 09:57:20 +03:00
Arda Nakışçı
b9c22ea425
Move assets preview to component (#29) 2022-08-09 16:18:32 +03:00
Serkan Reis
0f0e68a285
Fixes and improvements (#28)
* Update collection creation error messages

* Update minimum unit price

* Update .env.example

* Fix double ustars conversion for whitelist & minter unit_price

* Add minimum unit price for whitelisted addresses

* Fix: Invalid baseTokenURI error during collection instantiation

* Collection cover image URI update

* Minimum unit price update - 2

* Fix: nonfunctional existing whitelist option

* Check matching asset and metadata file arrays before creating a collection

* Mark minting detail inputs as required

* Fix: collection creation with the specified royalty preference

* Fix: whitelistType change problem

* Fix creation logic

* Automate number of tokens input & check per address limit

* Automate number of tokens input & check per address limit - 2

* Metadata files should have .json extensions

* Check royalty percentage

* Upload service related changes now trigger state updates

Co-authored-by: findolor <anakisci@gmail.com>
2022-08-09 14:42:55 +03:00
Serkan Reis
986777b73d
Use "animation_url" in the uploaded metadata for storing media file URIs (#27)
* Remove image and animation_url from metadata modal

* Use animation_url for storing audio and video asset URIs

* Use image and animation_url keys together for audio/video assets

* Delete empty metadata keys

* Post-review update
2022-08-09 12:08:10 +03:00
Serkan Reis
afe2928a9e network.ts update (httpUrl: elgarfar-1 --> elgafar-1) 2022-08-07 12:50:48 +03:00
Serkan Reis
df9ed0c73f
Merge pull request #25 from deus-labs/fix-video-preview-flicker
Fix blinking/flicker on audio and video previews
2022-08-05 14:25:30 +03:00
Serkan Reis
1eb3968678 Fix merge conflicts 2022-08-05 14:24:19 +03:00
Serkan Reis
504b224811
Merge branch 'main' into fix-video-preview-flicker 2022-08-05 14:17:02 +03:00
Arda Nakışçı
927a3af361
Collection creation page styling (#26)
* Refactor whitelist component and add new state

* Implement existing whitelist component

* Refactor other pages for styling
2022-08-05 14:13:27 +03:00
Serkan Reis
3414ec200c Center audio and video previews on asset grid cells 2022-08-05 12:04:50 +03:00
Serkan Reis
49fe1d8da4 fix preview flicker on asset grid 2022-08-05 11:44:47 +03:00
Serkan Reis
1eff11a8c5 Fix preview flicker on metadata modal 2022-08-04 16:33:58 +03:00
name-user1
5b9ce8568c
Sidebar double highlight fix (#24)
Co-authored-by: name-user1 <eray@deuslabs.fi>
2022-08-04 14:23:21 +03:00
Serkan Reis
916beb6d5e
Metadata modal update (#22)
* Add animation_url and youtube_url to metadata modal

* Reset asset and metadata list on upload method change

* Allow the user to add attributes even though the metadata file is missing them

* Add missing attribute check

Co-authored-by: findolor <anakisci@gmail.com>
2022-08-04 14:22:13 +03:00
Arda Nakışçı
c62438d753
Upload details component styling (#23)
* Add styling to upload details

* Refactor image preview
2022-08-04 14:19:25 +03:00
findolor
e89fcddc2f Fix create method 2022-08-04 12:17:37 +03:00
Arda Nakışçı
4ba58eca6d
Refactoring collection creation logic (#20)
* Split collection info component

* Fix texts

* Refactor components

* Create upload details component

* Add on change method to collection details

* Add on change method to minting details

* Add on change method to whitelist details

* Add on change method to royalty details

* Update create page name

* Refactor code for collection creation logic
2022-08-04 12:16:42 +03:00
Arda Nakışçı
725439275d
Execute selection fix (#17)
* Remove modal

* Show execute preview without wallet connection
2022-08-03 10:57:03 +03:00
Arda Nakışçı
e7f2019d30
Merge components in create page (#16) 2022-08-03 10:25:08 +03:00
Serkan Reis
37f9d56d49
Preview & upload support for audio & video files (#14)
* Accept audio & video files for upload

* Rename image related variables

* Implement getAssetType util

* Preview & upload support for video files

* Preview & upload support for audio files

* Preview update for audio files

* New look for audio previews on asset list

* Remove extra refs

Co-authored-by: findolor <anakisci@gmail.com>
2022-08-03 09:31:35 +03:00
Arda Nakışçı
b4b549459c
Change collection info image to file selection (#15) 2022-08-02 10:44:17 +03:00
Serkan Reis
ceedf039d6 imageUrl update fix on metadata modal 2022-08-01 19:54:23 +03:00
name-user1
6816d79d64
Toasts an error when no attritubutes atribute in a metadata file (#13)
* Toasts an error when no attritubutes atribute in a metadata file

* Update MetadataModal.tsx

Co-authored-by: name-user1 <eray@deuslabs.fi>
Co-authored-by: findolor <anakisci@gmail.com>
Co-authored-by: Serkan Reis <serkanreis@gmail.com>
2022-08-01 16:37:16 +03:00
Serkan Reis
f06aafcd86
Fix: imageURL not being updated on metadata modal after uploading assets & metadata (#12)
* Fix: imageURL not being updated on metadata modal after upload

* Update MetadataModal.tsx
2022-08-01 16:19:24 +03:00
Serkan Reis
6ae1e4d9ca
Preview assets on metadata modal (#11)
* Name and length check for assets & metadata

* Disable update_metadata button on metadata modal if no metadatafile is specified

* Enable asset preview on metadata modal

* fix: preview error due to missing assets
2022-08-01 12:51:54 +03:00
Serkan Reis
790f5b7c8d
Check matching names and length for assets and metadata (#10)
* Name and length check for assets & metadata

* Disable update_metadata button on metadata modal if no metadatafile is specified
2022-08-01 12:28:12 +03:00
findolor
dedc4cffc3 Update testnet network config 2022-07-29 10:56:43 +03:00
Arda Nakışçı
ff5a8d2e7d
Whitelist txt upload component (#9)
* Update ts config

* Update network chain id

* Create whitelist upload component

* Use whitelist component in contract ui

* Add whitelist component to collection info component
2022-07-29 10:39:03 +03:00
Arda Nakışçı
7a46df8161
Merge pull request #8 from deus-labs/metadata-modal-closing-unexpectedly
Fix: clicking inside the modal window closes the modal unexpectedly
2022-07-29 09:07:52 +03:00
Serkan Reis
d56b9f1b6a Fix: clicking inside the modal window closes the modal 2022-07-28 17:37:20 +03:00
Serkan Reis
7740841168
Upload assets and metadata (#4)
* Initial preview & upload logic

* Refactor image & metadata selection & preview logic

* Refactor image & metadata selection & preview logic - 2

* Establish metadata-modal connection

* Metadata attribute manipulation

* Successful metadata attribute removal & update

* Successful metadata attribute addition & update

* Update existing attributes success

* Display image uri among metadata following the upload

* Fix: buttons being displayed without an image overlay

* Separate upload logic & incorporate useRefs

* Clean up: removed unused imports and structures

* Add radio buttons for upload service selection

* Remove package-lock.json (duplicate .lock files)

* Refactor upload logic & metadata modal

* Utilize serviceType enum in upload logic

* Utilize serviceType enum in upload logic - 2

* Implement user input for NFT.Storage & Pinata API keys

* Update use an existing URI text

* Remove upload_old.tsx

* Fix: reset main metadata fields on metadata modal refresh

* Fix: reset main metadata fields on metadata modal refresh - 2

* Make linter happy

* Make linter happy - 2

* Move upload file under collections

* Post-review update - 1

* Source Pinata endpoint URL from environment variables

* Replace regular file arrays with states

Co-authored-by: findolor <anakisci@gmail.com>
2022-07-28 16:38:43 +03:00
name-user1
4582f961ba
Collection info (#6)
* Initial preview & upload logic

* Refactor image & metadata selection & preview logic

* Refactor image & metadata selection & preview logic - 2

* Basic collection and minting info

* Minor fix

* gec

* gec

* gec

* Collection info entries

* Small refactor

* Add stargaze text image and change website color

Co-authored-by: Serkan Reis <serkanreis@gmail.com>
Co-authored-by: findolor <anakisci@gmail.com>
2022-07-27 09:49:36 +03:00
Arda Nakışçı
7b58c9e8ac
Add collection queries page (#5) 2022-07-26 11:42:45 +03:00
Arda Nakışçı
708da8a58a
Add collection actions page (#3)
* Add collection actions page

* Add collections index page and update sidebar
2022-07-25 11:29:52 +03:00
Arda Nakışçı
aa42f8763a
Implement contract UIs (#2)
* Add instantiate page for minter

* Add query page to minter contract

* Add execute page for minter contract

* Add contracts index page

* Refaactor sg721 helper files

* Add instantiate page

* Add query page for sg721

* Add execute page for sg721 contract

* Copy page templates for whitelist contracts

* Add instantitate for whitelist contract

* Add query page to whitelist contract

* Add execute page for whitelist contract
2022-07-19 10:53:03 +03:00
Arda Nakışçı
3a9a523e01
Merge pull request #1 from deus-labs/contract-helpers
Helpers for minter, sg721 & whitelist contracts
2022-07-14 13:32:06 +03:00
Serkan Reis
a0affdaa4d Added contract helpers for minter, sg721 & whitelist 2022-07-14 13:16:50 +03:00
Serkan Reis
4dde6db215 StargazeTools init 2022-07-13 16:56:36 +03:00