40 Commits

Author SHA1 Message Date
TechMiX
705e7794e5 fix blockchain scrolling on mobile mode when RTL layout 2020-12-09 21:46:13 +01:00
TechMiX
250cfca2d6 reverse all text-aligns in rtl-layout 2020-12-09 02:23:53 +01:00
TechMiX
38f858a7e7 add rtl-layout class to base component 2020-12-09 01:57:18 +01:00
wiz
46ad261d84 Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:

* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify

* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`

* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data

* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages

* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.

This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.

This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:

* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)

The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.

Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.

When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.

Fixes #81
2020-12-02 04:19:33 +09:00
wiz
97a08cc6f2 Tweak ASM opcode styling colors 2020-11-21 18:17:29 +09:00
wiz
7dbe7a7584 Add some color and styling to the Bitcoin ASM opcodes
Fixes #164
2020-11-21 05:29:50 +09:00
softsimon
2b7ef0d287 Toggle display UTXO details and scripts for transactions
fixes #46
2020-11-15 17:58:38 +07:00
softsimon
b525d73f29 Correcting new chartist import path. 2020-11-10 21:09:50 +07:00
softsimon
5859f4ff9b Custom BTCPay donation integration
fixes #122
2020-10-07 20:15:42 +07:00
softsimon
bcd75063f0 Improved graph visibility on mobile. 2020-09-23 15:49:07 +07:00
softsimon
9f1a3930d7 Responsiveness fixes. 2020-07-19 13:46:30 +07:00
softsimon
191f988937 Table design and responsiveness updates. 2020-07-18 11:04:04 +07:00
softsimon
afc19b39d9 Fix responsiveness. 2020-07-16 14:36:02 +07:00
softsimon
87e9d631fc Detect RBF-transactions and offer to track them.
fixes #78
2020-06-08 18:55:53 +07:00
softsimon
c3cb00154e Improved Liquid Assets page with pagination and search filter. 2020-05-30 16:26:39 +07:00
softsimon
4089c40c72 Display Segwit and RBF information 2020-05-28 18:39:45 +07:00
softsimon
820642cf1c Bootstrap version update and progressbar fix.
Yellow fee text is now white.
2020-05-25 22:36:50 +07:00
softsimon
b161f7351c Reveal coinbase scriptsig and op_return scriptpubkey ascii on hover. 2020-05-22 00:35:45 +07:00
softsimon
a4b5a34995 Display fees in transaction list 2020-05-21 01:55:46 +07:00
softsimon
9a2fb1fe44 Liquid Graph fix.
Key navigation fix.
Addresses overflow fix.
Firefox float fix.
2020-05-17 17:06:09 +07:00
softsimon
48c541f4ba Network based block progressbar colors. 2020-05-10 21:50:32 +07:00
softsimon
a7690977ab Search box text updated.
BTC ticker fix.
Dropdown color fix.
Miner button tooltip.
2020-05-10 16:03:22 +07:00
softsimon
7974cbbc83 Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
softsimon
1bdb95130f Only display 0-1sat/vB on Liquid. 2020-03-28 19:24:13 +07:00
softsimon
a085be1a63 Display 0-1 sat/vb fees in graph 2020-03-28 13:55:52 +07:00
softsimon
9aaa021d08 Mobile view design updates. 2020-03-25 02:55:26 +07:00
softsimon
164a1964dc Mobile padding improvements. 2020-03-25 00:41:46 +07:00
softsimon
39643ce0f8 Adding ETA, confirmed time, and other ui improvements to transaction page. 2020-03-23 04:07:31 +07:00
softsimon
55c6ef6d41 Update fee distribution graph and fix arrow. 2020-03-20 02:11:40 +07:00
softsimon
f43655a37f Replace some spinners with skeleton loaders. 2020-03-11 16:06:11 +07:00
softsimon
365ae04030 Making block, transaction, and address view responsive.
closes #43
2020-03-10 14:46:12 +07:00
softsimon
c7ddeecd18 General responsive improvments. 2020-03-05 16:13:46 +07:00
softsimon
3718ddf8f0 Latest block design updates. 2020-02-29 23:42:50 +07:00
Simon Lindh
98391580b3 Refactor. API explanations. UX revamp. 2020-02-26 03:26:16 +09:00
Simon Lindh
45fa1be217 Optimize statistics. 2020-02-26 03:21:21 +09:00
Simon Lindh
43f41b8aab New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00
Simon Lindh
4de8384708 Block view. 2019-11-12 16:39:59 +08:00
Simon Lindh
2dbfa323fa Transaction view. 2019-11-10 16:44:00 +08:00
Simon Lindh
c206cc8eb5 TV full screen view. 2019-07-27 18:43:17 +03:00
Simon Lindh
94132a903f Initial code commit. 2019-07-21 17:59:47 +03:00