embark/packages
Michael Bradley, Jr 2f2c0eefbf refactor(@cockpit/explorer): revise transactions explorer per techniques of PRs #1492, #1494
In addition to introducing improvements per #1492 and #1494, adjust the
transactions request action to allow for a `blockLimit` argument, since that
API parameter is supported by embark.

Revise `changePage` to invoke `fetchTransactions` correctly, i.e. with
arguments pertaining to a starting block number and a block limit.

These changes together fix most of the pagination problems related to exploring
transactions, i.e. badly mis-ordered results are no longer displayed.

However, a *wart* still remains related to estimation of the total number of
transactions and pages. Sometimes the calculated number of pages for the
transactions explorer doesn't match up to the actual number of transactions on
the blockchain (owing to estimation). The pagination controls and display of
transactions will temporarily behave a little strangely if one jumps ahead in
the pages, e.g. a jump from cockpit explorer overview's transactions page 1 to
page 5 for embark's demo, if an additional transaction has been added and the
explorer overview is freshly loaded. This behavior is related to the fact that
actions such as `fetchBlocksFull` and `fetchTransactions` are async without any
means to determine when all actions have completed and React re-/rendering has
settled down.

There are probably some architectural changes that could improve the situation,
but they're outside the scope of this PR and in no way easy to solve by means
of React lifecycle methods. In fact, attempts to make an improvement with
`componentDidUpdate` (and watching what happens in the debugger) revealed the
nature of the problem, as described above.
2019-05-07 10:40:27 -05:00
..
embark refactor(@embark/utils): move compact utility into utils package 2019-05-07 13:26:42 +02:00
embark-api build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-api-client build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-async-wrapper build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-authenticator build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-code-generator refactor(@embark/code-generator): move code-generator into own package 2019-05-06 11:38:35 +02:00
embark-compiler build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-console build(@embark/console): include suggestions.json in files packed by npm 2019-05-06 10:42:25 -05:00
embark-console-listener refactor(@embark/console-listener): move console_listener into embark-console-listener package 2019-05-06 15:37:52 -05:00
embark-contracts-manager build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-core refactor(@embark/core): move IPC into core package 2019-05-07 12:51:29 +02:00
embark-deployment refactor(@embark/deployment): move deployment module into own package 2019-05-06 11:38:03 +02:00
embark-ens build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-graph build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-i18n refactor(@embark/i18n): introduce embark-i18n package 2019-05-07 13:05:22 +02:00
embark-library-manager build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-logger build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-plugin-cmd fix(@embark/plugin-cmd): revise package.json in light of #1573, #1574, #1575, #1576 2019-05-03 15:34:19 -05:00
embark-process-logs-api build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-profiler build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-reset chore(release): 4.1.0-beta.0 2019-04-17 11:11:28 -05:00
embark-scaffolding build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-specialconfigs build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-test-runner build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-transaction-tracker build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-typings build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-ui refactor(@cockpit/explorer): revise transactions explorer per techniques of PRs #1492, #1494 2019-05-07 10:40:27 -05:00
embark-utils refactor(@embark/utils): move compact utility into utils package 2019-05-07 13:26:42 +02:00
embark-vyper build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-watcher build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-webserver build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embark-whisper build: bump tslint in all relevant pkgs from v5.11.0 to v5.16.0 2019-05-03 08:53:43 -05:00
embarkjs build: use babel cli's `--extensions` consistently in all packages 2019-05-02 20:33:42 -05:00
embarkjs-connector-web3 chore(release): 4.0.0 2019-03-18 18:26:56 -05:00
embarkjs-ipfs build: use babel cli's `--extensions` consistently in all packages 2019-05-02 20:33:42 -05:00
embarkjs-swarm build: use babel cli's `--extensions` consistently in all packages 2019-05-02 20:33:42 -05:00
embarkjs-whisper build: use babel cli's `--extensions` consistently in all packages 2019-05-02 20:33:42 -05:00
.yarnrc build: cleanup .yarnrc 2019-02-05 14:15:39 -06:00