-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(frontend): enable decentralization mode toggle while in library mode (#275) Co-authored-by: Federico Luzzi <[email protected]> * chore(frontend): v0.7.1 * feat(frontend): new links across the frontend (#276) * feat(frontend): new links across the frontend * chore(frontend): add landing page link to the footer * chore(frontend): add 'about' external landing page link to the navbar --------- Co-authored-by: Federico Luzzi <[email protected]> * fix(ui): disable click on tokens while loading (#278) * feat(frontend,ui): typography review (#277) * feat(frontend): new links across the frontend * chore(frontend): add landing page link to the footer * chore(frontend): add 'about' external landing page link to the navbar * feat(ui): new typography styles for both markdown and standard typography * feat(frontend): adapt frontend to new ui config * feat(ui): new line height for headings * chore(ui): slightly tweak headings letter spacing * fix(ui): make sure switzer font family is applied to markdown component's titles * feat(frontend): reduce carrot logo width in footer --------- Co-authored-by: Federico Luzzi <[email protected]> * chore(ui): v0.47.0 * feat(frontend): remove forced decentralization mode setting in library mode * chore(frontend): v0.7.2 * feat(frontend): new favicons (#279) * feat(frontend): new favicons * feat(frontend): new og thumb image --------- Co-authored-by: Federico Luzzi <[email protected]> * chore: upgrade dependencies (#280) Co-authored-by: Federico Luzzi <[email protected]> * chore(sdk): v1.27.4 * chore(ui): v0.47.1 * chore(react): v0.47.1 * chore(frontend): v0.7.3 * chore: explicity ts type imports * chore(sdk): v1.27.5 * chore(ui): v0.47.2 * chore(react): v0.47.2 * chore(frontend): v0.7.4 * feat(ui): update step card title sizes * chore(ui): v0.48.0 * fix(ui): fix select types (#281) * fix(ui): fix select types * fix(frontrend,ui): fix select typing --------- Co-authored-by: Federico Luzzi <[email protected]> * chore(ui): v0.48.1 * chore(frontend): v0.7.5 * chore(ui): fix types on select component * chore(ui): v0.48.2 * feat(ui): avoid dorcing text size reduction for headings on mobile * chore(ui): v0.48.3 * Fetch latest KPI tokens (#282) * feat(sdk): add fetchLatestKPITokenAddresses fetcher * fix(frontend): use new fetcher in the useLatestKPITokens hook * fix(sdk): sort the KPI token by asc * fix(frontend): reverse the latest KPI tokens array * refactor: replace slice with cast * refactor(sdk): move fetchers validation to common functions * feat(ui): typography update (#283) Co-authored-by: Federico Luzzi <[email protected]> * fix(frontend): remove minimum height on hero * fix(frontend): fix video not visible on safari in hero * Add default block explorers for supported chains (#284) * fix(frontend): add default block explorers for supported chains * chore: upgrade dependencies * chore: rollback to react-redux v8.0.7 * fix(ui): allow non serializable select values (#285) * fix(ui): allow non serializable select values * chore(ui): add use callback * fix(ui): remove extra check --------- Co-authored-by: Federico Luzzi <[email protected]> * chore(ui): v0.48.4 * chore(sdk): format currency amount instead of token amount * chore(sdk): v1.28.0 * fix(ui): fix sans body text typography config (#286) Co-authored-by: Federico Luzzi <[email protected]> * fix(ui): typography heading text size fix (#287) * fix(ui): fix sans body text typography config * chore(ui): v0.48.5 * fix(ui): fix heading typography config --------- Co-authored-by: Federico Luzzi <[email protected]> * chore(ui): v0.48.6 * fix(frontend): use ankr rpc for gnosis (#288) * Collateral recover transaction (#289) * feat(frontend): add ERC20 recover transaction types * feat(react): add recover ERC20 transaction types * feat(sdk): update KPI token abi * chore(sdk): v1.28.1 * chore(sdk): v0.48.0 * chore(frontend): v0.8.0 * Upgrade dependencies (#290) * chore: upgrade dependencies * fix: downgrade eslint-config-turbo to v1.10.3 * fix: lock eslint-config-turbo version * chore(sdk): v1.28.2 * chore(sdk): v1.28.2 * chore(ui): v0.48.7 * chore(react): v0.48.1 * chore(frontend): v0.8.1 * chore: upgrade deps (#291) * chore: upgrade patched dependencies * chore: upgrade minor deps * chore: upgrade remaining dependencies * chore: update peer dependencies and shared dependencies json --------- Co-authored-by: Federico Luzzi <[email protected]> * feat(react): avoid passing t function to federated components (#292) Co-authored-by: Federico Luzzi <[email protected]> * chore(react): v0.49.0 * chore(frontend): v0.9.0 * fix(subgraph): fix upgrade templates issue on subgraph (#294) * chore(subgraph): update abis * fix(subgraph): fix template upgrades overwriting previous template version --------- Co-authored-by: Federico Luzzi <[email protected]> * Revert "feat(react): avoid passing t function to federated components (#292)" (#295) This reverts commit a1d2d3c. Co-authored-by: Federico Luzzi <[email protected]> * chore(react): v0.50.0 * chore(frontend): v0.10.0 * feat(react): avoid passing t function to federated components (#292) (#296) Co-authored-by: Federico Luzzi <[email protected]> * Revert "feat(react): avoid passing t function to federated components (#292) (#296)" This reverts commit 1e75952. * chore: update addresses (#297) * chore(sdk): update addresses * chore(sdk): update abis * chore(subgraph): update gnosis addresses --------- Co-authored-by: Federico Luzzi <[email protected]> * chore(sdk): v1.29.0 * chore(ui): v0.48.8 * chore(react): v0.50.1 * chore(frontend): v0.11.0 * feat(react): avoid passing t function to federated components (#292) Co-authored-by: Federico Luzzi <[email protected]> * chore(react): v0.50.2 * chore(frontend): v0.11.1 * Revert "feat(react): avoid passing t function to federated components (#292)" This reverts commit 06ec417. * chore(react): v0.50.3 * chore(frontend): v0.11.2 * Css issue when loading ERC20 tokens (#293) * fix(ui): css issue when loading ERC20 tokens * fix(frontend): replace expired discord link * fix(frontend): minor css issue * Improve mobile menu, fix minor issues (#298) * feat(frontend): improve mobile side menu * fix(frontend): issues with the campaigns page * chore: update repo link * feat(frontend): mp4 source in hero video * feat: introduce new ipfs pinning proxy (#299) * feat: introduce new ipfs pinning proxy * chore(frontend): remove extra if --------- Co-authored-by: Federico Luzzi <[email protected]> * Avoid resolving all the KPI tokens at once (#300) * feat(frontend): avoid resolving all the kpi tokens at once * feat(frontend): responsiveness and style fixes and hide template filters on campaigns page * chore(frontend): ordering change in fathomrc * fix(frontend): avoid grid flashing when tokens have been fetched but not yet transformed into array --------- Co-authored-by: Federico Luzzi <[email protected]> * chore: upgrade patched dependencies * chore: upgrade minor dependencies and update storybook * chore: upgrade prettier and eslint * chore: update typescript eslint plugin * chore: upgrade more dependencies * chore: add changeset CI (#301) * chore: add changeset CI * docs: add CHANGELOG.md file with changeset info * chore: remove .yarn folder --------- Co-authored-by: Federico Luzzi <[email protected]> * chore: add first changeset --------- Co-authored-by: Federico Luzzi <[email protected]> Co-authored-by: Paolo Guerra <[email protected]>
- Loading branch information
1 parent
e1ec7d3
commit a31ed92
Showing
319 changed files
with
6,851 additions
and
5,278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@carrot-kpi/shared-state": minor | ||
"@carrot-kpi/host-frontend": minor | ||
"@carrot-kpi/react": minor | ||
"@carrot-kpi/sdk": minor | ||
"@carrot-kpi/ui": minor | ||
--- | ||
|
||
First changeset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
changesets: | ||
name: Changesets | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: Create release pull request or publish to npm | ||
id: changesets | ||
uses: changesets/action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Publish | ||
if: steps.changesets.outputs.hasChangesets == 'false' | ||
run: yarn changeset:publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Contributing | ||
|
||
This document contains information on how to get started contributing on the | ||
Carrot KPI monorepo. | ||
|
||
## Changesets | ||
|
||
To streamline the process of releasing new packages versions, the toolset | ||
offered by `changeset` can be used. For more information about `changeset`, you | ||
can visit their GitHub page [here](https://github.com/changesets/changesets). | ||
|
||
The following operations should be done: | ||
|
||
1. Create a new branch from `develop` | ||
2. Run `yarn changeset` and follow the intructions in the cli (the command | ||
should be run on one package at a time, this way we'll have a `CHANGELOG.md` | ||
file dedicated to each package). | ||
3. Open a new PR from `develop` targeting `main`, containing the files generated | ||
by the changeset commands | ||
|
||
At this point the [changeset bot](https://github.com/apps/changeset-bot) | ||
configured on the Github repository will comment the PR adding details about the | ||
provided changesets. Once the PR gets merged the GitHub workflow will consume | ||
all changesets, and update to the most appropriate semver version based on those | ||
changesets. It also writes changelog entries for each consumed changeset and | ||
publish any new version to npm. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"private": true, | ||
"name": "@carrot-kpi/v1-monorepo", | ||
"name": "@carrot-kpi/monorepo", | ||
"version": "1.0.0", | ||
"description": "A monorepo for Carrot v1 packages.", | ||
"author": "Federico Luzzi <[email protected]>", | ||
|
@@ -9,6 +9,7 @@ | |
"packages/*" | ||
], | ||
"scripts": { | ||
"changeset:publish": "yarn run build && changeset publish", | ||
"build": "turbo run build", | ||
"build:frontend-production": "turbo run build:production --filter @carrot-kpi/host-frontend", | ||
"build:frontend-staging": "turbo run build:staging --filter @carrot-kpi/host-frontend", | ||
|
@@ -19,15 +20,14 @@ | |
"start": "turbo run start", | ||
"test": "turbo run test", | ||
"size-limit": "turbo run size-limit", | ||
"release": "turbo run release", | ||
"commitlint": "commitlint -e", | ||
"prepare": "husky install" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.6.3", | ||
"@commitlint/config-conventional": "^17.6.3", | ||
"@changesets/cli": "^2.26.2", | ||
"@commitlint/cli": "^17.6.7", | ||
"@commitlint/config-conventional": "^17.6.7", | ||
"husky": "^8.0.1", | ||
"prettier": "^2.8.8", | ||
"turbo": "^1.9.4" | ||
"turbo": "^1.10.9" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ["custom"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
}, | ||
ignorePatterns: ["craco.config.js", "tailwind.config.js", "src/out"], | ||
extends: [ | ||
"custom", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
], | ||
plugins: ["react"], | ||
settings: { | ||
react: { | ||
version: "detect", | ||
}, | ||
}, | ||
rules: { | ||
"react/react-in-jsx-scope": "off", | ||
"space-before-function-paren": "off", | ||
"arrow-body-style": "off", | ||
"prefer-arrow-callback": "off", | ||
"react-hooks/exhaustive-deps": "error", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
"outDir": "./src/out/fathom", | ||
"events": [ | ||
"TX_ERC20_APPROVAL", | ||
"TX_KPI_TOKEN_CREATION", | ||
"TX_KPI_TOKEN_COLLATERAL_RECOVER", | ||
"TX_CUSTOM", | ||
"TX_KPI_TOKEN_REDEMPTION", | ||
"TX_ERC20_APPROVAL", | ||
"TX_ORACLE_FINALIZATION", | ||
"TX_CUSTOM" | ||
"TX_KPI_TOKEN_CREATION" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
a31ed92
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
host-frontend – ./packages/frontend
host-frontend-carrot-labs.vercel.app
host-frontend-git-main-carrot-labs.vercel.app
a31ed92
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ui – ./packages/ui
ui-git-main-carrot-labs.vercel.app
ui-carrot-labs.vercel.app
ui.carrot-kpi.dev