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(web/legal): use ghost as source + cookie banner #1658

Merged
merged 27 commits into from
Sep 23, 2024
Merged

Conversation

LufyCZ
Copy link
Collaborator

@LufyCZ LufyCZ commented Sep 2, 2024

PR-Codex overview

The focus of this PR is to remove unnecessary files and dependencies related to the tron app and react-query package.

Detailed summary

  • Deleted multiple files related to the tron app and react-query package
  • Updated URLs in various files
  • Added new imports and removed unused ones
  • Adjusted header elements in multiple app files
  • Updated paths in tsconfig.json
  • Removed HotJar component from layout files

The following files were skipped due to too many changes: packages/graph-client/src/subgraphs/data-api/queries/pool/pools.ts, packages/graph-client/src/subgraphs/data-api/queries/v2/buckets.ts, packages/graph-client/src/subgraphs/data-api/queries/v3/buckets.ts, apps/web/test/helpers/pool.ts, apps/web/src/app/(cms)/blog/[article-slug]/page.tsx, packages/graph-client/src/subgraphs/data-api/queries/pool/v2-pool.ts, packages/graph-client/src/subgraphs/data-api/queries/pool/v3-pool.ts, packages/graph-client/src/subgraphs/data-api/queries/v2/positions.ts, packages/graph-client/src/subgraphs/data-api/queries/smart-pool/vault.ts, apps/web/src/lib/swap/cross-chain/actions/getTrade.ts, packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-wallet.ts, packages/ui/src/components/global-footer.tsx, packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-history.ts, packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-positions.ts, packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-claimables.ts, packages/graph-client/src/subgraphs/data-api/queries/v3/pools.ts, apps/web/src/lib/swap/cross-chain/lib/SquidAdapter.ts, packages/graph-client/src/subgraphs/data-api/queries/v3/pools-by-tokens.ts, apps/web/test/helpers/swap.ts, apps/web/src/app/(evm)/[chainId]/layout.tsx, apps/web/src/lib/analytics/use-furo-tokens.ts, apps/web/src/lib/swap/cross-chain/actions/getSquidCrossChainTrade.ts, apps/web/src/app/(evm)/stake/layout.tsx, apps/web/src/app/(cms)/lib/ghost/ghost.ts, apps/web/src/ui/pool/RewardsV3ClaimableCell.tsx, apps/web/src/ui/pool/Rate.tsx, apps/web/src/lib/wagmi/hooks/steer/useSteerAccountPositionsExtended.ts, apps/web/src/ui/stake/XSushiPrice.tsx, apps/web/src/ui/pool/AddSectionStakeWidget.tsx, apps/web/src/ui/pool/PoolDepthChart.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-trending-tokens.tsx, apps/web/src/ui/pool/ConcentratedLiquidityHarvestButton.tsx, apps/web/src/ui/pool/DistributionDataTable.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-my-tokens.tsx, apps/web/src/ui/pool/PoolRewardDistributionsCard.tsx, apps/web/src/lib/hooks/useSimulateTrade.ts, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-custom-list.tsx, packages/graph-client/src/subgraphs/data-api/queries/sushi-bar/stats.ts, packages/graph-client/src/subgraphs/data-api/queries/sushi-bar/history.ts, apps/web/src/ui/swap/simple/simple-swap-token-not-found-dialog.tsx, packages/ui/src/components/scripts.tsx, packages/react-query/src/hooks/rewards/useAngleRewards.ts, apps/web/src/lib/wagmi/components/token-selector/hooks/use-my-tokens.ts, apps/web/src/app/(cms)/academy/[article-slug]/page.tsx, apps/web/src/app/layout.tsx, apps/web/src/lib/hooks/useTokenAmountDollarValues.ts, apps/web/src/app/_common/cookies/cookie-dialog-container.tsx, apps/web/src/ui/swap/trade-route-path-view.tsx, apps/web/src/ui/pool/Steer/SteerStrategyLiquidityChart/SteerStrategyLiquidityDistribution.tsx, apps/web/src/ui/pool/LiquidityDepthWidget.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/common/token-selector-import-row.tsx, apps/web/src/ui/pool/CreatePositionManual.tsx, apps/web/src/app/(evm)/[chainId]/pool/incentivize/page.tsx, apps/web/src/lib/wagmi/components/user-profile/DefaultView.tsx, apps/web/src/ui/pool/SelectPricesWidget.tsx, apps/web/src/ui/pool/RewardsSection.tsx, apps/web/src/ui/swap/cross-chain/cross-chain-swap-token-not-found-dialog.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-search.tsx, apps/web/src/ui/pool/RewardsV3NameCell.tsx, apps/web/src/ui/pool/columns.tsx, packages/sushi/src/data/lowercase-map.ts, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-chip-bar.tsx, apps/web/src/ui/swap/simple/simple-swap-trade-review-dialog.tsx, apps/web/src/app/(legal)/privacy-policy/layout.tsx, apps/web/src/ui/pool/RewardSlide.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/common/token-selector-row.tsx, apps/web/src/ui/pool/PoolPageV3.tsx, apps/web/src/lib/wagmi/components/wagmi-header-components.tsx, apps/web/src/app/(evm)/providers.tsx, apps/web/src/app/_common/cookies/get-enabled-cookies.ts, apps/web/src/app/trackers.tsx, apps/web/src/ui/swap/simple/derivedstate-simple-swap-provider.tsx, apps/web/src/ui/pool/AddSectionReviewModalConcentrated.tsx, apps/web/src/app/(evm)/_common/ui/price-provider/price-provider/use-price.ts, apps/web/src/app/tokenlist-request/page.tsx, packages/react-query/src/hooks/rewards/useAngleRewardsMultipleChains.ts, apps/web/src/lib/wagmi/components/token-security-view.tsx, apps/web/src/ui/swap/cross-chain/cross-chain-swap-header.tsx, apps/web/src/app/_common/cookies/use-enabled-cookies.ts, apps/web/src/app/(evm)/_common/ui/price-provider/price-provider/types.ts, apps/web/src/lib/wagmi/hooks/bonds/use-bond-discount.ts, apps/web/src/ui/pool/AddSectionReviewModalLegacy.tsx, packages/steer-sdk/src/utils/getSteerTokenRatios.ts, apps/web/src/ui/pool/V3PositionView.tsx, apps/web/src/ui/pool/Steer/SteerLiquidityDistributionWidget/SteerTokenDistributionBar.tsx, apps/web/src/app/(landing)/layout.tsx, apps/web/src/lib/wagmi/components/user-portfolio/portfolio-claimables/index.tsx, apps/web/src/app/(evm)/_common/header-elements.tsx, apps/web/package.json, apps/web/src/lib/wagmi/hooks/positions/hooks/useConcentratedLiquidityPositions.ts, apps/web/src/lib/wagmi/components/web3-input/Currency/CurrencyInput.tsx, apps/web/src/lib/wagmi/hooks/bonds/use-bond-market-details.ts, apps/web/src/lib/wagmi/config/index.ts, apps/web/src/lib/wagmi/components/token-selector/token-lists/common/token-selector-currency-list.tsx, apps/web/src/lib/pool/simulateAPR.ts, apps/web/src/lib/wagmi/components/user-portfolio/portfolio-positions/index.tsx, apps/web/src/lib/wagmi/config/production.ts, apps/web/src/ui/swap/twap/twap.tsx, apps/web/src/providers/query-client-provider.tsx, apps/web/src/lib/wagmi/hooks/trade/use-client-trade.ts, apps/web/src/ui/swap/simple/simple-swap-header.tsx, apps/web/src/lib/wagmi/components/web3-input/Currency/PricePanel.tsx, apps/web/src/app/(evm)/_common/ui/price-provider/price-worker/types.ts, apps/web/src/app/legal/[slug]/page.tsx, apps/web/src/lib/wagmi/components/user-portfolio/portfolio-tokens/index.tsx, apps/web/src/providers/wagmi-provider.tsx, packages/react-query/src/hooks/trade/useTrade.ts, apps/web/src/app/(evm)/_common/ui/price-provider/price-provider/use-prices.ts, apps/web/src/app/(evm)/_common/ui/price-provider/price-provider/price-provider.tsx, apps/web/src/app/(evm)/_common/ui/price-provider/price-worker/price-worker.ts, apps/web/src/app/_common/cookies/cookie-dialog.tsx, pnpm-lock.yaml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

linear bot commented Sep 2, 2024

Copy link

changeset-bot bot commented Sep 2, 2024

⚠️ No Changeset found

Latest commit: 03b61aa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "@sushiswap/tron" is specified in the `ignore` option but it is not found in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

Copy link

vercel bot commented Sep 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
token-list ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 10:56pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 10:56pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
tokens ⬜️ Ignored (Inspect) Visit Preview Sep 23, 2024 10:56pm

Copy link

socket-security bot commented Sep 10, 2024

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

@LufyCZ LufyCZ changed the title feat(web/legal): use ghost as source feat(web/legal): use ghost as source + cookie banner Sep 11, 2024
@LufyCZ LufyCZ merged commit 72f1acb into master Sep 23, 2024
11 checks passed
@matthewlilley matthewlilley deleted the feature/egn-717 branch September 30, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant