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

Deploy latest changes #143

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
72e7137
fix: remove layout max-witdh (#57)
Diogomartf Aug 24, 2023
3d10d1a
fix: add class to align text when address is filled (#114)
Diogomartf Oct 19, 2023
f701e9d
fix: remove safe from connect wallet list (#122)
Diogomartf Oct 20, 2023
0016c7c
[SWA-185][FEAT] - Strategies module + "Popular Strategies" tab (#123)
ElRodrigote Oct 20, 2023
66c3b02
feat: on stacks created show starts in X minutes our X hours (#116)
Diogomartf Oct 23, 2023
3257c5e
perf(STK-203): Improve RPC usage when using multicall (#120)
ElRodrigote Oct 23, 2023
24d0ecc
chore(STK-200): remove all the code related to NFT whitelist (#125)
ElRodrigote Oct 24, 2023
c73836e
[SWA-189][FIX] - update Stackbox labels to reflect selected tokens in…
ElRodrigote Oct 26, 2023
b4d80e0
[SWA-199][INFRA] - Track click events on Strategies (#127)
ElRodrigote Oct 30, 2023
9369c52
Update: text on preview stack, change "worth" to "swapping" (#128)
Diogomartf Oct 31, 2023
b5ca69a
update: show wrapped tokens instead of native tokens on account (#129)
Diogomartf Oct 31, 2023
6ddef2c
feat: search params state
berteotti Oct 25, 2023
826ceed
[SWA-198][INFRA] - Track click events on Landing page "Launch App" bu…
ElRodrigote Nov 2, 2023
7c0611e
feat: swap tokens when clicking stackbox arrow icon (#133)
Diogomartf Nov 2, 2023
54e24e5
update: add ellipsis to token amount input (#132)
Diogomartf Nov 2, 2023
9520128
Update: Stackbox limit decimals to 6 when selecting balance options o…
Diogomartf Nov 2, 2023
644eb37
[SWA-210][INFRA] - Update pipelines and monorepo build process (#134)
ElRodrigote Nov 3, 2023
feb52eb
1.1.0
berteotti Nov 9, 2023
0dd5818
refactor(STK-212) - Change FA implementation approach and add extra e…
ElRodrigote Nov 16, 2023
ecf7530
feat(SWA-206) - Reset stackbox on network switch or stack creation (#…
ElRodrigote Nov 17, 2023
a9a515e
chore: change from Erroring to Console when fathom site ID is missing…
ElRodrigote Nov 22, 2023
91ecfb3
styles(STK-188): Center dApp background image and update date pickers…
ElRodrigote Nov 29, 2023
1a1ee62
feat(STK-209): Enable select network without a connected wallet (#139)
ElRodrigote Dec 11, 2023
30d4ed9
fix(STK-216): Wrong AVG bought token price on executed orders table (…
ElRodrigote Dec 12, 2023
9a311d4
fix(STK-218): Stack orders should show the correct cow order status (…
ElRodrigote Dec 12, 2023
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: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: bun install --immutable

- name: 🛠️ Build
run: bun run build:app
run: bun run build

- name: 🚑 Typecheck
run: bun typecheck
Expand Down
3 changes: 0 additions & 3 deletions .yarnrc.yml

This file was deleted.

Binary file modified bun.lockb
Binary file not shown.
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stackly-ui",
"repository": "https://github.com/SwaprHQ/stackly-ui",
"version": "1.0.0",
"version": "1.1.0",
"license": "MIT",
"private": true,
"packageManager": "bun@1.0.6",
Expand All @@ -12,10 +12,12 @@
"packages/*"
],
"scripts": {
"build": "turbo run build",
"build:app": "cd packages/sdk && yarn typechain && turbo run build --filter=@stackly/sdk --filter=app",
"build:landing": "cd packages/sdk && yarn typechain && turbo run build --filter=@stackly/sdk --filter=landing",
"build": "cd packages/sdk && bun typechain && cd ../.. && turbo run build lint",
"build:app": "cd packages/sdk && bun typechain && turbo run build --filter=@stackly/sdk --filter=app",
"build:landing": "cd packages/sdk && bun typechain && turbo run build --filter=@stackly/sdk --filter=landing",
"dev": "turbo run dev",
"dev:app": "cd packages/app && turbo run dev",
"dev:landing": "cd packages/landing && turbo run dev",
"start": "turbo run start",
"lint": "turbo run lint",
"clean": "turbo run clean",
Expand All @@ -27,5 +29,8 @@
"eslint": "^8.28.0",
"eslint-config-turbo": "latest",
"turbo": "^1.9.4"
},
"dependencies": {
"fathom-client": "^3.6.0"
}
}
5 changes: 1 addition & 4 deletions packages/app/.env.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
NEXT_PUBLIC_ALCHEMY_KEY=
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=

NEXT_PUBLIC_DISCORD_WAITLIST_LINK=
NEXT_PUBLIC_ACTIVE_NFT_GATEKEEPING=
NEXT_PUBLIC_FATHOM_SITE_ID=

RPC_GNOSIS=
RPC_MAINNET=
RPC_MAINNET=
12 changes: 12 additions & 0 deletions packages/app/analytics/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export type EventName = string;

export const EVENTS = {
CLICK: {
STRATEGY_CARD: "click/strategy-card",
},
CREATE_FLOW: {
STACK_SUCCESS: "create-flow/stack-success",
STACKBOX_CONFIRM_CLICK: "create-flow/stackbox-confirm-click",
STACKBOX_STACK_CLICK: "create-flow/stackbox-stack-click",
},
};
28 changes: 0 additions & 28 deletions packages/app/analytics/fathom.ts

This file was deleted.

3 changes: 1 addition & 2 deletions packages/app/analytics/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from "./types";
export * from "./fathom";
export * from "./constants";
15 changes: 0 additions & 15 deletions packages/app/analytics/types.ts

This file was deleted.

15 changes: 10 additions & 5 deletions packages/app/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { PropsWithChildren } from "react";
import { Metadata } from "next";

import localFont from "next/font/local";
import { Metadata } from "next";

import { Navbar } from "@/components";
import { FathomAnalytics, Navbar } from "@/components";
import { Providers } from "@/providers";
import "@/styles/global.css";
import { STACKLY_APP_URL } from "@/constants";

import "@/styles/global.css";

const stabilGrotesk = localFont({
src: [
{
Expand Down Expand Up @@ -42,13 +44,16 @@ export const metadata: Metadata = {
},
};

const siteId = process.env.NEXT_PUBLIC_FATHOM_SITE_ID;

export default function RootLayout({ children }: PropsWithChildren) {
return (
<html lang="en" className={stabilGrotesk.variable}>
<body className="font-sans bg-fixed bg-surface-25 bg-auto-100 bg-matrix-and-green-gradient text-em-high">
<body className="font-sans bg-fixed bg-no-repeat bg-100-100 bg-surface-25 bg-matrix-and-green-gradient text-em-high">
<FathomAnalytics />
<Providers>
<Navbar />
<div className="px-4 mx-auto md:px-0">{children}</div>
<div className="px-4 py-12 mx-auto md:py-16 md:px-0">{children}</div>
</Providers>
</body>
</html>
Expand Down
Loading