Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Edit Collection & NFT UI #11171

Merged
merged 50 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
ebbf6c5
add(collectinos): init new edit collection modal
hassnian Oct 28, 2024
b90b894
add(collection): edit collection transaction
hassnian Oct 29, 2024
c7d369c
add(transactionUpdateCollection.ts): collection banner in metadata
hassnian Oct 30, 2024
193601f
ref(transactionUpdateCollection.ts): one liner
hassnian Oct 30, 2024
3d9ec0c
fix(useTransaction.ts): api param type
hassnian Oct 30, 2024
57c820a
fix(EditModal.vue): disabled computed
hassnian Oct 30, 2024
b1d22cf
add(HeroButtonEditCollection.vue): refresh page on collection data in…
hassnian Oct 30, 2024
cecd403
fix(EditModal.vue): collection max overriden on image upload
hassnian Oct 30, 2024
8ec7cbc
add(HeroButtons.vue): refresh collection metadata
hassnian Oct 30, 2024
ebe3879
Merge branch 'main' into issue-5286-1
hassnian Oct 31, 2024
fea4527
add(EditModal.vue): into translation keys
hassnian Oct 31, 2024
b0b7ce5
Merge branch 'issue-5286-1' of https://github.com/hassnian/nft-galler…
hassnian Oct 31, 2024
5b5f880
add(EditModal.vue): capitalize text
hassnian Oct 31, 2024
dd0d332
add(GalleryItem): set collection metadata
hassnian Nov 1, 2024
0991b28
fix(EditNftModal.vue): disabled computed and attributes updating
hassnian Nov 2, 2024
b7c6d17
add(GalleryItem): refresh page on metadata update
hassnian Nov 2, 2024
a9b7c25
ref(GalleryItemEditNftButton.vue): cleaner code
hassnian Nov 2, 2024
7a873f3
update: edit collection and edit nft sign transaction modal
hassnian Nov 2, 2024
3a47685
fix(EditModal.vue): submit button disabled on image change
hassnian Nov 4, 2024
ececa74
ref(transactionUpdateCollection.ts): update collection max if supply …
hassnian Nov 4, 2024
be4edc9
fix(HeroButtonEditCollection.vue): collection data refresh subscription
hassnian Nov 4, 2024
64c8b89
fix(GalleryItemEditNftButton.vue): invalid metadata case
hassnian Nov 4, 2024
33cc62d
fix(useGalleryItem.ts): refresh token on metdata update
hassnian Nov 4, 2024
01d1051
fix: translation key typo
hassnian Nov 4, 2024
c4bdec1
ref: reuse logo field section
hassnian Nov 4, 2024
d824cc6
ref: add prefix form to common/form
hassnian Nov 5, 2024
509dcdf
ref(EditNftModal.vue): remove required optional hint from label
hassnian Nov 5, 2024
2a7c157
ref(FormLogoField.vue): add `title` and `hint` props
hassnian Nov 5, 2024
ee4728f
fix(CollectionCard.vue): use `banner` metadata field
hassnian Nov 5, 2024
be7198b
fix(transactionUpdateCollection.ts): `unSanitizeIpfsUrl` banner field
hassnian Nov 5, 2024
17809c3
ref: Sonarcloud Remove redundant type alias and replace its occurrenc…
hassnian Nov 5, 2024
01a4280
fix: sonarcloud issues
hassnian Nov 5, 2024
d2aecb8
fix: sonarcloud img alt issue
hassnian Nov 5, 2024
2c0db4c
fix(transaction/types.ts): `UpdateCollection` missing export
hassnian Nov 5, 2024
e8afcb1
ref(EditNftModal.vue): cleaner and more efficient deep clonning
hassnian Nov 5, 2024
d699fba
ref: remove unused `data-testid`
hassnian Nov 5, 2024
3bc2422
ref(GalleryItemEditNftButton.vue): move composable above
hassnian Nov 5, 2024
5ca5ef7
fix(GalleryItemEditNftButton.vue): fetch metadata when nft is provided
hassnian Nov 5, 2024
3084239
ref: remove nullish props from edit modals
hassnian Nov 5, 2024
06a61e0
ref(CollectionCard.vue): use from
hassnian Nov 18, 2024
cb1fbd3
ref(CollectionCard.vue): use `CollectionMetadata` from `hyperdata`
hassnian Nov 18, 2024
9c1706a
Merge branch 'issue-5286-1' of https://github.com/hassnian/nft-galler…
hassnian Nov 18, 2024
9db9aa4
Merge branch 'feature/init/swapLanding' of https://github.com/roiLeo/…
hassnian Nov 23, 2024
8907dc0
fix(GalleryItemEditNftButton.vue): key nft metadata
hassnian Nov 23, 2024
492f13b
ref(transaction): `transactionUpdateCollection` optional update metadata
hassnian Nov 23, 2024
46a84dd
Trigger Build
hassnian Nov 23, 2024
2723532
fix: pnpm-lock.yaml failing build
hassnian Nov 23, 2024
3b977bc
Merge branch 'main' into issue-5286-1
vikiival Nov 24, 2024
f84802d
ref: update pnpm-lock.yaml
hassnian Nov 25, 2024
da9cd4b
ref: soft update `pnpm-lock.yaml`
hassnian Nov 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/collection/CollectionCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<script setup lang="ts">
import { NeoSkeleton } from '@kodadot1/brick'
import type { TokenMetadata } from '@kodadot1/hyperdata'
import type { CollectionMetadata } from '@kodadot1/hyperdata'
import CollectionDetail from './CollectionDetail.vue'
import type { CollectionWithMeta } from '@/types'
import BasicImage from '@/components/shared/view/BasicImage.vue'
Expand All @@ -62,7 +62,7 @@ const { urlPrefix } = usePrefix()
const getImageFromMetadata = async (collectionMetadata: string) => {
isLoadingMeta.value = true

const metadata = await processSingleMetadata<TokenMetadata>(collectionMetadata)
const metadata = await processSingleMetadata<CollectionMetadata>(collectionMetadata)

const metadataImage = getCollectionImage(metadata) || ''
const metadataBanner = metadata.banner || metadataImage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/vue-fontawesome": "^3.0.8",
"@kodadot1/brick": "workspace:*",
"@kodadot1/hyperdata": "0.0.1-rc.4",
"@kodadot1/hyperdata": "0.0.1-rc.6",
"@kodadot1/minimark": "^0.1.14-rc.0",
"@kodadot1/minipfs": "0.4.3-rc.1",
"@kodadot1/static": "workspace:*",
Expand Down
Loading
Loading