Commit Graph
28 Commits
Author SHA1 Message Date
Mononaut 85024c2ddd Handle network interruptions in scrollable blockchain 2023-02-23 13:52:08 -06:00
Mononaut adc1deb2d6 load block/tx pages at correct blockchain scroll position 2023-01-06 10:13:53 -06:00
Mononaut b35fbbbbd9 add paginated virtual scrolling to blockchain blocks bar 2023-01-06 10:13:53 -06:00
softsimon f1d8fbfc72 Updating flip icon 2022-09-30 13:57:34 +04:00
softsimon b26329111b Fix for add class js error 2022-09-30 11:14:07 +04:00
Mononaut 2884e3ef82 Fix liquid block divider position 2022-09-30 02:01:59 +00:00
Mononaut 3023be257c Reversible blockchain components 2022-09-30 00:54:29 +00:00
nymkappa c0dd355d57 Show miner tag under blocks in the mining dashboard 2022-02-17 22:57:10 +09:00
nymkappa 853552101c Fix routes for /mining - Share blockchain component instances - remove animations 2022-02-17 18:08:00 +09:00
nymkappa 4a9959d45f [mempool | blockchain] position changes between main/mining dashboards 2022-02-17 18:07:59 +09:00
softsimon 322b743cfa Merge branch 'master' into simon/configurable-main-module
# Conflicts:
#	frontend/src/app/components/blockchain/blockchain.component.ts
2021-08-02 00:24:09 +03:00
Miguel Medeiros 11af9e6033 Fix concurrent asynchronous calls. (#675)
* Fix concurrent asynchronous calls.

* Remove test without mempool info websocket.

* Remove isloading$ variable.
2021-07-31 19:40:15 +03:00
softsimon 6140f9f3a7 Liquid dashboard updates. About page link. 2021-07-29 12:32:54 +03:00
Miguel Medeiros 6095da173f UI/UX - Add skeleton for blocks preload. (#615)
* Add skeleton for blocks preload.

* Add e2e testing for skeleton blocks preloader.

* Fix reduce mempool blocks to fit the screen.

* Fix variable naming.
2021-07-10 16:04:15 +03: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 29090d5c97 Subscription refactoring to increase performance. 2020-07-30 17:01:13 +07:00
softsimon 95104a3496 Fee box fixes. 2020-07-30 13:13:22 +07:00
softsimon f0c9ac5235 Adding a global websocket loader observable.
fixes #95
2020-07-22 19:21:40 +07:00
softsimon 7974cbbc83 Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
softsimon 827bfcef3d Refactord blockchain is rendering, block arrow location propagation and keynavigation. 2020-03-22 17:44:36 +07:00
softsimon aca1b20772 Adding "mempool block" details. Work in progress! 2020-03-17 21:53:20 +07:00
Simon Lindh 90a1fcaf8d Various fixes and design updates. 2020-02-26 03:37:00 +09:00
Simon Lindh c550c888a4 Footer and header design updates. 2020-02-26 03:34:20 +09:00
Simon Lindh d6bfb77abe Basic address tracking. 2020-02-26 03:31:45 +09:00
Simon Lindh ae7bff924b Track transaction among mempool blocks. 2020-02-26 03:30:51 +09:00
Simon Lindh 6e724d4203 Transaction tracking revamped.
Blockchain block arrow.
2020-02-26 03:28:57 +09:00
Simon Lindh 98391580b3 Refactor. API explanations. UX revamp. 2020-02-26 03:26:16 +09:00
Simon Lindh 43f41b8aab New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00