Commit Graph
37 Commits
Author SHA1 Message Date
Mononaut c7e51090e4 support inner links in truncated string component 2023-01-16 16:47:05 -06:00
Mononaut ad57df34d2 migrate old text truncation implementations to new component 2023-01-05 11:01:46 -06:00
softsimon b6a21c3e60 Change imports to relative paths 2022-11-24 12:19:19 +09:00
softsimon 880b5f9712 Use relative import paths 2022-09-21 17:23:45 +02:00
nymkappa 68b1f42b05 Remove hardcoded liquid.network in asset icons url 2022-04-23 08:56:55 +09:00
softsimon e34a3d0d41 Correcting tests. i18n strings and asset links. 2022-02-07 03:34:15 +04:00
softsimon 12f996753b SEO and various render fixes. 2022-02-07 03:34:15 +04:00
softsimon 547469dab5 Asset name overflow fix 2022-01-21 00:16:18 +04:00
softsimon da0eec4127 Liquid asset loading fixes 2022-01-20 23:00:43 +04:00
softsimon e87fb403c6 Display Liquid asset icons 2022-01-20 19:51:02 +04:00
softsimon 84025c3cae Fixing missing assets data for Liquid Testnet native asset
fixes #1068
2022-01-04 05:26:46 +04:00
softsimon c36ff22d68 Support for Test Liquid Native Asset 2021-12-29 00:40:55 +04:00
Miguel Medeiros 873f214245 Fix title styles. 2021-10-26 21:47:28 -03:00
Miguel Medeiros e460372870 Fix titles height inconsistencies. 2021-10-26 21:47:26 -03:00
softsimon eb8d58f46a Sort block transactions first by height and then time
fixes #770
2021-09-25 16:28:11 +04:00
softsimon d9ecde42e6 Adding missing space. 2021-06-13 17:56:24 -05:00
softsimon 7df7a3fcec Updated transifex. 2021-04-26 03:45:14 +04:00
wiz 3a14bd4521 Add missing i18n tags for various strings, fixes #473 2021-04-26 06:35:56 +09:00
softsimon 2f3741e9e0 i18n correcctions based on feedback. Added even more missing i18n strings. 2020-12-04 21:29:31 +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 11baac3ed0 Detect confidential assets and display properly.
fixes #109
2020-11-22 16:19:57 +07:00
softsimon 26773c45da Allow searching for and viewing assets not in the asset registry.
fixes #111
2020-11-22 16:03:23 +07:00
softsimon 7ee75b71df Bugfix: Liquid asset issuance / circulating / burned amounts are missing decimal point
fixes #112
2020-09-29 03:54:56 +07:00
softsimon d10a75999e Liquid assets display fix. 2020-09-28 16:44:35 +07:00
softsimon 1fa02433d0 Various bugfixes. 2020-09-28 16:32:48 +07:00
softsimon d915edd3de Replacing footer and latest blocks with a stats dashboard. 2020-09-21 19:41:12 +07:00
softsimon 4e97ab44ac Update title to - "<network> Explorer" 2020-08-12 14:04:04 +07:00
softsimon 30eb53011d Correced Liquid asset amouts. 2020-07-23 17:55:59 +07:00
softsimon 49138fe8e6 Mobile responsive fixes. 2020-05-28 15:50:19 +07:00
softsimon e5dfeed63c Fix address tracking issues. 2020-05-20 17:00:50 +07:00
softsimon 7974cbbc83 Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
softsimon 4932d6f706 Asset tracking.
Asset caching.
refs #37
2020-05-05 15:26:23 +07:00
softsimon ffbd6da1e0 Fixed asset infinite scroll. 2020-05-03 00:56:48 +07:00
softsimon b7ac1c85ca Assets list. Native asset updates.
refs #37
2020-05-02 16:29:34 +07:00
softsimon 53653f96c8 Assets support WIP
refs #37
2020-05-02 12:36:35 +07:00
softsimon 3839edbaaa Basic Liquid Asset support. 2020-04-28 17:10:31 +07:00