36 Commits

Author SHA1 Message Date
hunicus
a9968d1d3f Change 'projected' to 'mempool' in feerate tooltips 2022-06-07 14:06:56 -04:00
hunicus
b2d3d5d5bd Make feerate tooltips appear on top 2022-06-07 13:18:20 -04:00
hunicus
106fca4c90 Move feerate tooltips to feerate labels 2022-06-07 13:14:30 -04:00
hunicus
9d03e0c962 Make feerate tooltip i18n identifiers unique 2022-06-07 08:32:58 -04:00
hunicus
76497d8e42 Add tooltips describing feerate levels 2022-06-06 14:32:16 -04:00
hunicus
6e6bd9e815 Show fiat fee tooltip on fiat fee only 2022-06-06 14:17:25 -04:00
nymkappa
ed7cce3ffd Updated new fee widget design 2022-06-02 17:44:44 +02:00
nymkappa
39975e49b6 Update gradient as soon as we receive the fees 2022-06-01 12:53:36 +02:00
nymkappa
2d3ed41eae Hide minimum and economy on mobile 2022-06-01 12:28:42 +02:00
nymkappa
2d8a31b93a Tweaks fee widget 2022-06-01 09:47:00 +02:00
nymkappa
ac9cea2614 Rewamp the fee widget 2022-05-31 22:31:01 +02:00
nymkappa
acb5c4d084 Remove frontend fee calculation and read it from the websocket instead 2022-05-31 10:41:43 +02:00
softsimon
13bfa5902d Adding Liquid Testnet as frontend option
fixes #976
2021-12-28 11:16:33 +04:00
Miguel Medeiros
c786ec935e Bugfix: Dashboard preloading skeleton. (#668)
* Change green color.

* Fix dashboard preloading components.
2021-07-27 02:47:08 +03:00
Miguel Medeiros
87a55cce0c Fix mouse over tooltip width. (#614) 2021-07-07 22:20:17 +03:00
softsimon
3c8cb79013 Round up fee estimations 2021-05-12 20:13:55 +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
softsimon
74880b1567 Re-fixing bug where high priority fee could display as lower than the medium and low fee.
fixes #278
2021-02-24 12:30:40 +07:00
softsimon
c9f2a871fc Fix for fee estimate not being correct when block is almost full with more projected blocks in queue.
fixes #278
2021-01-30 01:34:40 +07:00
softsimon
05953a5200 Center aligning fee box text. 2021-01-24 17:26:14 +07:00
softsimon
4d097ea92a i18n all the remaining strings. 2020-12-03 18:34:19 +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
3b83f41e49 Calculate tx fees based on segwit tx sizes. 2020-10-28 20:26:48 +07:00
softsimon
2c19c54d71 Fix for incorrect division in fee estimation.
refs #65
2020-10-05 16:26:39 +07:00
softsimon
193c8ab74c Improved empty mempool as well as medium and low fee estimations.
refs #65
2020-10-05 11:42:54 +07:00
softsimon
1fa02433d0 Various bugfixes. 2020-09-28 16:32:48 +07:00
softsimon
5f8ba96f8f Fix: Show fee box on Testnet and Liquid.
Use 0.1 sat/vB as minimum liquid fee.
2020-09-27 18:12:36 +07:00
softsimon
79b9c35411 Minor dashboard mobile view fixes.
Offline indicator position fix.
2020-09-27 00:18:44 +07:00
softsimon
ba70347ff6 Moving fee box into a regular box. 2020-09-26 23:40:26 +07:00
softsimon
2aaa421b3a Default to 1 sat/vB when mempool is empty. 2020-08-10 22:04:51 +07:00
softsimon
e4a296ba84 Updated fee texts 2020-08-04 00:56:01 +07:00
softsimon
95104a3496 Fee box fixes. 2020-07-30 13:13:22 +07:00
softsimon
3d355257b2 Fee box: Mobile view 2020-07-29 17:30:30 +07:00
softsimon
4a1840b995 Fee block: Fees order fix. 2020-07-29 16:54:08 +07:00
softsimon
f19171468b Fee box: Handle empty mempool. 2020-07-29 15:20:23 +07:00
softsimon
92d0aa6cef Adding fee estimation component to front page
fixes #98
2020-07-29 15:16:09 +07:00