Commit Graph
47 Commits
Author SHA1 Message Date
softsimon f39d90547e Display P2PK inputs as "P2PK" instead of empty string.
fixes #290
2021-02-02 01:32:15 +07:00
TechMiX c4734357c4 add text-align for Details title + swap text-left class with style so that it always remains aligned to left 2020-12-09 02:22:16 +01:00
TechMiX e0adc505db add rtl-layout class to base component 2020-12-09 01:57:18 +01:00
softsimon eb9aaac0aa i18n: Fixed translations for the footer component. Merged some duplicates. 2020-12-08 18:24:02 +07:00
softsimon e2d19a174e i18n: Updated strings for "x confirmations", "x transactions", "x blocks" and "block ETA". Peg-out, and bisq headers. 2020-12-06 23:44:08 +07:00
softsimon 1af1f7211e Remove extra garbage characters from OP_RETURN tooltip.
fixes #254
2020-12-05 02:32:16 +07: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
softsimon 11d67cf756 Allow searching for and viewing assets not in the asset registry.
fixes #111
2020-11-22 16:03:23 +07:00
wiz 9e83fdc9f2 Add some color and styling to the Bitcoin ASM opcodes
Fixes #164
2020-11-21 05:29:50 +09:00
softsimon 76238f5943 Display P2PK instead of OP_RETURN
fixes #161
2020-11-16 16:21:37 +07:00
softsimon d9803e3f3d Improved utxo script design.
fixes #46
2020-11-16 02:25:10 +07:00
softsimon c9e63a723a Adding prevout script. Fixed padding.
refs #46
2020-11-16 02:02:16 +07:00
softsimon ddea10b160 Toggle display UTXO details and scripts for transactions
fixes #46
2020-11-15 17:58:38 +07:00
softsimon 0f72030d5e Enhancement: "Load more" is now "Load all"
fixes #117
2020-09-29 15:05:52 +07:00
softsimon c21dad88bf WIP: Bisq DAO support. Transactions list and details. 2020-07-03 23:45:19 +07:00
softsimon 7e9ba6b983 Bugfix: Latestblock height didn't propagate in the template
Renaming Contributors to About
2020-06-21 14:55:16 +07:00
softsimon 6eca311147 Display input/output asset transfers
fixes #85
2020-06-12 16:17:52 +07:00
softsimon 36e46249b5 Transition new blocks from the mempool onto the blockchain.
Chime on new blocks.
fixes #47
fixes #84
2020-06-10 23:52:14 +07:00
softsimon 4bef9f9b79 Display coinbase and op return messages all the time. 2020-06-06 23:50:08 +07:00
softsimon 84e15b133a Mobile responsive fixes. 2020-05-28 15:50:19 +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 910696e41c Removing halving event code. 2020-05-12 14:49:29 +07:00
softsimon 50f98807a3 Graph x-axis date fix. 2020-05-10 17:44:19 +07:00
softsimon 1feb985bec Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
softsimon 20c7ee98e7 Asset tracking.
Asset caching.
refs #37
2020-05-05 15:26:23 +07:00
softsimon 44d19550e8 Assets list. Native asset updates.
refs #37
2020-05-02 16:29:34 +07:00
softsimon 11b1d9bbd3 Assets support WIP
refs #37
2020-05-02 12:36:35 +07:00
softsimon b2d2fd225c Basic Liquid Asset support. 2020-04-28 17:10:31 +07:00
softsimon 9025d4dd54 - Switched the arrow colors for spent/unspent utxos
- Collapse dropdown on search (mobile)
2020-04-14 15:35:20 +07:00
softsimon 498df53f25 Format transaction count numbers. 2020-04-07 00:44:22 +07:00
softsimon 294e6d1667 Adding "load more" for large input/output sets. 2020-03-27 02:34:09 +07:00
softsimon af86956836 Set outspend fetch limit on transaction level. 2020-03-27 01:33:39 +07:00
softsimon 550a096749 Bugfixes. 2020-03-27 01:29:55 +07:00
softsimon 628df1a972 Mobile view design updates. 2020-03-25 02:55:26 +07:00
softsimon 93c5f0bd84 Adding ETA, confirmed time, and other ui improvements to transaction page. 2020-03-23 04:07:31 +07:00
softsimon 4d5580eabb Replace some spinners with skeleton loaders. 2020-03-11 16:06:11 +07:00
softsimon 3c38aaaf33 Fixes to responsive design. 2020-03-10 15:25:49 +07:00
softsimon 0f41b0d933 Making block, transaction, and address view responsive.
closes #43
2020-03-10 14:46:12 +07:00
softsimon dc775b7ee5 Infinite scroll fixes. 2020-03-01 16:33:18 +07:00
softsimon 90c05ccb51 Infinite scroll replaces "load more" buttons. 2020-03-01 03:32:12 +07:00
softsimon 4879036216 Added first seen on mempool transactions. 2020-02-28 01:09:07 +07:00
softsimon 37166e230d Confirmed address transactions fix. QR Code fix. 2020-02-26 21:11:43 +07:00
softsimon a122432c24 Address tracking and notification sounds. 2020-02-26 04:29:57 +07:00
Simon Lindh 34645908e9 Refactor. API explanations. UX revamp. 2020-02-26 03:26:16 +09:00
Simon Lindh ac95c09ea6 New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00