mempool/frontend
2021-11-15 14:16:27 -03:00
..
.tx Update transifex-client configuration to use master branch 2020-12-03 20:09:08 +09:00
cypress fix: mempool empty block. 2021-11-15 14:16:27 -03:00
src fix: mempool empty block. 2021-11-15 14:16:27 -03:00
.browserslistrc
.editorconfig
.gitignore Make base module and index.html file configurable with BASE_MODULE. Adding bare Liquid module. 2021-07-27 17:10:38 +03:00
angular.json Update references to the JS proxy config 2021-10-22 11:52:23 -07:00
cypress.json disable video recording 2021-08-03 21:26:40 -07:00
frontend Implement i18n support in frontend using Angular + Transifex + NGINX 2020-12-02 04:19:33 +09:00
generate-config.js Make base module and index.html file configurable with BASE_MODULE. Adding bare Liquid module. 2021-07-27 17:10:38 +03:00
karma.conf.js
mempool-frontend-config.sample.json Adding configuration for blocks and mempool blocks amount. 2021-07-31 17:56:10 +03:00
package-lock.json Upgrading to Angular 12 and NgBootstrap 10 2021-09-22 23:57:05 +04:00
package.json Upgrading to Angular 12 and NgBootstrap 10 2021-09-22 23:57:05 +04:00
proxy.conf.js Update e2e tests BASE_MODULE resolution 2021-10-27 20:40:44 -07:00
README.md Add instructions on how to contribute to the Frontend codebase 2021-10-27 21:50:51 -07:00
server.run.ts Upgrading to Angular 12 and NgBootstrap 10 2021-09-22 23:57:05 +04:00
server.ts Upgrading to Angular 12 and NgBootstrap 10 2021-09-22 23:57:05 +04:00
sync-assets.js Sync blockstream asset registry when in liquid base module mode. 2021-08-05 01:31:22 +03:00
tsconfig.app.json
tsconfig.base.json Set frontend tsconfig to target es2020 2021-04-07 22:40:13 +09:00
tsconfig.json angular universal WIP 2020-11-07 04:30:52 +07:00
tsconfig.server.json angular universal WIP 2020-11-07 04:30:52 +07:00
tsconfig.spec.json
tslint.json Use block cache when searching or opening a recent block. (#749) 2021-08-29 04:55:46 +03:00
update-config.js Fix update-config script to parse string values 2021-08-17 12:03:03 -07:00

mempool-frontend

Contributing

This package is used for the https://mempool.space, https://liquid.network and https://bisq.markets websites - there are npm scripts to setup all three, which effectively change how BASE_MODULE is configured:

$ npm run config:defaults:mempool
$ npm run config:defaults:liquid
$ npm run config:defaults:bisq

Changes that affect the frontend codebase only can be done using the production backend so you don't need to spin up the entire Mempool infrastructure. This is very convenient in case you want to quickly improve the UI, fix typos or implement new features that don't require any backend changes.

Make your changes, install the project dependencies and run the frontend server as follows:

$ npm install
$ npm run serve:local-prod

The frontend will be available at http://localhost:4200/ and all API requests will be proxied to the production server at https://mempool.space

After making your changes, you can run our end-to-end automation suite and check for possible regressions:

Headless:

$ npm run config:defaults:mempool && npm run cypress:run

Interactive:

$ npm run config:defaults:mempool && npm run cypress:open

This will open the Cypress test runner, where you can select any of the test files to run.

If all tests are green, submit your PR and it will be reviewed by someone on the team as soon as possible.

Translations: Transifex Project

The mempool frontend strings are localized into 20+ locales: https://www.transifex.com/mempool/mempool/dashboard/

Translators

  • Arabic @baro0k
  • Czech @pixelmade2
  • German @Emzy
  • English (default)
  • Spanish @maxhodler @bisqes
  • Persian @techmix
  • French @Bayernatoor
  • Korean @kcalvinalvinn
  • Italian @HodlBits
  • Hebrew @Sh0ham
  • Georgian @wyd_idk
  • Hungarian @btcdragonlord
  • Dutch @m__btc
  • Japanese @wiz @japananon
  • Norwegian @T82771355
  • Polish @maciejsoltysiak
  • Portugese @jgcastro1985
  • Slovenian @thepkbadger
  • Finnish @bio_bitcoin
  • Swedish @softsimon_
  • Turkish @stackmore
  • Ukrainian @volbil
  • Vietnamese @bitcoin_vietnam
  • Chinese @wdljt
  • Russian @TonyCrusoe @Bitconan
  • Romanian @mirceavesa
  • Macedonian @SkechBoy