80 Commits

Author SHA1 Message Date
softsimon
e34a3d0d41 Correcting tests. i18n strings and asset links. 2022-02-07 03:34:15 +04:00
nymkappa
a49cc9a2fa Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface 2022-02-04 12:51:45 +09:00
wiz
47318e1437 Merge pull request #1173 from mempool/simon/liquid-asset-precision-fix
Fixing Liquid asset precision
2022-01-25 08:15:20 +00:00
Felipe Knorr Kuhn
019c732272 Add an amount class vins and vouts to improve testing 2022-01-20 21:31:14 -08:00
softsimon
be77e3ff78 Fixing liqud asset precision
fixes #1166
2022-01-21 01:32:19 +04:00
softsimon
3450ff97ff Utilize gettxout to display spent/outspent
fixes #1088
2022-01-15 22:09:04 +04:00
softsimon
1448588e45 Fixing misplaces Unknown text after the Coinbase 2021-12-30 16:55:42 +04:00
softsimon
e5adfd52ba Handle Liquid native asset issuance transaction. 2021-12-30 02:18:16 +04:00
softsimon
c36ff22d68 Support for Test Liquid Native Asset 2021-12-29 00:40:55 +04:00
softsimon
13bfa5902d Adding Liquid Testnet as frontend option
fixes #976
2021-12-28 11:16:33 +04:00
softsimon
8e8d87fb42 Fixing broken Liquid peg-in and peg-out links
fixes #977
2021-12-08 11:50:51 +04:00
wiz
66d4d268d9 Don't change cursor when hovering over OP_RETURN 2021-11-17 20:06:24 +09:00
Miguel Medeiros
92847e3f6c fix: op_return tooltip position. 2021-11-16 18:03:43 -03:00
softsimon
cea0654099 Display previous output types
fixes #917
2021-11-10 16:17:03 +04:00
Miguel Medeiros
873f214245 Fix title styles. 2021-10-26 21:47:28 -03:00
softsimon
f2012b45e3 Add output ID to transaction info
fixes #413
2021-10-20 15:44:43 +04:00
TechMiX
3413b1c72a fix various rtl issues 2021-09-15 11:02:04 +02:00
Priyansh
1da2c78b63 Updated significant digits of transaction fee (#722) 2021-08-18 16:27:35 +03:00
Rishabh
3f0b394b1c Only display "Load all" if there are at least 3 more items to load (#724)
* Only display Load more if there are at least 3 more items to load

* Load more only if at least 3 more inputs
2021-08-18 00:49:08 +03:00
Miguel Medeiros
392460aa42 Fix colorized unblinded transaction. (#671) 2021-07-29 13:37:17 +03:00
Miguel Medeiros
1900441eef Fix undefined asset and colored coinbase tx. (#645) 2021-07-19 23:13:34 +03:00
Miguel Medeiros
6ac8609910 UI/UX - Fix arrow position. (#627)
* Fix arrow position.

* Add arrows from font-awesome.

* Add icons to bisq transfers.

* Fix icon size in mobile view.
2021-07-15 23:23:37 +03:00
Miguel Medeiros
517a0597f6 Liquid support for unblinding transactions. (#588)
* Add docker file to generate wallycore wasm js lib.

* Add unblinded liquid transactions.

* Add background to unblided transactions.

* Check liquid network to try to unblind tx.

Ww don't want to try to unblind transactions in other networks.

Co-authored-by: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com>

* Delete libwally-core dockerfile.

* Delete wallycore.html.

* Fix validation unblind tx.
Fix lint.
Add errorUnblinded.
Add vin.prevout unblinded tx.

* Add e2e testing to liquids unblinded tx.

* Load libwally.js dynamically.

* Fix table size.

* Add Blockstream License to libwally and wallycore.

Co-authored-by: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com>
2021-07-06 19:56:32 +03:00
softsimon
9be82737df Revert "Parse TXID, hash or address strings from search bar and allow searching for TXID:OUTPUT. (#578)" (#610)
This reverts commit 2e2e6aa01f691ca28d2763faf827fda01e428cda.
2021-07-06 19:55:01 +03:00
softsimon
61975c3f63 Parse TXID, hash or address strings from search bar and allow searching for TXID:OUTPUT. (#578)
fixes #450
fixes #415
2021-07-06 19:43:18 +03:00
Miguel Medeiros
8488d40bf7 Fix pagination responsive layout. (#590)
* Fix pagination responsive css.

* Fix css title block transaction alignment.

* Add pagination responsive layout to bisq tx page.

* Add pagination responsive  to bisq blocks page.

* Fix pagination css - bisq txs page.

* Add e2e tests for bisq and mainnet pagination.
2021-07-05 22:28:56 +03:00
softsimon
9ee1d8c56f Lower scroll threshold to fix load more not triggering. (#576)
* Lower scroll threshold to fix load more not triggering.

fixes #575
2021-06-24 18:20:20 -04:00
Miguel Medeiros
f8f078a08f Fix missing whitespace linting. (#534) 2021-05-21 19:03:18 +04:00
Miguel Medeiros
694778fbb7 Fix tx-list load is being constantly triggered. (#531) 2021-05-20 02:03:59 +04:00
Miguel Medeiros
d08347e2d9 Fix OP_RETURN truncated text. (#502)
* Fix OP_RETURN truncated text.

* Fix scriptmessage width on desktop media queries
2021-05-08 00:36:35 +04:00
Miguel Medeiros
2427bc2930 Fix OP_RETURN css width. 2021-05-06 09:00:33 -03:00
Miguel Medeiros
e3e53f62e1 New concept for dashboard layout components. (#469)
* New concept for dashboard layout components.

* Align dashboard componentes.

* Add divider to fee box component.

* Remove TV icon from mobile and tablet queries.

* Fix form input overflow.

* Add responsive css to statistic component.

* Add responsive css to about page.

* Add global padding bottom.

* Fix graph page styles.

* Add responsive chart and scrollable table.

* Fix mobile css query for navbar menus.

* Fix pagination responsive css.

* Add CSS animated logo.

* Revert "Add CSS animated logo."

This reverts commit 92af38294c0d4fe815a801b37635cde7f8ee1ced.

* Add extra skeleton to fee-box-component.

* Fix latest-blocks and latest-transactions table css.

* Adapt Bisq pages to responsive layout.

* Remove parenthesis from fiat amout.
Fiat prive break not break on desktop.
Transaction ID align left.
Fee box skeleton width resize.

* Fix mobile table text-size.

* Fix dashboard mempool info mobile alignment.
2021-05-03 17:11:30 +04:00
Felipe Knorr Kuhn
62c8331824 fix infinite scrolling by not using body as the container 2021-04-19 23:48:33 -07:00
softsimon
4395b93710 Display P2PK inputs as "P2PK" instead of empty string.
fixes #290
2021-02-02 01:32:15 +07:00
TechMiX
dab6e07cca 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
38f858a7e7 add rtl-layout class to base component 2020-12-09 01:57:18 +01:00
softsimon
5d84eefe3b i18n: Fixed translations for the footer component. Merged some duplicates. 2020-12-08 18:24:02 +07:00
softsimon
3fb4d987a9 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
98fd5bd8f8 Remove extra garbage characters from OP_RETURN tooltip.
fixes #254
2020-12-05 02:32:16 +07: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
softsimon
26773c45da Allow searching for and viewing assets not in the asset registry.
fixes #111
2020-11-22 16:03:23 +07:00
wiz
7dbe7a7584 Add some color and styling to the Bitcoin ASM opcodes
Fixes #164
2020-11-21 05:29:50 +09:00
softsimon
bff1e1b97b Display P2PK instead of OP_RETURN
fixes #161
2020-11-16 16:21:37 +07:00
softsimon
75e770f50c Improved utxo script design.
fixes #46
2020-11-16 02:25:10 +07:00
softsimon
e946547c76 Adding prevout script. Fixed padding.
refs #46
2020-11-16 02:02:16 +07:00
softsimon
2b7ef0d287 Toggle display UTXO details and scripts for transactions
fixes #46
2020-11-15 17:58:38 +07:00
softsimon
856eef4606 Enhancement: "Load more" is now "Load all"
fixes #117
2020-09-29 15:05:52 +07:00
softsimon
d39b4a5c92 WIP: Bisq DAO support. Transactions list and details. 2020-07-03 23:45:19 +07:00
softsimon
68cff33ce2 Bugfix: Latestblock height didn't propagate in the template
Renaming Contributors to About
2020-06-21 14:55:16 +07:00
softsimon
2f89612075 Display input/output asset transfers
fixes #85
2020-06-12 16:17:52 +07:00