Commit graph

160 commits

Author SHA1 Message Date
softsimon
9d75c47792
Merge branch 'master' into simon/configurable-main-module
# Conflicts:
#	frontend/src/app/components/api-docs/api-docs.component.ts
#	frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts
#	frontend/src/app/components/master-page/master-page.component.html
#	frontend/src/app/components/mempool-blocks/mempool-blocks.component.html
#	frontend/src/app/components/mempool-blocks/mempool-blocks.component.ts
#	frontend/src/app/dashboard/dashboard.component.html
2021-08-13 17:16:14 +03:00
Miguel Medeiros
7a8b2db3fb
UI/UX: Fix Blockchain skeleton preloader. (#696)
* Fix Blockchain skeleton preloader.

* Fix Mempool Blocks skeleton preloader.

* Add e2e test.

* Add shared command to cyrpress e2e test.
2021-08-06 14:09:47 +03:00
softsimon
2de28b9926
Dynamic dropdown. 2021-07-28 22:32:13 +03: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
b8fe7b621c
Merge branch 'master' into simon/bisq-dashboard
# Conflicts:
#	frontend/package-lock.json
#	frontend/src/app/components/master-page/master-page.component.html
2021-04-23 15:35:35 +04:00
Miguel Medeiros
d74677628b
New UI for responsive navbar. (#458)
New UI for responsive navbar.
fixes #458
2021-04-19 17:01:04 +04:00
softsimon
eeb7447988
Bisq markets dashboard. Base views. WIP. 2021-02-27 04:19:56 +07:00
softsimon
55df5dbd35
Signet network color. 2021-02-21 01:45:52 +07:00
softsimon
563ae8540b
Signet support in the frontend. 2021-02-20 23:12:22 +07:00
softsimon
edce0d118a
Updating mempool logo and adding new mempool space logo. New frontend config OFFICIAL_MEMPOOL_SPACE to enable the latter.
fixes #336
2021-02-18 13:34:05 +07:00
softsimon
9d02ab1eb5
Center align offline/reconnection badge on the logo.
fixes #302
2021-01-25 01:29:58 +07:00
softsimon
f9e8dfb079
Merge branch 'master' into simon/angular-universal
* master: (42 commits)
  i18n: Added missing Bisq translations. Minor missing space and character fixes.
  add missing 'sat/vb' string for i18n
  i18n: Removed CR from "In X minutes" translation
  i18n: Updated strings for "x confirmations", "x transactions", "x blocks" and "block ETA". Peg-out, and bisq headers.
  Update translation strings from Transifex
  Enable 'ka' locale for Georgian
  Update translation strings from Transifex
  Disable Vietnamese locale 'vi' until translations are completed
  Update translation strings from Transifex
  add 'sat' string for i18n
  Update translation strings from Transifex
  Update translation strings from Transifex
  i18n update
  Remove extra garbage characters from OP_RETURN tooltip. fixes #254
  Fix for changing locale on other networks than mainnet. fixes #253
  i18n: Asset search box
  Update translation strings from Transifex
  i18n: Added X of X transaction. Flipped collapse/expand
  i18n: Added "miner identification" and updated "navigate to sponsor"
  Update translations from Transifex
  ...

# Conflicts:
#	frontend/src/app/components/app/app.component.ts
#	frontend/src/app/components/mempool-block/mempool-block.component.ts
2020-12-08 00:11:38 +07:00
softsimon
67df21fe50
Fixing about-link title translation. 2020-12-04 21:49:03 +07:00
softsimon
fb11d73751
i18n all the remaining strings. 2020-12-03 18:34:19 +07:00
softsimon
2bba51e6c1
Merge branch 'master' into simon/angular-universal
* master:
  Update list of supported locales
  Add one more fix to nginx.conf for i18n
  Remove unused i18n tags in frontend/src/index.html
  Update translations from Transifex
  Enable 'fr' locale for French
  Corrected some missing spaces on transactions page and a blank render bug when confirmation time is below 1 minute.
  Implement i18n support in frontend using Angular + Transifex + NGINX

# Conflicts:
#	frontend/src/app/app.constants.ts
#	frontend/sync-assets.js
2020-12-02 20:05:49 +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
c36addd8c1
Frontend config support for AU. New absolute server url settings.
refs #104
2020-11-23 02:30:46 +07:00
softsimon
a8a1f4e976
About page updates.
refs  #128
2020-10-09 13:56:43 +07:00
softsimon
784f00b725
Enhancements to the sponsorship GUI
fixes  #128
2020-10-08 17:51:10 +07:00
softsimon
b6738dd9e8
Moving API docs to separate /api page. 2020-10-07 23:24:01 +07:00
softsimon
0ee2753100
Only display About page on main Bitcoin network. 2020-10-07 20:27:22 +07:00
softsimon
209865d23f
Minor dashboard mobile view fixes.
Offline indicator position fix.
2020-09-27 00:18:44 +07:00
softsimon
3dedf1e3e1
Adding mini-graphs on dashboard. 2020-09-26 22:46:26 +07:00
softsimon
bcf68aa074
Menu design updates. 2020-09-22 12:07:08 +07:00
softsimon
b2e0edb919
Menu design updates. 2020-09-22 06:55:45 +07:00
softsimon
ffee91939e
Justify menu items center on mobile. 2020-09-22 06:19:14 +07:00
softsimon
9e3fad610c
Removing hamburger menu on mobile. Adjusted icon sizes. 2020-09-22 06:13:27 +07:00
softsimon
b67b025dc2
Replacing menu button texts with icons.
Latest blocks is now a separate page.
2020-09-22 05:51:34 +07:00
softsimon
6c1d28a9ac
Replacing footer and latest blocks with a stats dashboard. 2020-09-21 19:41:12 +07:00
softsimon
58ec9444a5
Change detection refactoring. 2020-08-02 19:20:38 +07:00
softsimon
e6fa274aca
Changedetection performance improvements. 2020-08-02 16:00:08 +07:00
softsimon
490223b40a
Correced Liquid asset amouts. 2020-07-23 17:55:59 +07:00
softsimon
3ff1957f0c
Table design and responsiveness updates. 2020-07-18 11:04:04 +07:00
softsimon
87e56e2975
Network menu design updates. 2020-07-16 14:30:27 +07:00
softsimon
40f7eaf7ba
Watch dir instead of json file.
Adding divider to network dropdown.
2020-07-16 00:33:53 +07:00
softsimon
3333b76c98
Rearange network dropdown.
API for Bisq block height tip.
Loading indicators on transactions/blocks view.
Total sent now correctly display burnt on Pay trade fee txs.
2020-07-15 13:10:13 +07:00
softsimon
b7376fbd8d
Bisq statistics page. 2020-07-14 14:38:52 +07:00
softsimon
87abfc38cb
Display network logo in the top bar.
Allow search for block height.
Hide empty bisq blocks.
2020-07-13 23:22:24 +07:00
softsimon
60e1b9a41e
Bisq explorer is now a separate module. 2020-07-11 00:17:13 +07:00
softsimon
c21dad88bf
WIP: Bisq DAO support. Transactions list and details. 2020-07-03 23:45:19 +07:00
softsimon
2ebdb27dcb
Fixing routes to /tv and /status 2020-07-02 22:34:16 +07:00
softsimon
0a264a7078
Adding support for optional frontend config.
Dropdown network selector is hidden by default, and enabled using config.
fixes #79
2020-06-22 22:10:49 +07:00
softsimon
7e9ba6b983
Bugfix: Latestblock height didn't propagate in the template
Renaming Contributors to About
2020-06-21 14:55:16 +07:00
softsimon
57029405a7
Removing "blockchain" tab to make medium size display not overlap. 2020-06-20 21:54:42 +07:00
softsimon
3cf839e1da
Icons to network dropdown. 2020-06-01 15:08:27 +07:00
softsimon
db64abec4e
Dropdown color update. 2020-05-10 16:22:35 +07:00
softsimon
91a45aae30
Search box text updated.
BTC ticker fix.
Dropdown color fix.
Miner button tooltip.
2020-05-10 16:03:22 +07:00
softsimon
1feb985bec
Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
softsimon
0d435c9e1a
Hide assets on mainnet. 2020-05-02 17:52:26 +07:00
softsimon
6a51162f99
Renaming file assets folder to resources to not confuse with Liquid assets. 2020-05-02 16:59:14 +07:00