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

refactor(explorer): get rid of config yaml file #3593

Merged
merged 21 commits into from
Jan 11, 2024
Merged

Conversation

shoom3301
Copy link
Collaborator

Summary

Follow-up of #3579

config-default.yaml is super outdated, so, I removed it.
I've only copy-pasted values to INFURA_ID and ETH_NODE_URL.

To Test

  1. Explorer should work as before

… feat/explorer-3

# Conflicts:
#	apps/explorer/index.html
#	apps/explorer/project.json
#	apps/explorer/src/api/erc20/Erc20Api.ts
#	apps/explorer/src/api/erc20/Erc20ApiMock.ts
#	apps/explorer/src/api/erc20/index.ts
#	apps/explorer/src/api/operator/operatorApi.ts
#	apps/explorer/src/api/operator/operatorMock.ts
#	apps/explorer/src/api/proxy/CacheMixin.ts
#	apps/explorer/src/api/tenderly/tenderlyApi.ts
#	apps/explorer/src/api/thegraph/TheGraphApi.ts
#	apps/explorer/src/api/thegraph/index.ts
#	apps/explorer/src/api/web3/index.ts
#	apps/explorer/src/components/NetworkSelector/index.tsx
#	apps/explorer/src/components/Portal.tsx
#	apps/explorer/src/components/RedirectToSearch.tsx
#	apps/explorer/src/components/Tooltip.tsx
#	apps/explorer/src/components/analytics/index.ts
#	apps/explorer/src/components/common/BlockExplorerLink/BlockExplorerLink.tsx
#	apps/explorer/src/components/common/Button/index.tsx
#	apps/explorer/src/components/common/Card/CardContent.tsx
#	apps/explorer/src/components/common/CopyButton/index.tsx
#	apps/explorer/src/components/common/Frame.tsx
#	apps/explorer/src/components/common/MenuDropdown/MainMenuTree.stories.tsx
#	apps/explorer/src/components/common/MenuDropdown/MenuDropdownItem.stories.tsx
#	apps/explorer/src/components/common/MenuDropdown/MenuTree.tsx
#	apps/explorer/src/components/common/MenuDropdown/mainMenu.ts
#	apps/explorer/src/components/common/TableSearch/TableSearch.tsx
#	apps/explorer/src/components/common/TokenDisplay/TokenDisplay.stories.tsx
#	apps/explorer/src/components/common/TokenImg.tsx
#	apps/explorer/src/components/orders/AmountsDisplay/AmountsDisplay.stories.tsx
#	apps/explorer/src/components/orders/DetailsTable/DetailsTable.stories.tsx
#	apps/explorer/src/components/orders/DetailsTable/index.tsx
#	apps/explorer/src/components/orders/FilledProgress/FilledProgress.stories.tsx
#	apps/explorer/src/components/orders/GasFeeDisplay/GasFeeDisplay.stories.tsx
#	apps/explorer/src/components/orders/OrderDetails/FillsTable.tsx
#	apps/explorer/src/components/orders/OrderDetails/OrderDetails.stories.tsx
#	apps/explorer/src/components/orders/OrderDetails/context/FillsTableContext.tsx
#	apps/explorer/src/components/orders/OrderDetails/index.tsx
#	apps/explorer/src/components/orders/OrderNotFound/index.tsx
#	apps/explorer/src/components/orders/OrderPriceDisplay/OrderPriceDisplay.stories.tsx
#	apps/explorer/src/components/orders/OrderPriceDisplay/index.tsx
#	apps/explorer/src/components/orders/OrderSurplusDisplay/OrderSurplusDisplay.stories.tsx
#	apps/explorer/src/components/orders/OrdersUserDetailsTable/index.stories.tsx
#	apps/explorer/src/components/orders/OrdersUserDetailsTable/index.tsx
#	apps/explorer/src/components/token/TokenTable/index.tsx
#	apps/explorer/src/components/transaction/TransactionTable/index.stories.tsx
#	apps/explorer/src/components/transaction/TransactionTable/index.tsx
#	apps/explorer/src/const.ts
#	apps/explorer/src/hooks/useErc20.ts
#	apps/explorer/src/hooks/useFlexSearch.ts
#	apps/explorer/src/hooks/useGetOrders.tsx
#	apps/explorer/src/hooks/useGlobalState.tsx
#	apps/explorer/src/hooks/useOperatorTrades.ts
#	apps/explorer/src/hooks/useQuery.ts
#	apps/explorer/src/hooks/useResolveEns.ts
#	apps/explorer/src/hooks/useSanitizeOrderIdAndUpdateUrl.ts
#	apps/explorer/src/hooks/useSearchSubmit.ts
#	apps/explorer/src/main.tsx
#	apps/explorer/src/services/helpers/tryGetOrderOnAllNetworks.ts
#	apps/explorer/src/state/network/hooks.ts
#	apps/explorer/src/state/network/updater.tsx
#	apps/explorer/src/storybook/orderbookSamples.ts
#	apps/explorer/src/test/api/ExchangeApi/Erc20ApiMock.test.ts
#	apps/explorer/src/test/api/proxy/CacheProxy.test.ts
#	apps/explorer/src/test/data/basic.ts
#	apps/explorer/src/test/data/erc20Allowances.ts
#	apps/explorer/src/test/data/erc20Balances.ts
#	apps/explorer/src/test/data/operator.ts
#	apps/explorer/src/test/hooks/useDecomposedPath.test.tsx
#	apps/explorer/src/test/hooks/useNoScroll.hooks.test.tsx
#	apps/explorer/src/test/hooks/useSearchSubmit.test.tsx
#	apps/explorer/src/test/hooks/useTable.test.tsx
#	apps/explorer/src/test/testHelpers.ts
#	apps/explorer/src/test/utils/format/formatPercentage.spec.ts
#	apps/explorer/src/test/utils/operator/orderFilledAmount.test.ts
#	apps/explorer/src/test/utils/operator/orderPrice.test.ts
#	apps/explorer/src/test/utils/operator/orderStatus.test.ts
#	apps/explorer/src/test/utils/operator/orderSurplus.test.ts
#	apps/explorer/src/test/utils/paginationHelper.test.ts
#	apps/explorer/src/theme/index.tsx
#	apps/explorer/src/theme/styles/mediaQueries.ts
#	apps/explorer/src/utils/format.ts
#	apps/explorer/src/utils/index.ts
#	apps/explorer/src/utils/miscellaneous.ts
#	apps/explorer/src/utils/mock.ts
#	apps/explorer/src/utils/operator.ts
#	apps/explorer/tsconfig.app.json
#	apps/explorer/tsconfig.json
#	apps/explorer/tsconfig.spec.json
#	apps/explorer/vite.config.ts
#	yarn.lock
@shoom3301 shoom3301 requested a review from a team January 9, 2024 13:26
@shoom3301 shoom3301 self-assigned this Jan 9, 2024
Copy link

vercel bot commented Jan 9, 2024

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

Name Status Preview Updated (UTC)
cosmos ✅ Ready (Inspect) Visit Preview Jan 11, 2024 5:32am
explorer ✅ Ready (Inspect) Visit Preview Jan 11, 2024 5:32am
swap-dev ✅ Ready (Inspect) Visit Preview Jan 11, 2024 5:32am
widget-configurator 🔄 Building (Inspect) Visit Preview Jan 11, 2024 5:32am

Copy link
Contributor

@anxolin anxolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

I think it failed to compile though

@shoom3301
Copy link
Collaborator Author

I think it failed to compile though

This was a github issue, should build well now

@shoom3301 shoom3301 changed the base branch from feat/explorer-3 to develop January 10, 2024 09:27
… feat/explorer-5

# Conflicts:
#	apps/explorer/jest.config.ts
#	apps/explorer/src/api/thegraph/index.ts
#	apps/explorer/vite.config.ts
… feat/explorer-5

# Conflicts:
#	apps/explorer/vite.config.ts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants