Skip to content

Commit

Permalink
Merge branch 'main' of github.com:kodadot/nft-gallery into chore/upgr…
Browse files Browse the repository at this point in the history
…ade-polkadot-packages
  • Loading branch information
preschian committed May 11, 2023
2 parents 94ca3c5 + 9330ae9 commit 1c63634
Show file tree
Hide file tree
Showing 134 changed files with 4,463 additions and 4,635 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Bug Report
name: 🐞 Bug Report
description: Create a report to help us improve KodaDot
title: "Be descriptive and short"
labels: ["bug"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Basilisk Bug Report
name: 🐞🐍 Bug Report Basilisk
description: Create a report to help us improve KodaDot on Basilisk
title: "Be descriptive and short"
labels: ["🐍 - basilisk", "bug"]
labels: ["A-basilisk", "bug"]
body:
- type: markdown
attributes:
Expand Down Expand Up @@ -50,6 +50,7 @@ body:
label: At which address did you encounter bug?
multiple: true
options:
- canary.kodadot.xyz
- beta.kodadot.xyz
- kodadot.xyz
- type: dropdown
Expand Down
113 changes: 113 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_minting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
name: 🐞⛏️ Bug Report Minting
description: Create a report to help us improve minting on KodaDot
title: "Be descriptive and short"
labels: ["bug", "A-minting"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Tell us, what happened?
placeholder: Tell us what you've seen!

validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Please reproduce in steps
description: Tells us steps how to reproduce the bug behaviour
placeholder: Go to ... Click on .... See error
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
placeholder: I've expected ...
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Desktop Chrome
- Desktop Firefox
- Desktop Safari
- Mobile Android Chrome
- Mobile iOS Safari (WebKit)
- Mobile Firefox
- Other
- type: dropdown
id: beta-yes-no
attributes:
label: At which address did you encounter bug?
multiple: true
options:
- canary.kodadot.xyz
- beta.kodadot.xyz
- kodadot.xyz
- type: dropdown
id: logged-in
attributes:
label: Are you logged in?
multiple: false
options:
- "Yes"
- "No"
- type: dropdown
id: chain-selector
attributes:
label: Which wallet you are using?
multiple: true
options:
- PolkadotJS
- Talisman
- SubWallet
- Nova Wallet
- type: dropdown
id: wallet-selector
attributes:
label: At which chain did you encounter bug?
multiple: true
options:
- Basilisk
- Kusama
- MoonBeam
- RMRK2
- type: textarea
id: Screenshots
attributes:
label: Screenshots
description: Screenshot/Video is worth more than debug logs!
placeholder: Paste from your clipboard or upload screenshots/video
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell

- type: textarea
id: rewardaddress
attributes:
label: Payment link for reward
description: Whenever you will be actively participating to get your bug fixed, helping elaborating and testing to get bug mitigated, you are eliglible for recieving reward. Read more how to share your address for reciving rewards https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#sharing-your-address-to-receive-reward
value: "https://kodadot.xyz/transfer/?target=%3CMy_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address%3E"
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
options:
- label: I agree to follow this project's Code of Conduct
required: true
102 changes: 102 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_moonbeam.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: 🐞🌔 Bug Report MoonBeam
description: Create a report to help us improve KodaDot on MoonBeam
title: "Be descriptive and short"
labels: ["A-moonbeam", "bug", "p2"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Tell us, what happened?
placeholder: Tell us what you seen!
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Please reproduce in steps
description: Tells us steps how to reproduce the bug behaviour
placeholder: Go to ... Click on .... See error
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
placeholder: I have expected ...
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Chrome
- Firefox
- Safari
- Microsoft Edge
- Mobile Android Chrome
- Mobile iOS Safari
- Mobile Firefox
- type: dropdown
id: beta-yes-no
attributes:
label: At which address did you encounter bug?
multiple: true
options:
- rmrk2.kodadot.xyz
- canary.kodadot.xyz
- beta.kodadot.xyz
- kodadot.xyz
- type: dropdown
id: logged-in
attributes:
label: Are you logged in?
multiple: false
options:
- "Yes"
- "No"
- type: dropdown
id: wallet-selector
attributes:
label: Which wallet you are using?
multiple: true
options:
- PolkadotJS
- Talisman
- SubWallet
- type: textarea
id: Screenshots
attributes:
label: Screenshots
description: Screenshot/Video is worth more than debug logs!
placeholder: Paste from your clipboard or upload screenshots/video
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell

- type: textarea
id: rewardaddress
attributes:
label: Payment link for reward
description: Whenever you will be actively participating to get your bug fixed, helping elaborating and testing to get bug mitigated, you are eliglible for recieving reward. Read more how to share your address for reciving rewards https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#sharing-your-address-to-receive-reward
value: "https://kodadot.xyz/transfer/?target=%3CMy_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address%3E"
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
options:
- label: I agree to follow this project's Code of Conduct
required: true
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: RMRK2 Bug Report
description: Create a report to help us improve RMRK2 in KodaDot
name: 🐞℞ Bug Report RMRK2
description: Create a report to help us improve KodaDot on RMRK2
title: "Be descriptive and short"
labels: ["rmrk2", "bug", "p2"]
labels: ["A-rmrk2", "bug", "p2"]
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Feature Request / User Experience
name: 💎 Feature Request / User Experience
description: Suggest an idea for KodaDot to be better for your friends
title: "Be descriptive and short"
labels: ["enhancement"]
Expand Down
2 changes: 1 addition & 1 deletion .github/diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added .github/gh
Empty file.
18 changes: 18 additions & 0 deletions assets/unlockable-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions assets/unlockable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion components/carousel/utils/useCarousel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const nftEventVariables = {
},
}

const disableChainsOnProduction = ['snek', 'ksm']
const disableChainsOnProduction = ['snek']
const disableChainsOnBeta = ['snek']

const useChainEvents = (chain, type) => {
Expand Down
7 changes: 7 additions & 0 deletions components/carousel/utils/useCarouselSpotlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ const curatedCollection = {
// '2075be44ea4b9e422d-🐺', // WolfAngryClub
// '7cf9daa38281a57331-BSS', // Spaceships (ClownWorldHouse)
],
ksm: [
'3629a3ff458d113e25-PUNK', // RMRK Punks
'3e6f301b0a0b1a0e4e-MRWH', // Mr Whitehole
'2644199cf3652aaa78-KK01', // Kusama Kings
'be15890524c6e9b359-WIZARD', // Manta Wizard
'e63e926f7db5997e5c-STGR', // STARGAZER
],
}

type Collections = CarouselNFT & SomethingWithMeta
Expand Down
4 changes: 3 additions & 1 deletion components/chart/PriceChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
class="is-flex is-justify-content-center px-0"
:active="selectedTimeRange.value === range.value"
:value="selectedTimeRange"
@click.native="setTimeRange(range)">
@click.native="
setTimeRange({ value: range.value, label: range.label })
">
{{ range.label }}
</NeoDropdownItem>
</template>
Expand Down
11 changes: 9 additions & 2 deletions components/collection/HeroButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@

<div class="is-flex">
<NeoDropdown append-to-body>
<NeoButton icon="share-alt" class="square-32 mr-3" />
<NeoButton
icon="share-alt"
class="square-32 mr-3"
data-cy="share-button" />
<template #items>
<NeoDropdownItem
v-clipboard:copy="currentCollectionUrl"
Expand All @@ -56,7 +59,11 @@
</NeoDropdown>

<NeoDropdown v-if="!isOwner" append-to-body>
<NeoButton icon="ellipsis-vertical" class="square-32" />
<NeoButton
icon="ellipsis-vertical"
class="square-32"
data-cy="more-actions-button" />

<template #items>
<!-- related: https://github.com/kodadot/nft-gallery/issues/5792 -->
<!-- <div v-if="isOwner">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ import { format } from '@/components/collection/activity/utils'
import NFTsDetaislDropdown from './NFTsDetaislDropdown.vue'
import { timeAgo } from '@/components/collection/utils/timeAgo'
import { Flippers } from '@/composables/collectionActivity/types'
const props = defineProps<{
flippers?: Flippers
}>()
Expand Down Expand Up @@ -130,6 +131,7 @@ const isFlipperMoreNFTSectionOpen = flippers.value.reduce(
}),
{}
)
const isNFTDetailsOpen = ref(isFlipperMoreNFTSectionOpen)
</script>

Expand Down
9 changes: 0 additions & 9 deletions components/common/ConnectWallet/ConnectWalletModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@

<script lang="ts" setup>
import { SupportedWallets } from '@/utils/config/wallets'
import { getRedirectToRmrk2HostnameWhitelist } from '@/utils/config/whitelist'
import { toDefaultAddress } from '@/utils/account'
import { BaseDotsamaWallet } from '@/utils/config/wallets/BaseDotsamaWallet'
import { NeoButton, NeoIcon } from '@kodadot1/brick'
import WalletMenuItem from '@/components/common/ConnectWallet/WalletMenuItem'
Expand Down Expand Up @@ -136,13 +134,6 @@ watch(account, (account) => {
if (selectedWalletProvider.value) {
localStorage.setItem('wallet', selectedWalletProvider.value.extensionName)
}
if (
getRedirectToRmrk2HostnameWhitelist().includes(toDefaultAddress(account)) &&
!location.hostname.startsWith('rmrk2.') &&
!location.hostname.startsWith('rmrk.')
) {
window.open(`${location.protocol}//rmrk2.${location.host}`, '_self')
}
})
const setUserAuthValue = () => {
Expand Down
Loading

0 comments on commit 1c63634

Please sign in to comment.