Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
6d4b75a
optimization(CollectionCard.vue): remove collection metadata overfetc…
hassnian Jun 10, 2024
9c9eaef
Merge branch 'main' into issue-10416
hassnian Jun 11, 2024
992c8d3
optimization(CollectionCard.vue): get cfi specific variants with imag…
hassnian Jun 11, 2024
3b2a93e
optimization(ProfileAvatar.vue): load size specific image
hassnian Jun 11, 2024
b065e74
remove: pwa.client.ts plugin
hassnian Jun 11, 2024
4d64a23
Merge branch 'main' into issue-10416
hassnian Jun 14, 2024
5a9d21c
add(CollectionGrid.vue): lazt loading images
hassnian Jun 14, 2024
dac3189
rename(CollectionGrid.vue): lazy loading prop
hassnian Jun 14, 2024
828c09d
add(ItemsGrid.vue): lazy loading item images
hassnian Jun 14, 2024
68aad97
Merge branch 'main' into issue-10416
hassnian Jun 20, 2024
b4e20c6
add(cdn-worker): add cloudlfare image worker query params
hassnian Jun 21, 2024
96ee735
Merge branch 'main' into issue-10416
hassnian Jun 21, 2024
6247779
Merge branch 'main' into issue-10416
hassnian Jun 24, 2024
df7dc57
fix(CollectionCard): Property meta does not exist on type
hassnian Jun 26, 2024
9b24a1f
fix(pwa.ts): disable workbox
hassnian Jun 26, 2024
feb21f5
add(ProfileDetail.vue): curated generative drops section
hassnian Jul 2, 2024
5fb3277
Merge branch 'main' into issue-10565
hassnian Jul 2, 2024
3faa661
fix(CuratedDrops): get artist drops by creator
hassnian Jul 3, 2024
346239e
Merge branch 'issue-10565' of https://github.com/hassnian/nft-gallery…
hassnian Jul 3, 2024
0ce8946
ref(CuratedDrops.vue): filter creator using worker
hassnian Jul 3, 2024
db3d2b8
remove(types.ts): unused creator from DropItem
hassnian Jul 3, 2024
9675166
Merge branch 'main' into issue-10416
hassnian Jul 3, 2024
5532983
fix(ProfileDetail.vue): curated drops taking space when empty
hassnian Jul 4, 2024
4643d64
fix(CuratedDrops.vue): tooltip to auto
hassnian Jul 4, 2024
5440e89
Merge branch 'main' into issue-10565
hassnian Jul 5, 2024
4e7c42b
Merge branch 'main' into issue-10416
hassnian Jul 9, 2024
4965958
feat(vscode): add ESLint auto-fix and validation settings
preschian Jul 10, 2024
6b7a391
refactor(eslint): standardize quotes and minor formatting fixes
preschian Jul 15, 2024
132a3a0
chore(static): remove eslint related dependencies and scripts
preschian Jul 15, 2024
c572d59
Merge branch 'main' of github.com:kodadot/nft-gallery into chore-esli…
preschian Jul 15, 2024
59ac644
chore(workflow): simplify eslint flags in reviewdog configuration
preschian Jul 15, 2024
90fc1f7
chore(dependencies): add resolution for vue 3.4.8
preschian Jul 15, 2024
833256b
feat(profile): enhance import management
preschian Jul 15, 2024
546fa25
Merge branch 'main' of github.com:kodadot/nft-gallery into chore-esli…
preschian Jul 16, 2024
08159be
chore: remove prettier from devDependencies
preschian Jul 16, 2024
75ac875
fix: Disconnecting evm wallet
Jarsen136 Jul 17, 2024
c313468
Merge branch 'main' into issue-10416
hassnian Jul 18, 2024
6493b45
Update components/common/ConnectWallet/WalletAssetIdentity.vue
Jarsen136 Jul 18, 2024
eb663f0
Merge branch 'main' into issue-10416
vikiival Jul 18, 2024
2afd840
Merge pull request #10443 from hassnian/issue-10416
vikiival Jul 18, 2024
565c614
fix: Wording change - congrats modal
Jarsen136 Jul 19, 2024
9ad12e7
fix: Remove information hash
Jarsen136 Jul 19, 2024
638cff4
Revert ":wrench: add new bad boyz to deny list"
vikiival Jul 19, 2024
c1a784b
:wrench: return market manipulator to deny list
vikiival Jul 19, 2024
e388f01
Merge pull request #10656 from kodadot/undeny
vikiival Jul 19, 2024
90e705b
Merge pull request #10655 from Jarsen136/issue-10645
vikiival Jul 19, 2024
9747109
Merge pull request #10654 from Jarsen136/issue-10649
vikiival Jul 19, 2024
b9ce121
[skip ci] updated code diagram
kkukelka Jul 19, 2024
898bd17
Merge branch 'main' into issue-10565
hassnian Jul 19, 2024
24cb1a6
Merge branch 'main' into issue-10565
hassnian Jul 19, 2024
ce7de88
fix: Failing test
Jarsen136 Jul 19, 2024
4be7c81
Merge pull request #10568 from hassnian/issue-10565
Jarsen136 Jul 19, 2024
4fd2501
Merge branch 'main' into issue-10657
vikiival Jul 19, 2024
8ee658d
Merge pull request #10658 from kodadot/action
vikiival Jul 19, 2024
0165250
Merge pull request #10659 from Jarsen136/issue-10657
vikiival Jul 19, 2024
f65b121
feat: Add context offchain profile to wallet connection
Jarsen136 Jul 19, 2024
7f48692
Merge branch 'main' of github.com:kodadot/nft-gallery into chore-esli…
preschian Jul 22, 2024
906d81d
chore(eslint): override linting rules for TypeScript and Vue
preschian Jul 22, 2024
81cfab2
Merge pull request #10627 from kodadot/chore-eslint-modules
vikiival Jul 22, 2024
d22c201
chore: update lint-staged
preschian Jul 22, 2024
1a08108
Update koda beehiiv.md
damskyftw Jul 22, 2024
2c73886
Merge pull request #10666 from kodadot/damskyftw-patch-1
vikiival Jul 22, 2024
055d3e6
feat: profile skeleton loader
Jarsen136 Jul 22, 2024
8b6d55e
chore: NeoSkeleton
Jarsen136 Jul 22, 2024
e816df7
Merge branch 'main' into issue-10652
hassnian Jul 23, 2024
7c71d51
Merge branch 'main' into chore--update-lint-staged
vikiival Jul 23, 2024
0f0dc43
Merge pull request #10637 from Jarsen136/issue-10635
Jarsen136 Jul 23, 2024
e35b1fc
Merge pull request #10665 from kodadot/chore--update-lint-staged
vikiival Jul 23, 2024
859ee32
Merge branch 'main' into issue-10652
Jarsen136 Jul 23, 2024
a05985e
chore: pnpm run lint:fix
preschian Jul 23, 2024
576fec3
refactor(balance): separate type and store import statements in Multi…
preschian Jul 23, 2024
b953880
chore: downgrade sass version
preschian Jul 23, 2024
4cfdcf6
refactor: useProfiles
Jarsen136 Jul 23, 2024
636fffa
chore: remove import
Jarsen136 Jul 23, 2024
ac5a417
chore: fix some eslint
preschian Jul 23, 2024
89af0ea
chore: update pull_request event in reviewdog.yml
preschian Jul 23, 2024
dd881e5
Merge pull request #10671 from kodadot/chore--pnpm-run-lint-fix
vikiival Jul 24, 2024
0b88694
Merge branch 'main' into chore--fix-some-eslint
preschian Jul 24, 2024
f93f7aa
Merge pull request #10677 from kodadot/chore--fix-some-eslint
vikiival Jul 24, 2024
ab9941c
Merge branch 'main' into issue-10652
Jarsen136 Jul 24, 2024
384aa61
fix: Cannot scroll in following profiles
Jarsen136 Jul 26, 2024
bc1b54b
Update ParaSpell to v5.7.0
dudo50 Jul 27, 2024
668123d
Merge pull request #10661 from Jarsen136/issue-10652
vikiival Jul 29, 2024
85be44f
Merge branch 'main' into main
vikiival Jul 29, 2024
cbfe13a
Merge branch 'main' of github.com:kodadot/nft-gallery into chore--dow…
preschian Jul 30, 2024
4e909d9
fix: type import
Jarsen136 Jul 30, 2024
1145e55
Merge pull request #10694 from Jarsen136/issue-10693
Jarsen136 Jul 30, 2024
ab39804
Merge branch 'main' into chore--downgrade-sass-version
vikiival Jul 31, 2024
95579c3
Merge pull request #10672 from kodadot/chore--downgrade-sass-version
vikiival Jul 31, 2024
c3140ff
Merge branch 'main' into main
vikiival Jul 31, 2024
ba0edfe
Merge pull request #10698 from dudo50/main
vikiival Jul 31, 2024
5f7923c
refactor(unlockable-collection-banner): replace NuxtImg with standard…
preschian Aug 1, 2024
d7fc001
Merge pull request #10716 from kodadot/fix--use-img-tag-on-drop-page
vikiival Aug 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
99 changes: 0 additions & 99 deletions .eslintrc.js

This file was deleted.

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.
5 changes: 3 additions & 2 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Reviewdog

on:
pull_request:
pull_request: {}
push:
branches: [main]

jobs:
Expand All @@ -20,6 +21,6 @@ jobs:
level: error
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
eslint_flags: '--quiet --ignore-path .gitignore --ext .js,.ts,.vue .'
eslint_flags: '--quiet .'
fail_on_error: true
filter_mode: nofilter
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

50 changes: 49 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,54 @@
{
"deno.enable": false,
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
"typescript.enablePromptUseWorkspaceTsdk": true,

// https://github.com/antfu/eslint-config#vs-code-support-auto-fix-on-save
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},

// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml",
"xml",
"gql",
"graphql",
"astro",
"css",
"less",
"scss",
"pcss",
"postcss"
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ You'll find our goals for KodaDot upcoming future!
- [Farcaster /koda](https://warpcast.com/~/channel/koda) 👈👀🫡
- Follow us on [Twitter](https://twitter.com/KodaDot)
- [Youtube](https://www.youtube.com/channel/UCEULduld5NrqOL49k1KVjoA)
- [Beehiiv](https://kodadotweeklyroundup.beehiiv.com/)
- [Beehiiv](https://kodaweeklyroundup.beehiiv.com/)
- [Medium](https://blog.kodadot.xyz), [Instagram](https://instagram.com/kodadot.xyz),
- Join our [Telegram KodaDot Ecosystem](https://t.me/koda_eco),
- [Pick your T-shirt in KodaDot Swag Shop](https://shop.kodadot.xyz), use voucher `readme100` to get 100% OFF, first 10 redemptions only.

# Fix dependency bump by renovate bot

`git checkout origin/main pnpm-lock.yaml && pnpm install`
`git checkout origin/main pnpm-lock.yaml && pnpm install`
7 changes: 4 additions & 3 deletions app/router.scrollBehavior.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const findEl = async (hash, x = 0) => {
return (
document.querySelector(hash) ||
new Promise((resolve) => {
document.querySelector(hash)
|| new Promise((resolve) => {
if (x > 50) {
return resolve(document.querySelector('#app'))
}
Expand Down Expand Up @@ -33,7 +33,8 @@ export default async function (to) {
let el = await findEl(to.hash)
if ('scrollBehavior' in document.documentElement.style) {
return window.scrollTo({ top: el.offsetTop, behavior: 'smooth' })
} else {
}
else {
return window.scrollTo(0, el.offsetTop)
}
}
Expand Down
6 changes: 0 additions & 6 deletions babel.config.js

This file was deleted.

4 changes: 3 additions & 1 deletion components/ColorModeButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<div
class="flex items-center m-0"
:class="isMobileDevice ? 'navbar-item' : ''"
@click="switchToNextMode">
@click="switchToNextMode"
>
<ColorScheme placeholder="...">
<span>{{ currentMode.label }}</span>
&nbsp;<NeoIcon :icon="currentMode.icon" />
Expand All @@ -13,5 +14,6 @@
<script lang="ts" setup>
import { NeoIcon } from '@kodadot1/brick'
import { isMobileDevice } from '@/utils/extension'

const { currentMode, switchToNextMode } = useTheme()
</script>
19 changes: 14 additions & 5 deletions components/ColorModeSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,22 @@
class="cursor-pointer"
:icon="currentMode.icon"
size="medium"
@click="switchToNextMode" />
@click="switchToNextMode"
/>
<NeoDropdown
v-else
v-model="preference"
position="top-left"
:close-on-click="true"
aria-role="list"
@change="onChange">
@change="onChange"
>
<template #trigger>
<div class="flex items-center cursor-pointer">
<NeoIcon :icon="currentMode.icon" size="medium" />
<NeoIcon
:icon="currentMode.icon"
size="medium"
/>
<span class="ml-1 min-w-[82px]">{{ currentMode?.label }}</span>
</div>
</template>
Expand All @@ -25,8 +30,12 @@
aria-role="listitem"
class="flex"
:active="preference === option.value"
:value="option">
<NeoIcon class="mr-2" :icon="option.icon" />
:value="option"
>
<NeoIcon
class="mr-2"
:icon="option.icon"
/>
<span>{{ option.label }}</span>
</NeoDropdownItem>
</NeoDropdown>
Expand Down
11 changes: 7 additions & 4 deletions components/CookieBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
<i18n-t
keypath="cookies.notice"
tag="p"
class="border-none md:border-r md:border-solid md:border-k-shade">
<nuxt-link to="/cookie-notice" target="_blank" class="is-underlined"
>Cookie Policy</nuxt-link
>
class="border-none md:border-r md:border-solid md:border-k-shade"
>
<nuxt-link
to="/cookie-notice"
target="_blank"
class="is-underlined"
>Cookie Policy</nuxt-link>
</i18n-t>
</template>
</CookieControl>
Expand Down
5 changes: 4 additions & 1 deletion components/CustomSubstackEmbed.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div id="custom-substack-embed" data-testid="footer-subscribe"></div>
<div
id="custom-substack-embed"
data-testid="footer-subscribe"
/>
</template>

<script lang="ts" setup>
Expand Down
23 changes: 17 additions & 6 deletions components/Error.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
<template>
<div id="Error" class="container text-center p-2 sm:px-6 sm:py-12">
<h1 class="title">{{ errorTitle }}</h1>
<p class="subtitle">{{ errorSubtitle }}</p>
<img v-if="hasImg" :src="imgSrc" alt="Internal error cat" />
<div
id="Error"
class="container text-center p-2 sm:px-6 sm:py-12"
>
<h1 class="title">
{{ errorTitle }}
</h1>
<p class="subtitle">
{{ errorSubtitle }}
</p>
<img
v-if="hasImg"
:src="imgSrc"
alt="Internal error cat"
>
<p class="subtitle">
If you think this should't happen, report us by
<a
target="_blank"
rel="nofollow noopener noreferrer"
href="https://github.com/kodadot/nft-gallery/issues/new?assignees=&labels=bug&template=bug_report.md&title="
>creating bug issue with steps to reproduce and screenshot.</a
>
>creating bug issue with steps to reproduce and screenshot.</a>
</p>
</div>
</template>

<script setup lang="ts">
const props = withDefaults(
defineProps<{
Expand Down
14 changes: 10 additions & 4 deletions components/MessageNotify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,27 @@
}"
:duration="realDuration"
:auto-close="autoClose"
@close="$emit('close')">
@close="$emit('close')"
>
<img
src="~/assets/svg/congrats-message-header.svg"
class="congrats-message" />
class="congrats-message"
>
<div class="flex flex-col">
<div class="title is-3 mb-4">
{{ title }}
</div>
<hr class="my-2" />
<hr class="my-2">
<div class="flex items-center justify-between">
<span class="subtitle is-6 mb-0">
{{ subtitle }}
</span>

<ShareDropdown no-shadow mobile-modal :link="shareLink" />
<ShareDropdown
no-shadow
mobile-modal
:link="shareLink"
/>
</div>
</div>
</NeoMessage>
Expand Down
Loading
Loading