-
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): implement featured KPI tokens (#321) * chore: version packages (#323) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Avoid fetching all KPIs tokens if the blacklist is empty (#324) * fix(frontend): avoid fetching all KPI tokens if the blacklist is empty * docs: add changeset * Implement blacklisted KPI tokens filter (#325) * feat(sdk): implement blacklisted KPI tokens filters * docs: add changeset * refactor(frontend): move blacklist fetch to dedicated hook, use new static links * feat(react): add blacklist param to KPI token hooks * refactor(sdk): remove blacklist fetch, add optional blacklist param to fetchers * docs: add changesets * Replace __DEV__ env with __PROD__ (#326) * refactor(frontend): replace __DEV__ env with __PROD__ * docs: add changeset * docs: update changeset file * fix(frontend): set __PROD__ to false in rollup config * Fix error svg icon (#327) * fix(ui): wrap error svg icon * docs: add changeset * Upgrade dependencies (#328) * chore: upgrade dependencies * feat(frontend): upgrade shared dependencies versions * docs: add changeset * feat(sdk): make library tree shakeable (#331) * chore(sdk): move tests in dedicated folder * chore(sdk): flatten module structure * chore(sdk): fix broken import paths * chore(sdk): make the package tree shakeable * chore(frontend): use esbuild instead of terser to minify build * chore(sdk): fix liting issues * chore(frontend): minimize css * chore(frontend): remove console log --------- Co-authored-by: luzzifoss <[email protected]> * chore(frontend): fix domain typo * fix(frotnend): lint error (#332) * chore(ui): flatten structure and make package tree shakeable (#333) Co-authored-by: luzzifoss <[email protected]> * chore(react): flatten file structure and make library tree shakeable (#334) * chore(react): flatten file structure and make library tree shakeable * chore(frontend): lower size limit --------- Co-authored-by: luzzifoss <[email protected]> --------- Co-authored-by: Paolo Guerra <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: luzzifoss <[email protected]>
- Loading branch information
1 parent
ebddc71
commit deae513
Showing
162 changed files
with
1,664 additions
and
487 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,5 @@ | ||
--- | ||
"@carrot-kpi/sdk": minor | ||
--- | ||
|
||
Make the SDK package tree shakeable |
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,8 @@ | ||
--- | ||
"@carrot-kpi/host-frontend": minor | ||
"@carrot-kpi/react": minor | ||
"@carrot-kpi/sdk": minor | ||
"@carrot-kpi/ui": minor | ||
--- | ||
|
||
Upgrade dependencies |
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,5 @@ | ||
--- | ||
"@carrot-kpi/host-frontend": minor | ||
--- | ||
|
||
Use ESBuild instead of Terser to minify build |
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,5 @@ | ||
--- | ||
"@carrot-kpi/sdk": patch | ||
--- | ||
|
||
Move tests in dedicated tests folder |
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,5 @@ | ||
--- | ||
"@carrot-kpi/ui": minor | ||
--- | ||
|
||
Flatten package file structure and make it tree shakeable |
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,5 @@ | ||
--- | ||
"@carrot-kpi/ui": patch | ||
--- | ||
|
||
Fix an issue with the svg error icon of the inputs components |
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,5 @@ | ||
--- | ||
"@carrot-kpi/host-frontend": patch | ||
--- | ||
|
||
Replace `__DEV__` env with `__PROD__` and fix carrot domain configuration |
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,5 @@ | ||
--- | ||
"@carrot-kpi/react": minor | ||
--- | ||
|
||
Add optional blacklist param to KPI token hooks |
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,5 @@ | ||
--- | ||
"@carrot-kpi/host-frontend": minor | ||
--- | ||
|
||
Minify CSS |
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,5 @@ | ||
--- | ||
"@carrot-kpi/host-frontend": patch | ||
--- | ||
|
||
Avoid fetching all KPI tokens as featured when the blacklist is empty |
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,5 @@ | ||
--- | ||
"@carrot-kpi/sdk": patch | ||
--- | ||
|
||
Flattened module structure |
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,6 @@ | ||
--- | ||
"@carrot-kpi/host-frontend": minor | ||
"@carrot-kpi/react": minor | ||
--- | ||
|
||
Flatten React library file structure and make it tree shakeable |
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,5 @@ | ||
--- | ||
"@carrot-kpi/sdk": minor | ||
--- | ||
|
||
Implement the KPI tokens blacklist filters in the fetcher |
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,5 @@ | ||
--- | ||
"@carrot-kpi/host-frontend": minor | ||
--- | ||
|
||
Add dedicated hook for the blacklisted KPI tokens |
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 @@ | ||
[ | ||
{ | ||
"path": "dist/", | ||
"limit": "5 MB" | ||
"limit": "4 MB" | ||
} | ||
] |
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
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
Oops, something went wrong.
deae513
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
deae513
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-kpi.dev
ui-carrot-labs.vercel.app