Commit Graph

14 Commits

Author SHA1 Message Date
Serkan Reis
79bb24d33a Address the issue with #s in uploaded file names 2023-11-12 21:18:04 +03:00
Serkan Reis
a6abf4a2fc Implement manual metadata input functionality for 1/1 minting 2022-12-26 16:17:09 +03:00
Serkan Reis
c026a3ca32 Update metadata modal behavior when no metadata selected 2022-10-31 10:03:21 +03:00
Serkan Reis
920ad1965d Fix: external_url updates do not persist 2022-10-31 09:31:23 +03:00
findolor
81dc8ed867 Refactor for prod build 2022-08-15 11:50:15 +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
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
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
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
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
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