Skip to content
Merged
Show file tree
Hide file tree
Changes from 150 commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
f9939e9
feat: add data table component and integrate with apps route
ErwanDecoster Apr 30, 2025
daac74a
feat: add SearcherBar component and integrate it into apps and index …
ErwanDecoster Apr 30, 2025
048e909
refactor: remove unused Link import from columns.tsx
ErwanDecoster Apr 30, 2025
dc15279
feat: implement PaginatedNavigation component in AppsTable for pagina…
ErwanDecoster Apr 30, 2025
bfe4041
refactor: enhance pagination logic in PaginatedNavigation component f…
ErwanDecoster Apr 30, 2025
aa44344
refactor: adjust pagination logic in generatePaginationItems for impr…
ErwanDecoster Apr 30, 2025
a43e07d
fix: border transition looking bad
ErwanDecoster Apr 30, 2025
7026eae
refactor: update useAppsData to accept currentPage for dynamic data f…
ErwanDecoster Apr 30, 2025
bc1c2db
fix: add placeholderData to useQuery for improved data handling
ErwanDecoster Apr 30, 2025
c4c7665
refactor: wrap app name in a div and fixe is width
ErwanDecoster Apr 30, 2025
54b3344
fix: update TABLE_LENGTH to 16 for correct configuration
ErwanDecoster Apr 30, 2025
334af0a
refactor: remove AppsTable component and integrate its functionality …
ErwanDecoster Apr 30, 2025
633b2e7
feat: add Deals route with data fetching and pagination functionality
ErwanDecoster Apr 30, 2025
6389ebe
fix: rename taskQuery to tasksQuery for consistency in data fetching
ErwanDecoster Apr 30, 2025
bc0169d
refactor: reorganize imports and simplify conditional rendering in De…
ErwanDecoster Apr 30, 2025
d913a02
feat: implement Tasks route with data fetching, pagination, and task …
ErwanDecoster May 1, 2025
64a11f2
refactor: replace inline type definitions with GraphQL query types fo…
ErwanDecoster May 1, 2025
c88622b
fix: display workerpool description directly in the table instead of …
ErwanDecoster May 1, 2025
107359a
feat: add Workerpools route with data fetching, pagination, and table…
ErwanDecoster May 1, 2025
ebb7b3e
fix: wrap CopyButton in a div to set a fixed width for app name display
ErwanDecoster May 1, 2025
a0aa94f
fix: improve description display in workerpools table with consistent…
ErwanDecoster May 1, 2025
3c61cab
fix: replace CopyButton with conditional rendering for dataset name d…
ErwanDecoster May 1, 2025
05b2b85
feat: add Datasets route with data fetching, pagination, and table co…
ErwanDecoster May 1, 2025
7026fd1
fix: update PaginationEllipsis styling for better responsiveness
ErwanDecoster May 1, 2025
f3ef079
fix: update query state variables to indicate refetch and loading
ErwanDecoster May 1, 2025
4e9b092
fix: update loading indicator logic to show during loading or refetching
ErwanDecoster May 1, 2025
347109d
fix: adjust SearcherBar styling for improved layout and responsiveness
ErwanDecoster May 1, 2025
135bc85
fix: refactor SearcherBar layout for improved structure and styling
ErwanDecoster May 1, 2025
2a817d8
fix: adjust SearcherBar padding for improved layout consistency
ErwanDecoster May 1, 2025
c6cc91f
fix: simplify Button component structure in SearcherBar for cleaner code
ErwanDecoster May 1, 2025
4d207a2
fix: update PaginationPrevious and PaginationNext to use screen reade…
ErwanDecoster May 9, 2025
0cb3ff1
fix: refactor SearcherBar to improve button visibility and input clas…
ErwanDecoster May 14, 2025
cbbf3be
fix: update placeholder text in SearcherBar for clarity
ErwanDecoster May 14, 2025
92f5529
feat: rename folder
ErwanDecoster May 14, 2025
1f2f47d
feat: rename folder AppsTable/ to appTable/
ErwanDecoster May 14, 2025
258ea4f
fix: remove unnecessary 'use client' directive from multiple components
ErwanDecoster May 14, 2025
ae3cefc
feat: enhance DataTable component with tableLength and isLoading prop…
ErwanDecoster May 14, 2025
5745139
feat: move routes for apps, datasets, deals, tasks, and workerpools
ErwanDecoster May 14, 2025
2c784a1
fix: update destination paths for apps, datasets, deals, tasks, and w…
ErwanDecoster May 14, 2025
6053b75
feat: implement DataTable component and update routes to use it
ErwanDecoster May 14, 2025
2544b75
feat: replace useNavigate with Link in DataTable for improved navigation
ErwanDecoster May 14, 2025
69d3a3d
feat: refactor preview tables to use DataTable component for improved…
ErwanDecoster May 14, 2025
e6f90c9
fix: prevent default button behavior in CopyButton component
ErwanDecoster May 14, 2025
13d9030
feat: rename WorkerpoolsPreviewTable component and update import path
ErwanDecoster May 14, 2025
e81759b
fix: update import path for WorkerpoolsPreviewTable component
ErwanDecoster May 14, 2025
3e38af9
feat: add routes for datasets, deals, tasks, and workerpools with dat…
ErwanDecoster May 15, 2025
5bfa26e
refactor: remove unused AppsTable component and related code
ErwanDecoster May 15, 2025
4c04d5f
feat: add NextApps, NextDatasets, NextDeals, NextTasks, and NextWorke…
ErwanDecoster May 15, 2025
fa09d87
fix: update import path for WorkerpoolsPreviewTable component
ErwanDecoster May 15, 2025
aca2247
chore: update @radix-ui/react-slot version to 1.2.2 in package.json a…
ErwanDecoster May 16, 2025
960cf5d
feat: update pagination logic in multiple routes to adjust current pa…
ErwanDecoster May 16, 2025
9297649
feat: add ChainSelector component and integrate new chain Arbitrum Se…
ErwanDecoster May 20, 2025
6d5ccc5
fix: update danger color variables for improved accessibility
ErwanDecoster May 20, 2025
fbdff62
fix: replace Terminal icon with AlertOctagon in UnsupportedChain comp…
ErwanDecoster May 20, 2025
1ab0508
fix: adjust border radius and add left border to destructive alert va…
ErwanDecoster May 20, 2025
e8a808d
fix: remove Avalanche Fuji from configuration
ErwanDecoster May 20, 2025
ceef12b
fix: add color property to chain objects and update background color …
ErwanDecoster May 20, 2025
d956d68
feat: integrate subgraph URL management in user store and update quer…
ErwanDecoster May 20, 2025
664128a
fix: add query client initialization and invalidate queries in useSyn…
ErwanDecoster May 20, 2025
8fb7be5
Merge branch 'feature/add-main-pages' into feature/chain-switch
ErwanDecoster May 20, 2025
463d0f8
fix: update useUserStore import and refactor query execution in Tasks…
ErwanDecoster May 20, 2025
4c9dd9c
fix: update query execution in apps, datasets, deals, tasks, and work…
ErwanDecoster May 20, 2025
b5a3bcd
fix: update query execution in preview tables to include chainId in q…
ErwanDecoster May 20, 2025
02c5cc4
Merge branch 'main' into feature/chain-switch
ErwanDecoster May 21, 2025
8b939d7
fix: update query execution in WorkerpoolsPreviewTable to include cha…
ErwanDecoster May 21, 2025
428267b
fix: temps renaming
ErwanDecoster May 21, 2025
7af8875
fix: rename WorkerpoolsPreviewTable
ErwanDecoster May 21, 2025
5532f01
fix: correct import path for WorkerpoolsPreviewTable
ErwanDecoster May 21, 2025
067cbe9
fix: update ChainSelector to handle chainId as a required number
ErwanDecoster May 21, 2025
577a337
fix: update useSyncAccountWithUserStore to set chainId only when curr…
ErwanDecoster May 21, 2025
75b437a
fix: refactor to use chainId instead of subgraphUrl in various compon…
ErwanDecoster May 22, 2025
6c83ccf
fix: update subgraphUrl for Arbitrum Sepolia in SUPPORTED_CHAINS
ErwanDecoster May 22, 2025
9870248
fix: simplify ChainSelector by removing local state and using chainId…
ErwanDecoster May 22, 2025
cdac27a
feat: implement dynamic routes for chain-specific apps, datasets, tas…
ErwanDecoster May 22, 2025
ce5577f
feat: add missing deals page, lost during merge
ErwanDecoster May 22, 2025
862ac61
fix: import filename casing issue
PierreJeanjacquot May 22, 2025
2c62fc9
fix: make displayText optional in CopyButton component
ErwanDecoster May 26, 2025
64c0af1
fix: update DataTable and Table components for improved styling; enha…
ErwanDecoster May 26, 2025
318bdef
feat: implement deal details and tasks tables
ErwanDecoster May 27, 2025
772e3a3
fix: update TableCell and buildDealDetails components to use <p> tags…
ErwanDecoster May 27, 2025
b6826d6
fix: update TableCell component to use inline-flex for improved layout
ErwanDecoster May 27, 2025
51ca8f1
fix: remove GPT comment from blockExplorerUrl declaration
ErwanDecoster May 27, 2025
25a5b3b
fix: refactor SmartLinkGroup to use dynamic block explorer URL and im…
ErwanDecoster May 27, 2025
d3eea77
fix: rename dealTaskQuery to dealTasksQuery
ErwanDecoster May 27, 2025
26b164c
fix: update label in SmartLinkGroup to use dataset address instead of…
ErwanDecoster May 27, 2025
22f61cb
fix: update DealTasksTable and buildDealDetails to handle error state…
ErwanDecoster May 28, 2025
7da605d
feat: add dataset details and dataset deals functionality
ErwanDecoster May 28, 2025
bfb1a4b
feat: implement ErrorAlert component and replace inline error handlin…
ErwanDecoster May 28, 2025
5a159f1
feat: update DatasetDealsTable to filter out 'dealid' column and enha…
ErwanDecoster May 28, 2025
f214340
feat: add Workerpool details and deals functionality with GraphQL que…
ErwanDecoster May 28, 2025
fe38422
feat: implement app details and app deals functionality with GraphQL …
ErwanDecoster May 28, 2025
7de09d4
feat: add task details page with GraphQL query and components, includ…
ErwanDecoster Jun 2, 2025
72f9171
refactor: clean up formatting in buildAppDetails and AppsRoute compon…
ErwanDecoster Jun 2, 2025
c4806d1
feat: refactor event components for better modularity and readability
ErwanDecoster Jun 3, 2025
e193ca3
feat: add task link type and update block explorer functionality in S…
ErwanDecoster Jun 3, 2025
19d2c8c
feat: replace inline JSON display with JsonBlock component in buildDe…
ErwanDecoster Jun 3, 2025
1787efe
feat: add transaction details and event queries
ErwanDecoster Jun 3, 2025
50d8846
refactor: remove debug log from buildAppDetails function
ErwanDecoster Jun 3, 2025
ae5d8c4
fix: update DealEventProps structure and adjust SmartLinkGroup types …
ErwanDecoster Jun 4, 2025
efe2b1b
feat: Add address details page with queries for beneficiary deals, re…
ErwanDecoster Jun 4, 2025
52e720b
Merge branch 'main' into feature/add-details-page
ErwanDecoster Jun 4, 2025
f68661c
fix: regenerate routeTree
ErwanDecoster Jun 4, 2025
de31e4e
refactor: re generate gql file
ErwanDecoster Jun 4, 2025
fc1f1b1
fix: remove redundant code in TasksPreviewTable component
ErwanDecoster Jun 4, 2025
d126adc
fix: make deal prop optional in DealEvent component
ErwanDecoster Jun 4, 2025
433f2a9
fix: include currentPage in queryKey for beneficiaryDeals requestedDe…
ErwanDecoster Jun 5, 2025
3a6ec8d
fix: update TableCell height in DataTable component to avoid deferent…
ErwanDecoster Jun 5, 2025
4c9a5e5
feat: add appPrice, datasetPrice, and workerpoolPrice to AddressBenef…
ErwanDecoster Jun 5, 2025
cf214f1
feat: add AddressContribution and NextAddressContribution queries and…
ErwanDecoster Jun 5, 2025
64caa1f
fix: remove console.log statements from AddressBeneficiaryDealsTable,…
ErwanDecoster Jun 5, 2025
acadbc3
feat: add AddressApps and NextAddressApps queries and corresponding A…
ErwanDecoster Jun 5, 2025
a37ca00
feat: add Address Datasets and Workerpools tables with corresponding …
ErwanDecoster Jun 5, 2025
eef5669
fix: remove redundant deployed apps display in AddressRoute component
ErwanDecoster Jun 5, 2025
8b1e33b
feat: enhance Tabs component with disabled states and tooltips based …
ErwanDecoster Jun 5, 2025
24758b7
fix: update import from multiaddr to @multiformats/multiaddr and adju…
ErwanDecoster Jun 5, 2025
b18a792
fix: adjust ChainLink component to take for width in DataTable
ErwanDecoster Jun 5, 2025
ef43122
feat: replace address display with SmartLinkGroup component in buildA…
ErwanDecoster Jun 5, 2025
d1008be
fix: format count display for address details to handle large numbers
ErwanDecoster Jun 5, 2025
77b576a
refactor: remove unused tab styles and add cursor pointer to buttons
ErwanDecoster Jun 5, 2025
4e67fb7
feat: integrate StatusCell component for task status display in build…
ErwanDecoster Jun 5, 2025
2151b43
refactor: remove unused import of SUPPORTED_CHAINS in useUser.store
ErwanDecoster Jun 5, 2025
c6da540
fix: update rlcToNrlc function to support bigint input and return type
ErwanDecoster Jun 6, 2025
d860b6a
feat: update SearcherBar to display user activity link based on user …
ErwanDecoster Jun 6, 2025
7a51240
feat: implement ClaimButton component and integrate it into task and …
ErwanDecoster Jun 6, 2025
4479562
chore: add TODO entry to .gitignore
ErwanDecoster Jun 6, 2025
e44bd7c
refactor: update GraphQL types and improve type safety across components
ErwanDecoster Jun 6, 2025
758e93c
fix: separate build and type check scripts in package.json
ErwanDecoster Jun 9, 2025
fdc976a
fix: correct deadline and add loading indicator
ErwanDecoster Jun 9, 2025
cc21ae5
style: adjust padding and layout in Navbar, SearcherBar, and Root com…
ErwanDecoster Jun 9, 2025
ee7c553
style: adjust spacing and layout for headers in various route components
ErwanDecoster Jun 9, 2025
b73ca79
style: fix spacing in TableCell component className
ErwanDecoster Jun 10, 2025
6d02b7b
feat: add DownloadResult component for downloading task results from …
ErwanDecoster Jun 10, 2025
87c539e
style: refactor layout of App and Dataset details headers for improve…
ErwanDecoster Jun 11, 2025
866446d
feat: implement account management layout with tabs and stepper for d…
ErwanDecoster Jun 11, 2025
c5e1892
feat: enhance account management with deposit/withdraw functionality …
ErwanDecoster Jun 16, 2025
13694e5
feat: update query keys to include chainId and improve tab navigation…
ErwanDecoster Jun 16, 2025
06be888
style: fix className order in Stepper component for consistency
ErwanDecoster Jun 17, 2025
4fb50c3
feat: add IexecAccountIcon and WalletIcon components; enhance account…
ErwanDecoster Jun 17, 2025
16f601e
fix: ensure non-null assertion for chainId and userAddress; improve m…
ErwanDecoster Jun 17, 2025
d8b32bf
feat: move Coingecko URL to config file; enhance error handling in ac…
ErwanDecoster Jun 17, 2025
4100d36
fix: temp rename of IexecAccountIcon
ErwanDecoster Jun 17, 2025
3185c82
fix: rename IexecAccountIcon component and update import in account l…
ErwanDecoster Jun 17, 2025
74da18b
Merge branch 'main' into feature/add-account-page
ErwanDecoster Jun 17, 2025
4bde996
refactor: remove unused routes from ChainSlug layout
ErwanDecoster Jun 17, 2025
16e6da7
fix: addressAddress page merge
ErwanDecoster Jun 17, 2025
c43a817
fix: update button background color in SearcherBar component
ErwanDecoster Jun 18, 2025
09df20f
fix: replace div with span for wallet and account icons in RouteCompo…
ErwanDecoster Jun 18, 2025
ec601e8
fix: update SVG attributes to camelCase in IexecAccountIcon and Walle…
ErwanDecoster Jun 18, 2025
1c00197
fix: add wallet connection prompt in RouteComponent when user is not …
ErwanDecoster Jun 18, 2025
8f6bc8d
Merge branch 'main' into feature/add-account-page
ErwanDecoster Jun 18, 2025
283828c
fix: update token references to use dynamic token symbols across comp…
ErwanDecoster Jun 20, 2025
041d053
fix: handle non-numeric and non-positive strict values
ErwanDecoster Jun 20, 2025
e4f30b0
fix: handle non-numeric and non-positive strict values
ErwanDecoster Jun 20, 2025
80f8329
fix: remove error alerts for RLC price for total deposits and withdra…
ErwanDecoster Jun 20, 2025
3ecde76
fix: update GitHub Actions workflow to trigger on pull requests and e…
ErwanDecoster Jun 20, 2025
82d4353
Merge branch 'feature/add-account-page' of https://github.com/iExecBl…
ErwanDecoster Jun 20, 2025
18246b9
fix: update GitHub Actions workflow to not trigger on pull requests a…
ErwanDecoster Jun 20, 2025
904729c
fix: change input type for deposit and withdraw amounts to text for b…
ErwanDecoster Jun 20, 2025
d4a3681
fix: update rlcToNrlc function to use big.js for improved precision a…
ErwanDecoster Jun 20, 2025
ece0f09
fix: update deposit and withdraw mutation checks to validate amounts …
ErwanDecoster Jun 20, 2025
4736095
fix: replace totalToDeposit and totalToWithdraw with walletBalance an…
ErwanDecoster Jun 20, 2025
bf6f2cd
Merge branch 'main' into feature/add-account-page
ErwanDecoster Jun 24, 2025
512e7d5
fix: remove unused intermediary color variables from CSS
ErwanDecoster Jun 24, 2025
50ad0db
fix: correct variable name for account staked balance refetch function
ErwanDecoster Jun 24, 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
70 changes: 70 additions & 0 deletions src/components/Stepper.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import { cn } from '@/lib/utils';
import { Check } from 'lucide-react';
import React from 'react';

type StepperProps = {
classname: string;
currentStep: number;
steps: string[];
};

export const Stepper: React.FC<StepperProps> = ({
classname,
currentStep,
steps,
}) => {
const stepsNb = steps.length;

return (
<div
className={cn('grid gap-y-4', classname)}
style={{
gridTemplateColumns: `repeat(${stepsNb}, minmax(0, 1fr))`,
maxWidth: stepsNb * 350,
}}
aria-label="Progress indicator"
>
{steps.map((step, index) => {
const isActive = currentStep >= index;
const isCompleted = currentStep > index;

return (
<div key={step} className="flex w-full flex-col items-center">
<div className="relative w-full">
{index < stepsNb - 1 && (
<span
className={cn(
'absolute top-1/2 right-0 h-px w-1/2 translate-x-1/2 -translate-y-1/2 rounded-full',
isCompleted ? 'bg-white' : 'bg-grey-400'
)}
/>
)}
<div
className={cn(
'mx-auto flex size-8 items-center justify-center rounded-full',
isActive ? 'bg-white text-black' : 'bg-grey-700',
isCompleted && 'bg-primary text-black'
)}
aria-label={`Step ${index + 1}`}
>
{isCompleted ? (
<Check size="16" strokeWidth="2.5" />
) : (
index + 1
)}
</div>
</div>
<span
className={cn(
'mt-2 text-center',
isActive ? 'text-white' : 'text-grey-500'
)}
>
{step}
</span>
</div>
);
})}
</div>
);
};
58 changes: 58 additions & 0 deletions src/components/icons/IexecAccountIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
const IexecAccountIcon = ({ size = 20, className = '' }) => (
<svg
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M15.4675 11.3324H15.3194C14.5782 11.4065 14.0593 11.9995 14.1334 12.7406C14.1334 12.8888 14.0593 13.1112 13.911 13.1853C13.8369 13.2594 13.7628 13.2594 13.6144 13.2594C13.5404 13.2594 13.4663 13.2594 13.392 13.1853C13.1696 13.0371 12.9474 12.9629 12.6509 12.9629H12.5027C11.7615 13.037 11.2426 13.63 11.3167 14.3711C11.3167 14.5936 11.2426 14.7417 11.0943 14.8158C11.0202 14.8899 10.9461 14.8899 10.7978 14.8899C10.7237 14.8899 10.6496 14.8899 10.5753 14.8158C10.3529 14.6676 10.1307 14.5934 9.90827 14.5934C9.1671 14.5934 8.5741 15.1864 8.5741 15.9275C8.5741 16.6687 9.1671 17.2617 9.90827 17.2617H10.0564C10.7235 17.1876 11.1682 16.6687 11.2424 16.0757V15.8533C11.2424 15.7051 11.3165 15.4827 11.4649 15.4086C11.5389 15.3345 11.613 15.3345 11.7614 15.3345C11.8354 15.3345 11.9095 15.3345 11.9838 15.4086C12.2062 15.5568 12.4284 15.631 12.7249 15.631H12.8731C13.5402 15.557 13.9848 15.038 14.0591 14.445V14.2226C14.0591 14.0002 14.1332 13.852 14.2815 13.7779C14.3556 13.7039 14.4297 13.7039 14.578 13.7039C14.6521 13.7039 14.7262 13.7039 14.8005 13.7779C15.0229 13.9261 15.2451 14.0004 15.5416 14.0004C16.2828 14.0004 16.8758 13.4074 16.8758 12.6662C16.8017 11.925 16.2087 11.332 15.4675 11.332"
fill="#FCD15A"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M15.4674 11.3324H15.3193C14.5781 11.4065 14.0592 11.9995 14.1333 12.7406C14.1333 12.8888 14.0592 13.1112 13.9108 13.1853C13.8367 13.2594 13.7627 13.2594 13.6143 13.2594C13.5402 13.2594 13.4662 13.2594 13.3919 13.1853C13.1695 13.0371 12.9472 12.9629 12.6507 12.9629H12.5026C11.7614 13.037 11.2425 13.63 11.3166 14.3711C11.3166 14.5936 11.2425 14.7417 11.0942 14.8158C11.0201 14.8899 10.946 14.8899 10.7976 14.8899C10.7236 14.8899 10.6495 14.8899 10.5752 14.8158C10.3528 14.6676 10.1306 14.5934 9.90814 14.5934C9.16698 14.5934 8.57397 15.1864 8.57397 15.9275C8.57397 16.6687 9.16698 17.2617 9.90814 17.2617H10.0563C10.7234 17.1876 11.168 16.6687 11.2423 16.0757V15.8533C11.2423 15.7051 11.3164 15.4827 11.4647 15.4086C11.5388 15.3345 11.6129 15.3345 11.7612 15.3345C11.8353 15.3345 11.9094 15.3345 11.9837 15.4086C12.2061 15.5568 12.4283 15.631 12.7248 15.631H12.873C13.5401 15.557 13.9847 15.038 14.059 14.445V14.2226C14.059 14.0002 14.1331 13.852 14.2814 13.7779C14.3555 13.7039 14.4296 13.7039 14.5779 13.7039C14.652 13.7039 14.7261 13.7039 14.8003 13.7779C15.0228 13.9261 15.245 14.0004 15.5415 14.0004C16.2827 14.0004 16.8757 13.4074 16.8757 12.6662C16.8016 11.925 16.2086 11.332 15.4674 11.332"
fill="#FCD15A"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M12.6508 9.62518H12.5027C11.7615 9.69926 11.2426 10.2923 11.3167 11.0334C11.3167 11.2559 11.2426 11.404 11.0943 11.4781C11.0202 11.5522 10.9461 11.5522 10.7978 11.5522C10.7237 11.5522 10.6496 11.5522 10.5753 11.4781C10.3529 11.3299 10.1307 11.2557 9.83417 11.2557H9.68601C9.01892 11.3298 8.5 11.9228 8.5 12.5898C8.5 13.331 9.093 13.924 9.83417 13.924H9.98233C10.6494 13.8499 11.0941 13.331 11.1683 12.738V12.5156C11.1683 12.2932 11.2424 12.145 11.3908 12.0709C11.4648 11.9968 11.5389 11.9968 11.6873 11.9968C11.7613 11.9968 11.8354 11.9968 11.9097 12.0709C12.1321 12.2191 12.3543 12.2933 12.6508 12.2933H12.799C13.4661 12.2193 13.985 11.6263 13.985 10.9592C13.985 10.218 13.392 9.625 12.6508 9.625"
fill="#FCD15A"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M12.6508 9.62518H12.5027C11.7615 9.69926 11.2426 10.2923 11.3167 11.0334C11.3167 11.2559 11.2426 11.404 11.0943 11.4781C11.0202 11.5522 10.9461 11.5522 10.7978 11.5522C10.7237 11.5522 10.6496 11.5522 10.5753 11.4781C10.3529 11.3299 10.1307 11.2557 9.83417 11.2557H9.68601C9.01892 11.3298 8.5 11.9228 8.5 12.5898C8.5 13.331 9.093 13.924 9.83417 13.924H9.98233C10.6494 13.8499 11.0941 13.331 11.1683 12.738V12.5156C11.1683 12.2932 11.2424 12.145 11.3908 12.0709C11.4648 11.9968 11.5389 11.9968 11.6873 11.9968C11.7613 11.9968 11.8354 11.9968 11.9097 12.0709C12.1321 12.2191 12.3543 12.2933 12.6508 12.2933H12.799C13.4661 12.2193 13.985 11.6263 13.985 10.9592C13.985 10.218 13.392 9.625 12.6508 9.625"
fill="#FCD15A"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8.5 9.33417C8.5 10.0753 9.093 10.6683 9.83417 10.6683C10.5753 10.6683 11.1683 10.0753 11.1683 9.33417C11.1683 8.593 10.5753 8 9.83417 8C9.093 8 8.5 8.593 8.5 9.33417Z"
fill="#FCD15A"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8.5 9.33417C8.5 10.0753 9.093 10.6683 9.83417 10.6683C10.5753 10.6683 11.1683 10.0753 11.1683 9.33417C11.1683 8.593 10.5753 8 9.83417 8C9.093 8 8.5 8.593 8.5 9.33417Z"
fill="#FCD15A"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M12.0031 4C7.33814 4 3.5 7.77913 3.5 12.4441C3.5 17.1091 7.33829 20.8882 12.0031 20.8882C13.125 20.8882 14.2471 20.652 15.31 20.2387C18.4396 18.9396 20.5064 15.869 20.5064 12.5031C20.5654 7.77913 16.7271 4 12.0031 4Z"
stroke="#FCD15A"
strokeWidth="1.59441"
strokeLinecap="round"
stroke-linejoin="round"
/>
</svg>
);

export default IexecAccountIcon;
34 changes: 34 additions & 0 deletions src/components/icons/WalletIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
const WalletIcon = ({ size = 20, className = '' }) => (
<svg
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<path
d="M18.9617 5.46094H5.03832C3.9126 5.46094 3 6.37354 3 7.49926V16.4993C3 17.625 3.9126 18.5376 5.03832 18.5376H18.9617C20.0874 18.5376 21 17.625 21 16.4993V7.49926C21 6.37354 20.0874 5.46094 18.9617 5.46094Z"
stroke="#FCD15A"
strokeWidth="1.56"
strokeLinecap="round"
stroke-linejoin="round"
/>
<path
d="M21 9.96019C21 8.83447 20.0874 7.92188 18.9617 7.92188H5.03832C3.9126 7.92188 3 8.83447 3 9.96019"
stroke="#FCD15A"
strokeWidth="1.56"
strokeLinecap="round"
stroke-linejoin="round"
/>
<path
d="M21 12.5383C21 11.4126 20.0874 10.5 18.9617 10.5H15.4116C15.1471 10.5 14.8924 10.6001 14.6986 10.7802L12.713 12.6257C12.311 12.9992 11.689 12.9992 11.287 12.6257L9.30144 10.7802C9.10764 10.6001 8.853 10.5 8.5884 10.5H5.03832C3.9126 10.5 3 11.4126 3 12.5383"
stroke="#FCD15A"
strokeWidth="1.56"
strokeLinecap="round"
stroke-linejoin="round"
/>
</svg>
);

export default WalletIcon;
3 changes: 2 additions & 1 deletion src/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ const buttonVariants = cva(
'from-primary text-primary hover:before:bg-muted relative z-0 overflow-hidden bg-gradient-to-b to-primary before:absolute before:inset-px before:-z-10 before:rounded-[29px] before:bg-[#322B1E] before:duration-300',
},
size: {
default: 'h-9 px-4 py-2 has-[>svg]:px-3 rounded-full',
xs: 'h-6 rounded-full px-2 text-xs has-[>svg]:px-1.5 gap-1',
sm: 'h-8 rounded-full gap-1.5 px-3 has-[>svg]:px-2.5',
default: 'h-9 px-4 py-2 has-[>svg]:px-3 rounded-full',
lg: 'h-10 rounded-md px-6 has-[>svg]:px-4',
icon: 'size-9 rounded-md',
},
Expand Down
4 changes: 4 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const PREVIEW_TABLE_REFETCH_INTERVAL = 10_000;
export const TABLE_REFETCH_INTERVAL = 10_000;

export const IPFS_GATEWAY_URL = 'https://ipfs.iex.ec';
export const API_COINGECKO_URL = 'https://api.coingecko.com/api/v3/simple/';

export const SUPPORTED_CHAINS = [
{
Expand All @@ -19,6 +20,9 @@ export const SUPPORTED_CHAINS = [
icon: iexecLogo,
blockExplorerUrl: 'https://blockscout-bellecour.iex.ec',
subgraphUrl: 'https://thegraph.iex.ec/subgraphs/name/bellecour/poco-v5',
bridge: 'https://bridge-bellecour.iex.ec/',
bridgeInformation:
'Move your xRLC/RLC in your wallet between iExec Sidechain and Ethereum Mainnet with our bridge.',
wagmiNetwork: bellecour,
},
{
Expand Down
5 changes: 4 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,15 @@
--muted: var(--color-grey-700);
--muted-foreground: var(--color-grey-300);

/* --intermediary: var(--color-grey-400);
--intermediary-foreground: var(--color-grey-600); */

--accent: var(--color-grey-700);
--accent-foreground: var(--color-white);

--destructive: var(--color-red-500);
--border: var(--color-white);
--input: var(--color-grey-700);
--input: var(--color-grey-400);
--ring: var(--color-primary);

--chart-1: oklch(0.488 0.243 264.376);
Expand Down
4 changes: 2 additions & 2 deletions src/modules/SearcherBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function SearcherBar({ className }: { className?: string }) {
<div className="relative w-full">
<Input
className={cn(
'bg-input border-secondary w-full rounded-2xl py-5.5 pl-12 sm:py-6.5',
'bg-muted border-secondary w-full rounded-2xl py-5.5 pl-12 sm:py-6.5',
isConnected && 'sm:pr-32'
)}
placeholder="Search address or id or transaction"
Expand All @@ -25,7 +25,7 @@ export function SearcherBar({ className }: { className?: string }) {
{isConnected && (
<Button
variant="outline"
className="bg-input hover:bg-secondary absolute top-1/2 right-4 hidden -translate-y-1/2 sm:flex"
className="bg-muted hover:bg-secondary absolute top-1/2 right-4 hidden -translate-y-1/2 sm:flex"
asChild
>
<ChainLink to={`/address/${userAddress}`}>My activity</ChainLink>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function Tabs({
disabledReasons = {},
}: TabsProps) {
return (
<div className="flex items-center gap-6">
<div className="-mb-2 flex items-center gap-6 overflow-x-auto pb-2">
{tabLabels.map((label, index) => {
const isDisabled = disabledTabs.includes(index);
const reason = disabledReasons[index];
Expand Down
27 changes: 27 additions & 0 deletions src/modules/account/AccountBreadcrumbs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { ChainLink } from '@/components/ChainLink';
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbPage,
BreadcrumbSeparator,
} from '@/components/ui/breadcrumb';

export function AccountBreadcrumbs() {
return (
<Breadcrumb>
<BreadcrumbList>
<BreadcrumbItem>
<BreadcrumbLink asChild>
<ChainLink to="/">Homepage</ChainLink>
</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />
<BreadcrumbItem>
<BreadcrumbPage>Account</BreadcrumbPage>
</BreadcrumbItem>
</BreadcrumbList>
</Breadcrumb>
);
}
Loading