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

Develop to main #354

Merged
merged 42 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
347f05e
feat: add origins to .env and config
solidovic May 6, 2024
0fc5d76
feat: use selfOrigin
solidovic May 6, 2024
f574421
feat: use researchOrigin
solidovic May 6, 2024
c6671e3
feat: use docsOrigin
solidovic May 6, 2024
90ed630
feat: use helpOrigin
solidovic May 6, 2024
74e3cb7
feat: use rootOrigin
solidovic May 6, 2024
ee65510
fix(IPFS): metaPreviewImgUrl
solidovic May 7, 2024
8ff52d5
feat(ci): add '*_ORIGIN' envs to ci-ipfs*.yml
solidovic May 7, 2024
7d8f7e3
feat: pass 'termsLink' and 'privacyNoticeLink' to reef-knot
solidovic May 23, 2024
41d9f11
Merge branch 'develop' into feature/si-1376-check-all-places-that-use…
solidovic May 23, 2024
67a5122
fix: fix rootOrigin for faq
solidovic May 23, 2024
d752e3e
fix: error handling for failed tx
Jeday May 29, 2024
7aaad55
build(ci): remove goerli jobs
Jeday May 29, 2024
e2f84b1
build(ci): remove experimental ens ci
Jeday May 30, 2024
80d72a6
fix: blinking best rate
Jeday May 30, 2024
e2e463d
build: clean up build scripts
Jeday May 30, 2024
f8c8844
fix: double states for dex options
Jeday May 30, 2024
ceda512
feat: add default origins to env-dynamics.mjs
solidovic Jun 3, 2024
aa6212d
feat: add revalidate 60s for all pages
solidovic Jun 3, 2024
5d896e9
Merge branch 'develop' into feature/si-1376-check-all-places-that-use…
solidovic Jun 3, 2024
f3350d4
feat: vault banners
manneredboor Jun 4, 2024
00e550d
fix: index page
solidovic Jun 4, 2024
2df3652
fix: remove unused state
Jeday Jun 4, 2024
323533b
chore: vaults banner text updated
manneredboor Jun 5, 2024
33e87cc
Merge pull request #340 from lidofinance/feature/si-1351-to-add-corre…
itaven Jun 5, 2024
0566cc5
feat(wq pages): render FAQ on SSR
solidovic Jun 5, 2024
1ca4c69
style: vaults banner styles fixes
manneredboor Jun 5, 2024
fe94f45
Merge pull request #342 from lidofinance/feature/si-1420-suppers-expe…
itaven Jun 5, 2024
0a47a1e
Merge pull request #341 from lidofinance/feature/si-1417-remove-goerl…
itaven Jun 5, 2024
121b543
style: vaults banner mobile styles improvement
manneredboor Jun 6, 2024
51d92e9
style: vaults banner mobile styles improvement
manneredboor Jun 6, 2024
875003a
Merge pull request #345 from lidofinance/feature/si-1402-new-banners-…
itaven Jun 6, 2024
7ab9f88
Merge pull request #343 from lidofinance/feature/si-1344-on-the-reque…
itaven Jun 6, 2024
aaa9059
Merge branch 'develop' into feature/si-1376-check-all-places-that-use…
solidovic Jun 7, 2024
5da4046
feat: pass origins to CookiesTooltip
solidovic Jun 7, 2024
3891f52
Merge pull request #329 from lidofinance/feature/si-1376-check-all-pl…
jake4take Jun 7, 2024
3ce00b6
Merge pull request #346 from lidofinance/feature/si-1413-faq-on-ssr-f…
itaven Jun 7, 2024
04a3342
feat: add to tests.validationResult new field 'tsAdded'
solidovic Jun 9, 2024
8729bfe
Merge pull request #349 from lidofinance/feature/si-1431-fix-tests-on…
itaven Jun 10, 2024
f0645bf
fix: referral text
solidovic Jun 10, 2024
a50b9a9
refactor: restaking texts and imports order
solidovic Jun 10, 2024
a48e2de
Merge pull request #352 from lidofinance/fix/referral-and-restaking-t…
jake4take Jun 10, 2024
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
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# for supporting of domain agnostic
SELF_ORIGIN=https://stake.lido.fi
ROOT_ORIGIN=https://lido.fi
DOCS_ORIGIN=https://docs.lido.fi
HELP_ORIGIN=https://help.lido.fi
RESEARCH_ORIGIN=https://research.lido.fi

# EL_RPC_URLS_{CHAIN_ID} list or URLs delimeted by commas, first entry is primary, else are fallbacks
EL_RPC_URLS_1=
EL_RPC_URLS_5=
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/ci-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ jobs:
TARGET_WORKFLOW: 'deploy_holesky_testnet_ethereum_staking_widget.yaml'
TARGET: 'develop'

- name: Goerli testnet deploy
uses: lidofinance/dispatch-workflow@v1
env:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
TARGET_REPO: 'lidofinance/infra-mainnet'
TARGET_WORKFLOW: 'deploy_testnet_ethereum_staking_widget.yaml'
TARGET: 'develop'

tests:
needs: deploy
if: ${{ github.event.pull_request.draft == false }}
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/ci-ens.yml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/ci-ipfs-goerli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ jobs:
yarn install --frozen-lockfile
- name: Build
run: |
yarn build-ipfs
yarn build:ipfs
env:
ROOT_ORIGIN: ${{ vars.ROOT_ORIGIN }}
DOCS_ORIGIN: ${{ vars.DOCS_ORIGIN }}
HELP_ORIGIN: ${{ vars.HELP_ORIGIN }}
RESEARCH_ORIGIN: ${{ vars.RESEARCH_ORIGIN }}
DEFAULT_CHAIN: ${{ vars.DEFAULT_CHAIN }}
SUPPORTED_CHAINS: ${{ vars.SUPPORTED_CHAINS }}
WIDGET_API_BASE_PATH_FOR_IPFS: ${{ vars.WIDGET_API_BASE_PATH_FOR_IPFS }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ci-ipfs-test-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ jobs:
yarn install --frozen-lockfile
- name: Build
run: |
yarn build-ipfs
yarn build:ipfs
env:
ROOT_ORIGIN: ${{ vars.ROOT_ORIGIN }}
DOCS_ORIGIN: ${{ vars.DOCS_ORIGIN }}
HELP_ORIGIN: ${{ vars.HELP_ORIGIN }}
RESEARCH_ORIGIN: ${{ vars.RESEARCH_ORIGIN }}
DEFAULT_CHAIN: ${{ vars.DEFAULT_CHAIN }}
SUPPORTED_CHAINS: ${{ vars.SUPPORTED_CHAINS }}
WIDGET_API_BASE_PATH_FOR_IPFS: ${{ vars.WIDGET_API_BASE_PATH_FOR_IPFS }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ci-ipfs-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ jobs:
yarn install --frozen-lockfile
- name: Build
run: |
yarn build-ipfs
yarn build:ipfs
env:
ROOT_ORIGIN: ${{ vars.ROOT_ORIGIN }}
DOCS_ORIGIN: ${{ vars.DOCS_ORIGIN }}
HELP_ORIGIN: ${{ vars.HELP_ORIGIN }}
RESEARCH_ORIGIN: ${{ vars.RESEARCH_ORIGIN }}
DEFAULT_CHAIN: ${{ vars.DEFAULT_CHAIN }}
SUPPORTED_CHAINS: ${{ vars.SUPPORTED_CHAINS }}
WIDGET_API_BASE_PATH_FOR_IPFS: ${{ vars.WIDGET_API_BASE_PATH_FOR_IPFS }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ci-ipfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ jobs:
yarn install --frozen-lockfile
- name: Build
run: |
yarn build-ipfs
yarn build:ipfs
env:
ROOT_ORIGIN: ${{ vars.ROOT_ORIGIN }}
DOCS_ORIGIN: ${{ vars.DOCS_ORIGIN }}
HELP_ORIGIN: ${{ vars.HELP_ORIGIN }}
RESEARCH_ORIGIN: ${{ vars.RESEARCH_ORIGIN }}
DEFAULT_CHAIN: ${{ vars.DEFAULT_CHAIN }}
SUPPORTED_CHAINS: ${{ vars.SUPPORTED_CHAINS }}
WIDGET_API_BASE_PATH_FOR_IPFS: ${{ vars.WIDGET_API_BASE_PATH_FOR_IPFS }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ yarn dev
for IPFS mode below:

```bash
yarn dev-ipfs # will start with HMR
yarn dev:ipfs # will start with HMR
```

### Environment variables
Expand All @@ -61,7 +61,7 @@ yarn build && yarn start
for IPFS mode below:

```bash
yarn build-ipfs
yarn build:ipfs
```

## Adding a new route API
Expand Down
1 change: 1 addition & 0 deletions assets/vault-banner/icon-mev-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/vault-banner/icon-mev-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/vault-banner/icon-p2p-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/vault-banner/icon-p2p-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading