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(app): filter features #3646

Merged
merged 32 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
35800de
chore(app): pull schema
Swepool Jan 28, 2025
380386e
feat(app): add features query
Swepool Jan 28, 2025
f08bb1c
feat(app): filter features
Swepool Jan 28, 2025
aca41e1
fix(app): handle pixel graph error
Swepool Jan 28, 2025
22eabac
chore(app): schema
Swepool Jan 28, 2025
7830cf3
fix(app): add env
Swepool Jan 28, 2025
55bfba8
fix(app): use existing env
Swepool Jan 28, 2025
57da434
chore(app): pre commit
Swepool Jan 28, 2025
a025dd0
fix(app): add elgafar-1 leap info
Swepool Jan 28, 2025
9997a7e
chore(app): fmt
Swepool Jan 28, 2025
83e86b8
refactor(app): save progress
Swepool Feb 2, 2025
f4ff890
fix(app): schema and envs
Swepool Feb 3, 2025
9c49943
fix(app): env
Swepool Feb 2, 2025
233660f
fix(app): save and to trigger
Swepool Feb 3, 2025
df58b3b
fix(app): use seperate envs
Swepool Feb 3, 2025
181d3e4
fix(app): use transfer_submission
Swepool Feb 3, 2025
610e91a
fix(app): env at runtime
Swepool Feb 3, 2025
abf9a31
fix(app): sveltekit types
Swepool Feb 3, 2025
9db9bc8
fix(app): revert conf
Swepool Feb 3, 2025
0bec4de
chore(app): pre-commit
Swepool Feb 3, 2025
7268ffc
fix(app): workflow
Swepool Feb 3, 2025
8536af9
fix(app): test workflow
Swepool Feb 3, 2025
0628a98
fix(app): test
Swepool Feb 3, 2025
16d043e
fix(app): revert
Swepool Feb 3, 2025
838b4bc
fix(app): add env to nix
Swepool Feb 3, 2025
cbe4c63
fix(app): test move to build phase
Swepool Feb 3, 2025
cba7f5d
fix(app): show env for test
Swepool Feb 3, 2025
f4a0f01
fix(app): revert workflow
Swepool Feb 3, 2025
80d1834
fix(app): revert nix changes
Swepool Feb 3, 2025
421c007
fix(app): use url instead of env
Swepool Feb 3, 2025
118470d
fix(app): remove unused env
Swepool Feb 3, 2025
345c7f4
chore(app): fmt
Swepool Feb 3, 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
1 change: 1 addition & 0 deletions .github/workflows/deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,4 @@ jobs:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
run: npx --yes wrangler@latest pages --project-name="app" --branch="main" deploy result

9 changes: 8 additions & 1 deletion app/src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import type { LeapWindow } from "@leapwallet/types"
import type { AptosBrowserWallet } from "@unionlabs/client"
import type { Window as KeplrWindow } from "@keplr-wallet/types"

type FeaturesQuery = ReturnType<typeof enabledFeatures>
type Features = NonNullable<FeaturesQuery["data"]>["v1_ibc_union_chains"]

declare module "@tanstack/svelte-table" {
interface ColumnMeta<TData extends RowData, TValue> {
class: string
Expand All @@ -19,7 +22,11 @@ interface AptosWindow {
}

declare global {
namespace App {}
namespace App {
interface PageData {
features: Features
}
}

interface Window extends AptosWindow, KeplrWindow, LeapWindow, Browser, GoogleRecaptcha {
EventEmitter: typeof EventEmitter
Expand Down
296 changes: 20 additions & 276 deletions app/src/generated/graphql-env.d.ts

Large diffs are not rendered by default.

209 changes: 195 additions & 14 deletions app/src/generated/schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading