83 Commits

Author SHA1 Message Date
softsimon
c54af751a5 Restoring the TV button 2022-07-08 18:55:26 +02:00
softsimon
fb77362f47 Store and display stats and node top lists 2022-07-08 18:55:21 +02:00
softsimon
b01fe38b02 Adding missing ngIf check 2022-05-31 22:39:15 +04:00
wiz
2f90307840 Merge branch 'master' into wiz/use-svg-logo-for-mempool.space 2022-06-01 03:22:52 +09:00
softsimon
53f3bee24b Store SVG images in a separate component 2022-05-31 22:21:59 +04:00
wiz
a773ab941c Use SVG logo for mempool.space 2022-05-31 17:31:31 +09:00
softsimon
a9a2545859 Changed menu buttons to links
fixes #1073
2022-05-31 03:49:03 +04:00
softsimon
7b94e9e4b4 Fixing the /graphs link and make it consistent 2022-05-20 18:22:04 +04:00
wiz
0efdd6c2dd Merge branch 'master' into simon/i18n-2.4 2022-05-17 23:04:38 +09:00
nymkappa
623144fefe Added some missing alt tags on some img 2022-05-13 15:34:26 +02:00
softsimon
a98c23a988 Correcting and harmonizing i18n strings 2022-05-11 16:29:45 +04:00
nymkappa
338c42e3d8 Move all charts into /graphs page - Fix mining charts layouts 2022-03-14 18:07:35 +01:00
nymkappa
ba1a26d3f2 Fix 'active' menu when using mining dashboard 2022-02-21 18:19:03 +09:00
nymkappa
59cfbceb4f Renamed /mining/dashboard -> /mining 2022-02-17 18:07:57 +09:00
nymkappa
ead9fb98f4 Create basic layout for mining dashboard page - Show miner in blocks 2022-02-17 18:07:56 +09:00
nymkappa
de276c81e0 Provide a way to completely disable block indexing and mining menu 2022-02-15 19:51:26 +09:00
nymkappa
6e61de3a96 Small improvements on the mining page UX
- INDEXING_BLOCKS_AMOUNT = 0 disable indexing, INDEXING_BLOCKS_AMOUNT = -1 indexes everything
- Show only available timespan in the mining page according to available datas
- Change default INDEXING_BLOCKS_AMOUNT to 1100

Don't use unfiltered mysql user input

Enable http cache header for mining pools (1 min)
2022-01-28 15:01:24 +09:00
nymkappa
8d406a40e5 Add pie chart and rewrite the pool ranking component 2022-01-28 13:54:59 +09:00
nymkappa
48d01afaa8 Cleanup master-page template 2022-01-24 18:22:15 +09:00
Felipe Knorr Kuhn
505b8e86cf Add ids to nav bar items, liquid and bisq components 2022-01-22 14:21:46 -08:00
softsimon
43d92a8b8c Adding current language to network dropdown links
fixes  #1094
2022-01-10 18:00:01 +04:00
softsimon
f10166c6c6 Ending support for /bisq /liquid and /liquidtestnet 2022-01-08 17:33:37 +04:00
softsimon
ca2216a541 Making frontend network URLs configurable
fixes #1095
2022-01-07 20:17:14 +04:00
softsimon
13bfa5902d Adding Liquid Testnet as frontend option
fixes #976
2021-12-28 11:16:33 +04:00
softsimon
26e10253d7 Documentation i18n title 2021-12-09 17:49:36 +04:00
hunicus
1f6609aa1e Make nav url relative to fix non-mainnet links 2021-12-09 07:01:46 -05:00
hunicus
69623313ee Move /api to /docs/api
Also make API docs responsive so they can be viewed
on mobile.

REST docs are at /docs/api/rest and WebSocket docs
are at /docs/api/websocket.
2021-12-08 12:37:42 -05:00
Priyansh
292bab200e Updated mobile view for dropdown (#717)
Dropdown menu with dynamic positioning
2021-08-18 19:18:12 +03:00
softsimon
8796e43ad0 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
63e14f454c 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
2e5e51d055 Dynamic dropdown. 2021-07-28 22:32:13 +03: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
5d242aa39f 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
cf56d9aec7 New UI for responsive navbar. (#458)
New UI for responsive navbar.
fixes #458
2021-04-19 17:01:04 +04:00
softsimon
2298db17d4 Bisq markets dashboard. Base views. WIP. 2021-02-27 04:19:56 +07:00
softsimon
bd6df3a94d Signet network color. 2021-02-21 01:45:52 +07:00
softsimon
da61a72283 Signet support in the frontend. 2021-02-20 23:12:22 +07:00
softsimon
8dc4cba01d 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
82fdd4ff4e Center align offline/reconnection badge on the logo.
fixes #302
2021-01-25 01:29:58 +07:00
softsimon
3c661435ca Fixing about-link title translation. 2020-12-04 21:49:03 +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
be021dae4b About page updates.
refs  #128
2020-10-09 13:56:43 +07:00
softsimon
aaf107a888 Enhancements to the sponsorship GUI
fixes  #128
2020-10-08 17:51:10 +07:00
softsimon
3e71b5e465 Moving API docs to separate /api page. 2020-10-07 23:24:01 +07:00
softsimon
a9358c8d9e Only display About page on main Bitcoin network. 2020-10-07 20:27:22 +07:00
softsimon
79b9c35411 Minor dashboard mobile view fixes.
Offline indicator position fix.
2020-09-27 00:18:44 +07:00
softsimon
4bfaabbb5f Adding mini-graphs on dashboard. 2020-09-26 22:46:26 +07:00
softsimon
bd2d94f662 Menu design updates. 2020-09-22 12:07:08 +07:00
softsimon
50c419884f Menu design updates. 2020-09-22 06:55:45 +07:00