56 Commits

Author SHA1 Message Date
Miguel Medeiros
77c062e7f8 New API docummentation. (#544)
* Install hljs package.

* Add highlight.js stylesheet and js to index.html.

* Add new instructions for API documentation.

* Add network value to code-template component.

* Add curl examples.

* Fix tab order of bisq api page.

* Add esmodules instalation instructions.
Add external links to repositories.

* Add self-hosted hljs styles.

* Add response code examples.
Add dynamic networks to curl examples.
Remove reponse code box if not needed.

* Self hosted highlight.min.js.

* Bumping "ws" dependency to fix vulnerability.

* npm audit fix

* npm audit fix

* Remove Hightlight.js dependency.
Add new style to code-template-component.

* Remove hljs css.

* Change NgbModule and NgbAccordionModule  to shared

* Fix NgbAccordionModule import.
2021-06-06 16:06:56 -04:00
Miguel Medeiros
4ded57a9c4 Align scriptmessage text to the left. (#529)
* Align scriptmessage text to the left.
* Script message box only fills the text width.
2021-05-19 01:16:47 +04:00
Miguel Medeiros
9765fd7df6 Fix rbf alert css. (#525) 2021-05-18 18:56:42 +04:00
Miguel Medeiros
5f787c52e8 FIX unify the units css. (#499)
* FIX unify the units css.
* Fix units css font-size.
2021-05-18 18:20:17 +04:00
softsimon
451e265ae9 Bisq dashboard: Change color between red/green when price changes 2021-05-13 19:23:43 +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
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
Miguel Medeiros
cf56d9aec7 New UI for responsive navbar. (#458)
New UI for responsive navbar.
fixes #458
2021-04-19 17:01:04 +04:00
Felipe Knorr Kuhn
e33918fd86 fix native scrolling on iOS devices 2021-04-17 16:11:34 -07:00
Jonathan Underwood
6f3e27ea79 Show fee tiles on mobile 2021-03-05 11:28:59 +09:00
softsimon
bd6df3a94d Signet network color. 2021-02-21 01:45:52 +07:00
softsimon
33fc7fbb86 Adjusting h5 header font-size. 2021-01-24 13:59:39 +07:00
softsimon
1e387cf7cd Reducing size of dashboard header titles to reduce overflow depending on language. 2021-01-24 11:53:42 +07:00
softsimon
c043b99574 Adding common styling for dropdown select.
fixes #293
2021-01-16 00:10:23 +07:00
softsimon
d7851f98e9 Renaming minimum fee to rejecting.
Adding progressbar to mempool size.
refs #171
2021-01-12 20:45:41 +07:00
softsimon
c0f0d9e7e2 Adding missing progressbar styling. 2021-01-11 17:20:52 +07:00
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