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

Rename token-dashboard repo to dapp #557

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/dashboard-ci.yml
michalsmiarowski marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install dependencies
run: yarn install --ignore-scripts --frozen-lockfile

- name: Run token-dashboard post-install script
- name: Run dapp post-install script
run: yarn run postinstall

- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dashboard-mainnet.yml
michalsmiarowski marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
run: yarn install --ignore-scripts --frozen-lockfile

- name: Run token-dashboard post-install script
- name: Run dapp post-install script
run: yarn run postinstall

# FIXME: It's work in progress, the contracts are not yet published.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
shell: bash
run: yarn install --ignore-scripts --frozen-lockfile

- name: Run token-dashboard post-install script
- name: Run dapp post-install script
shell: bash
run: yarn run postinstall

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Threshold Token Dashboard

[![Token Dashboard / CI](https://github.com/threshold-network/token-dashboard/actions/workflows/dashboard-ci.yml/badge.svg?branch=main&event=push)](https://github.com/threshold-network/token-dashboard/actions/workflows/dashboard-ci.yml)
[![Token Dashboard / CI](https://github.com/threshold-network/dapp/actions/workflows/dashboard-ci.yml/badge.svg?branch=main&event=push)](https://github.com/threshold-network/dapp/actions/workflows/dashboard-ci.yml)
michalsmiarowski marked this conversation as resolved.
Show resolved Hide resolved
[![Docs](https://img.shields.io/badge/docs-website-green)](https://docs.threshold.network)
[![Chat with us on Discord](https://img.shields.io/badge/chat-Discord-5865f2.svg)](https://discord.gg/threshold)

Expand Down Expand Up @@ -72,7 +72,7 @@ yarn upgrade @threshold-network/solidity-contracts@goerli \
using `goerli` tag results in `expected manifest` error - probably caused by bug
in Yarn: https://github.com/yarnpkg/yarn/issues/4731.

**NOTE 2:** The `token-dashboard` package contains an indirect dependency to
**NOTE 2:** The `dapp` project contains an indirect dependency to
`@summa-tx/[email protected]` package, which downloads one of its sub-dependencies
via unathenticated `git://` protocol. That protocol is no longer supported by
GitHub. This means that in certain situations installation of the package or
Expand Down Expand Up @@ -100,7 +100,7 @@ The following procedure allows to deploy T token dashboard to production:
and creating a PR with a release branch is not required.
Dependencies and project version needs to be updated on the release branch.
All `-dev`, `-goerli` dependencies need to be updated to mainnet versions.
See [this commit](https://github.com/threshold-network/token-dashboard/commit/5452b68886ebc514d941a087973dfa9ac3802a7e)
See [this commit](https://github.com/threshold-network/dapp/commit/5452b68886ebc514d941a087973dfa9ac3802a7e)
for `v1.0.0` release as a good example.
2. Preview of the release branch will be uploaded to `preview.dashboard.threshold.network`
under the directory named after the release branch. For example:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "token-dashboard",
"name": "dapp",
"version": "1.8.0-pre",
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/enums/externalHref.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export enum ExternalHref {
thresholdGithub = "https://github.com/threshold-network/token-dashboard",
thresholdGithub = "https://github.com/threshold-network/dapp",
thresholdDiscord = "https://discord.gg/WXK9PC6SRF",
metamaskHomePage = "https://metamask.io/",
stakingContractLeanMore = "https://github.com/threshold-network/solidity-contracts/issues/53",
Expand Down
2 changes: 1 addition & 1 deletion src/store/tbtc/tbtcSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,5 @@ export const registerTBTCListeners = () => {
}

// TODO: Move to the `../listener` file once we merge
// https://github.com/threshold-network/token-dashboard/pull/302.
// https://github.com/threshold-network/dapp/pull/302.
registerTBTCListeners()
2 changes: 1 addition & 1 deletion src/web3/connectors/coinbaseWallet.ts
michalsmiarowski marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ class CoinbaseWalletConnector extends WalletLinkConnector {

export const coinbaseConnector = new CoinbaseWalletConnector({
url: rpcUrl,
appName: "threshold-token-dashboard",
appName: "threshold-dapp",
supportedChainIds: [+supportedChainId],
})