Commit Graph

42 Commits

Author SHA1 Message Date
softsimon
ec845a6ac2
Renaming minimum fee to rejecting.
Adding progressbar to mempool size.
refs #171
2021-01-12 20:45:41 +07:00
softsimon
579ccaf21d
Adding missing progressbar styling. 2021-01-11 17:20:52 +07:00
TechMiX
306197c6e9 fix blockchain scrolling on mobile mode when RTL layout 2020-12-09 21:46:13 +01:00
TechMiX
c1bcf49f37 reverse all text-aligns in rtl-layout 2020-12-09 02:23:53 +01:00
TechMiX
e0adc505db add rtl-layout class to base component 2020-12-09 01:57:18 +01:00
wiz
4658b47007
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
30fb0bad78
Tweak ASM opcode styling colors 2020-11-21 18:17:29 +09:00
wiz
9e83fdc9f2
Add some color and styling to the Bitcoin ASM opcodes
Fixes #164
2020-11-21 05:29:50 +09:00
softsimon
ddea10b160
Toggle display UTXO details and scripts for transactions
fixes #46
2020-11-15 17:58:38 +07:00
softsimon
5aa17e001c
Correcting new chartist import path. 2020-11-10 21:09:50 +07:00
softsimon
a07a4de255
Custom BTCPay donation integration
fixes #122
2020-10-07 20:15:42 +07:00
softsimon
89533cf76f
Improved graph visibility on mobile. 2020-09-23 15:49:07 +07:00
softsimon
fbb8185c82
Responsiveness fixes. 2020-07-19 13:46:30 +07:00
softsimon
3ff1957f0c
Table design and responsiveness updates. 2020-07-18 11:04:04 +07:00
softsimon
c5759be3ee
Fix responsiveness. 2020-07-16 14:36:02 +07:00
softsimon
8b6a681614
Detect RBF-transactions and offer to track them.
fixes #78
2020-06-08 18:55:53 +07:00
softsimon
969367c8bb
Improved Liquid Assets page with pagination and search filter. 2020-05-30 16:26:39 +07:00
softsimon
3deedada07
Display Segwit and RBF information 2020-05-28 18:39:45 +07:00
softsimon
0b74e6cba8 Bootstrap version update and progressbar fix.
Yellow fee text is now white.
2020-05-25 22:36:50 +07:00
softsimon
565aa499e5
Reveal coinbase scriptsig and op_return scriptpubkey ascii on hover. 2020-05-22 00:35:45 +07:00
softsimon
58942ec88a
Display fees in transaction list 2020-05-21 01:55:46 +07:00
softsimon
30d2c5de27
Liquid Graph fix.
Key navigation fix.
Addresses overflow fix.
Firefox float fix.
2020-05-17 17:06:09 +07:00
softsimon
ba3aba918a
Network based block progressbar colors. 2020-05-10 21:50:32 +07:00
softsimon
91a45aae30
Search box text updated.
BTC ticker fix.
Dropdown color fix.
Miner button tooltip.
2020-05-10 16:03:22 +07:00
softsimon
1feb985bec
Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
softsimon
24c23f1ee8
Only display 0-1sat/vB on Liquid. 2020-03-28 19:24:13 +07:00
softsimon
18989cf1e4
Display 0-1 sat/vb fees in graph 2020-03-28 13:55:52 +07:00
softsimon
628df1a972
Mobile view design updates. 2020-03-25 02:55:26 +07:00
softsimon
fe216b12d9
Mobile padding improvements. 2020-03-25 00:41:46 +07:00
softsimon
93c5f0bd84
Adding ETA, confirmed time, and other ui improvements to transaction page. 2020-03-23 04:07:31 +07:00
softsimon
4ae5576452
Update fee distribution graph and fix arrow. 2020-03-20 02:11:40 +07:00
softsimon
4d5580eabb
Replace some spinners with skeleton loaders. 2020-03-11 16:06:11 +07:00
softsimon
0f41b0d933
Making block, transaction, and address view responsive.
closes #43
2020-03-10 14:46:12 +07:00
softsimon
b60d9cdfbc General responsive improvments. 2020-03-05 16:13:46 +07:00
softsimon
943d96ee8c Latest block design updates. 2020-02-29 23:42:50 +07:00
Simon Lindh
34645908e9
Refactor. API explanations. UX revamp. 2020-02-26 03:26:16 +09:00
Simon Lindh
acd658a0e7
Optimize statistics. 2020-02-26 03:21:21 +09:00
Simon Lindh
ac95c09ea6
New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00
Simon Lindh
309e851ead Block view. 2019-11-12 16:39:59 +08:00
Simon Lindh
bd2bd478ef Transaction view. 2019-11-10 16:44:00 +08:00
Simon Lindh
85c4a3480b TV full screen view. 2019-07-27 18:43:17 +03:00
Simon Lindh
fd2209e75a Initial code commit. 2019-07-21 17:59:47 +03:00