Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
a285ac5
feat: add alias resolution
ErwanDecoster Aug 7, 2025
8f60a8a
feat: add TypeScript configuration and utility functions; update pack…
ErwanDecoster Aug 7, 2025
294e941
feat: implement Select component and related subcomponents
ErwanDecoster Aug 7, 2025
5f87dbb
feat: refactor wagmi configuration and add wagmiNetworks module
ErwanDecoster Aug 8, 2025
18142ab
feat: formatting adjustments
ErwanDecoster Aug 8, 2025
95a42f9
feat: add ChainSelector component and related utilities for chain man…
ErwanDecoster Aug 8, 2025
2d2470f
feat: add lucide-vue-next dependency and update ChainSelector compone…
ErwanDecoster Aug 8, 2025
696fa00
Merge branch 'main' into feature/add-chain-switch
ErwanDecoster Aug 8, 2025
f9b9b60
feat: update ChainSelector and SelectTrigger components for enhanced …
ErwanDecoster Aug 8, 2025
51d0e61
refactor: code cleaning; remove unused Select and SelectItem components
ErwanDecoster Aug 8, 2025
070e507
fix: ensure node-version is specified in Setup Node step of CI workflow
ErwanDecoster Aug 8, 2025
3250442
feat: add TypeScript type definitions for prop-types and react
ErwanDecoster Aug 8, 2025
3bdbefc
refactor: replace lucide-vue-next icons with iconify in select compon…
ErwanDecoster Aug 8, 2025
890ebac
Merge branch 'main' into feature/add-chain-switch
Le-Caignec Aug 8, 2025
d050195
refactor: remove arbitrumSepolia from wagmiNetworks and clean up imports
ErwanDecoster Aug 8, 2025
fd10720
Merge branch 'feature/add-chain-switch' of https://github.com/iExecBl…
ErwanDecoster Aug 8, 2025
6364942
refactor: change export to const for useUserStore definition
ErwanDecoster Aug 8, 2025
c6cbbba
Merge branch 'main' into feature/add-chain-switch
Le-Caignec Aug 8, 2025
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
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install dependencies
run: |
Expand Down
12 changes: 12 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { transformerTwoslash } from '@shikijs/vitepress-twoslash';
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'vitepress';
import { fileURLToPath, URL } from 'node:url';
import { getSidebar } from './sidebar';
import {
groupIconMdPlugin,
Expand All @@ -17,6 +18,11 @@ export default defineConfig({
ignoreDeadLinks: true,
vite: {
plugins: [tailwindcss(), groupIconVitePlugin()],
resolve: {
alias: {
'@': fileURLToPath(new URL('../src', import.meta.url)),
},
},
},
srcDir: './src',
markdown: {
Expand Down Expand Up @@ -89,6 +95,12 @@ export default defineConfig({
{ text: 'Build iApp', link: '/build-iapp/what-is-iapp' },
{ text: 'Use iApp', link: '/use-iapp/introduction' },
{ text: 'Protocol', link: '/protocol/sdk' },
{
component: 'ChainSelector',
props: {
className: 'w-48',
},
},
],
outline: {
level: [2, 4],
Expand Down
8 changes: 7 additions & 1 deletion .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import 'virtual:group-icons.css';
import '@shikijs/vitepress-twoslash/style.css';
import { QueryClient, VueQueryPlugin } from '@tanstack/vue-query';
import { WagmiPlugin } from '@wagmi/vue';
import { wagmiAdapter } from '../../src/utils/wagmiConfig';
import { createPinia } from 'pinia';
import { wagmiAdapter } from '@/utils/wagmiConfig';
import ChainSelector from '@/components/ChainSelector.vue';
import './style.css';

export default {
Expand All @@ -19,11 +21,15 @@ export default {
app.use(TwoslashFloatingVue as any);

const queryClient = new QueryClient();
const pinia = createPinia();

app.use(pinia);
app.use(VueQueryPlugin, { queryClient });

app.use(WagmiPlugin, { config: wagmiAdapter.wagmiConfig });

app.component('ChainSelector', ChainSelector);

googleAnalytics({
id: 'GTM-P7KSD4T',
});
Expand Down
9 changes: 9 additions & 0 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@
--color-danger-2: var(--vp-c-red-2);
--color-danger-3: var(--vp-c-red-3);
--color-danger-soft: var(--vp-c-red-soft);

/* ShadCN */
--color-muted-foreground: var(--vp-c-text-3);
--color-ring: var(--vp-c-brand-2);
--color-destructive: var(--vp-c-red-2);
--color-popover: var(--vp-c-bg);
--color-popover-foreground: var(--vp-c-text-1);
--color-accent: var(--vp-c-bg-soft);
--color-accent-foreground: var(--vp-c-text-1);
}

:root {
Expand Down
20 changes: 20 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://shadcn-vue.com/schema.json",
"style": "new-york",
"typescript": true,
"tailwind": {
"config": "",
"css": "src/styles/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"composables": "@/composables",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib"
},
"iconLibrary": "iconify"
}
Loading