Commit graph

45 commits

Author SHA1 Message Date
softsimon
2792016383
Fix relative imports 2024-04-09 14:24:34 +09:00
Mononaut
79dd263fb1
add high contrast theme 2024-04-06 15:56:53 +09:00
Mononaut
4c205eb09d
implement theme switching service 2024-04-06 15:55:47 +09:00
natsoni
ee92f6639a
convert to CSS variables 2024-04-06 15:54:55 +09:00
Mononaut
013ad803d0
Switch all direct sat/vb fields to new rate component 2023-07-11 10:00:41 +09:00
Mononaut
d7333ec858
display fee box skeleton while mempool not in sync 2023-05-03 15:01:07 -06:00
softsimon
fa11cb0619
Use relative import paths 2022-09-21 17:23:45 +02:00
hunicus
1c40a22416
Add 'usually' to feerate tooltips 2022-06-27 00:30:27 -04:00
nymkappa
aa02170e5c
Use ellipsis + tooltip combo to fix layout on long string 2022-06-09 15:58:49 +02:00
hunicus
8f4de39e7b
Change 'projected' to 'mempool' in feerate tooltips 2022-06-07 14:06:56 -04:00
hunicus
3e2ced2e8b
Make feerate tooltips appear on top 2022-06-07 13:18:20 -04:00
hunicus
6cc04feda8
Move feerate tooltips to feerate labels 2022-06-07 13:14:30 -04:00
hunicus
a0429b243f
Make feerate tooltip i18n identifiers unique 2022-06-07 08:32:58 -04:00
hunicus
22268b8a33
Add tooltips describing feerate levels 2022-06-06 14:32:16 -04:00
hunicus
0f58ce2322
Show fiat fee tooltip on fiat fee only 2022-06-06 14:17:25 -04:00
nymkappa
fe32ef75a2
Updated new fee widget design 2022-06-02 17:44:44 +02:00
nymkappa
34576c0609
Update gradient as soon as we receive the fees 2022-06-01 12:53:36 +02:00
nymkappa
ec24549602
Hide minimum and economy on mobile 2022-06-01 12:28:42 +02:00
nymkappa
cefc927b06
Tweaks fee widget 2022-06-01 09:47:00 +02:00
nymkappa
b4fd98f565
Rewamp the fee widget 2022-05-31 22:31:01 +02:00
nymkappa
f20cf266b6
Remove frontend fee calculation and read it from the websocket instead 2022-05-31 10:41:43 +02:00
softsimon
fd34761a93
Adding Liquid Testnet as frontend option
fixes #976
2021-12-28 11:16:33 +04:00
Miguel Medeiros
735c2ba587
Bugfix: Dashboard preloading skeleton. (#668)
* Change green color.

* Fix dashboard preloading components.
2021-07-27 02:47:08 +03:00
Miguel Medeiros
652f88770e
Fix mouse over tooltip width. (#614) 2021-07-07 22:20:17 +03:00
softsimon
939955fb84
Round up fee estimations 2021-05-12 20:13:55 +04:00
Miguel Medeiros
2f8f3ca2e9
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
6ec07e5315
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
371433b2da
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
e214eedf23
Center aligning fee box text. 2021-01-24 17:26:14 +07:00
softsimon
fb11d73751
i18n all the remaining strings. 2020-12-03 18:34:19 +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
fcb51fef20
Calculate tx fees based on segwit tx sizes. 2020-10-28 20:26:48 +07:00
softsimon
98c398272c
Fix for incorrect division in fee estimation.
refs #65
2020-10-05 16:26:39 +07:00
softsimon
15bb5a966b
Improved empty mempool as well as medium and low fee estimations.
refs #65
2020-10-05 11:42:54 +07:00
softsimon
b95efca29d
Various bugfixes. 2020-09-28 16:32:48 +07:00
softsimon
3e3dd83243
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
209865d23f
Minor dashboard mobile view fixes.
Offline indicator position fix.
2020-09-27 00:18:44 +07:00
softsimon
21ef5054bf
Moving fee box into a regular box. 2020-09-26 23:40:26 +07:00
softsimon
d2a14e9cb7
Default to 1 sat/vB when mempool is empty. 2020-08-10 22:04:51 +07:00
softsimon
01b3407a9c
Updated fee texts 2020-08-04 00:56:01 +07:00
softsimon
67dbea3faf
Fee box fixes. 2020-07-30 13:13:22 +07:00
softsimon
81d7072a95
Fee box: Mobile view 2020-07-29 17:30:30 +07:00
softsimon
36d952b503
Fee block: Fees order fix. 2020-07-29 16:54:08 +07:00
softsimon
266c347292
Fee box: Handle empty mempool. 2020-07-29 15:20:23 +07:00
softsimon
9e0097e7b6
Adding fee estimation component to front page
fixes #98
2020-07-29 15:16:09 +07:00