Commit Graph

507 Commits

Author SHA1 Message Date
Eric Mastro 8d33ac6cb4
Merge pull request #1011 from embark-framework/bugfix/deployment-interface
Do no show interface on injected web3
2018-10-30 20:55:52 +01:00
Eric Mastro 4e7ae9aa17
Merge pull request #1010 from embark-framework/fix_whisper
fix whisper in embark-ui
2018-10-30 20:55:20 +01:00
Anthony Laibe dc6294ad84 Do no show interface on injected web3 2018-10-30 20:51:23 +01:00
Iuri Matias 4ee0f38278
Merge pull request #1009 from embark-framework/features/icons-for-explorer
Add icons for the contract page
2018-10-30 20:46:23 +01:00
Iuri Matias 54dc34ef15
Merge pull request #1007 from embark-framework/fix/make-linter-happy
Make linter happy 2019
2018-10-30 20:45:44 +01:00
Michael Bradley, Jr 82e4253e34 fix whiper in embark-ui 2018-10-30 20:38:21 +01:00
Jonathan Rainville 0634a47cff change icons for the contract page 2018-10-30 19:42:08 +01:00
Andre Medeiros 57be7d38dd Make linter happy 2019 2018-10-30 18:42:54 +01:00
Anthony Laibe 1b2050907f bug: empty response 2018-10-30 18:07:02 +01:00
Iuri Matias 10ccb9489f
Merge pull request #1005 from embark-framework/feature/highlight-header
Highlight header tab
2018-10-30 17:44:08 +01:00
Iuri Matias 473b6fc0ee replace browser icon 2018-10-30 17:43:40 +01:00
Anthony Laibe 0671da2347 Highlight header tab 2018-10-30 17:41:12 +01:00
Iuri Matias 10fd5af9a6 add workaround for env issue in the tests 2018-10-29 16:36:27 +01:00
Jonathan Rainville c6902efb2f fix Transactions constant 2018-10-29 12:32:24 +01:00
Jonathan Rainville f1d113a431 put aside under when on a small screen 2018-10-29 12:29:43 +01:00
Jonathan Rainville e0ce61f112 resolve conflict with Logger name 2018-10-29 12:29:20 +01:00
Jonathan Rainville 01dc5f0bef resolve conflict in toolbar 2018-10-29 12:26:03 +01:00
Jonathan Rainville 207c1319b1 fix overflow of the aside 2018-10-29 12:23:47 +01:00
Jonathan Rainville 2af3ac439b for aside style 2018-10-29 12:23:47 +01:00
Jonathan Rainville 8b1f970f74 conflict in editor 2018-10-29 12:23:47 +01:00
Jonathan Rainville 19ad229dbb refactor AsideContainer to remove duplication 2018-10-29 12:23:46 +01:00
Iuri Matias f483230650
Merge pull request #178 from status-im/fix/change-contract-folder-icon
Change contract folder icon
2018-10-29 12:11:16 +01:00
Iuri Matias 6a9c067167
Merge pull request #177 from status-im/feature/deployment-header-improvement
Fix contract deployment headers
2018-10-29 12:07:22 +01:00
Iuri Matias 896debefbd
Merge pull request #176 from status-im/packaging_improvements
Packaging improvements
2018-10-29 12:05:52 +01:00
Iuri Matias c10185c0f9
Merge pull request #181 from status-im/fix/editor-tool-bar-tabs
fix(cockpit/TextEditorToolbar): set active state on selected tabs
2018-10-29 11:59:49 +01:00
Anthony Laibe 360df5f6ef Display better error message 2018-10-28 17:10:38 +01:00
Pascal Precht 2e4e6a3381
fix(cockpit/TextEditorToolbar): set active state on selected tabs
This commit ensures that the `activeTab` state for the Editor toolbar tabs
is properly passed down to `TextEditorToolbar` component, so it can be used
to set the active state accordingly.
2018-10-28 16:07:41 +01:00
Andre Medeiros aa136b470d Change contract folder icon
CHange it to something that indicates text files
2018-10-28 14:41:14 +01:00
Andre Medeiros dafd81ecbf Fix contract deployment headers
This will make the only linkable section of the title be the contract
name.
2018-10-28 13:43:29 +01:00
Michael Bradley, Jr dfd741ee8a don't gen source maps for production builds of embark-ui
don't include .env files in the pkg tarball
2018-10-28 13:16:20 +01:00
Michael Bradley, Jr 59326e6500 embark-ui pkg lock -- http:// -> https:// 2018-10-28 13:16:20 +01:00
Michael Bradley, Jr 7b241743aa rev embark-ui .npmignore 2018-10-28 13:16:20 +01:00
Iuri Matias 1576db38d5 Merge branch 'develop_51' of github.com:status-im/embark-area-51 into develop_51 2018-10-28 12:10:28 +01:00
Iuri Matias d1d5450747 decrease file size in 'show hidden files' text 2018-10-28 12:10:15 +01:00
Iuri Matias 6f626179ac
Merge pull request #173 from status-im/chores/linter
Add linter to embark-ui
2018-10-28 11:31:20 +01:00
Iuri Matias 3c93151750
Merge pull request #174 from status-im/feature/tabs-colored
Color tabs for text editor
2018-10-28 11:29:38 +01:00
Anthony Laibe d1170d3cef Reset content if empty 2018-10-28 11:21:05 +01:00
Anthony Laibe f1e1c4a143 Color tabs for text editor 2018-10-28 10:39:40 +01:00
Anthony Laibe 5c19dcf672 Add linter to embark-ui 2018-10-28 10:13:09 +01:00
Iuri Matias eb8759083c
Merge pull request #172 from status-im/minor_style_improvements
fix button text colors and table background colors in the dark theme
2018-10-28 09:42:45 +01:00
Iuri Matias b20b872256 fix button text colors and table background colors in the dark theme 2018-10-28 09:34:04 +01:00
Iuri Matias 3487265100
Merge pull request #169 from status-im/feature/do-not-close-expanded-folder
Do not close expanded node
2018-10-27 21:36:04 +02:00
Iuri Matias 9f6f7af3f7
Merge pull request #171 from status-im/global_vars
display globals in the debugger; display vars found in failing line
2018-10-27 21:33:00 +02:00
Iuri Matias 40ed7b960f display globals in the debugger; display vars found in failing line 2018-10-27 21:31:13 +02:00
Jonathan Rainville e77e08c84e Merge branch 'features/improve-gas-estimator' into develop_51 2018-10-27 06:06:14 -04:00
Anthony Laibe 40cab4a06a Do not close expanded node 2018-10-26 17:06:14 +02:00
Iuri Matias b02cafe672
Merge pull request #133 from status-im/bug_fix/double-auth
Don't authenticate twice
2018-10-26 16:58:08 +02:00
Anthony Laibe ed9a910f4a Add tooltip to header external link 2018-10-26 16:40:34 +02:00
Iuri Matias 87dfffef4d
Merge pull request #166 from status-im/features/improve-gas-estimator
Add gas estimator to the functions that need it
2018-10-25 15:43:39 -04:00
Jonathan Rainville b85f8aff8c fix margins by using a padding on the container instead 2018-10-25 14:34:54 -04:00
Jonathan Rainville 79cb60f164 style improvments to functions, explorer and icon 2018-10-25 14:16:45 -04:00
Jonathan Rainville 22f94563fe add a title to the auto-set button to explain 2018-10-25 12:04:25 -04:00
Jonathan Rainville 8886f6b0f2 add gas price estimator is functions as well as a button to auto-set 2018-10-25 11:59:25 -04:00
Jonathan Rainville 92d433ff9a impore contract overview style 2018-10-25 10:23:47 -04:00
Jonathan Rainville 8ec1199074 fix file-tree height 2018-10-25 09:51:54 -04:00
Iuri Matias 7df05fdce3
Merge pull request #164 from status-im/feature/light-theme-editor
Add light theme to editor
2018-10-25 07:50:15 -04:00
Pascal Precht 6dccbd8902
fix: Ensure Embark process live updates are being retrieved by Cockpit 2018-10-25 13:04:33 +02:00
Anthony Laibe 079a2dbba4 Add light theme to editor 2018-10-25 12:02:13 +01:00
Michael Bradley, Jr 8a9b8f25ab separate "should authenticate" logic from "do authenticate" logic
but don't maintain separate methods for query string vs. props
2018-10-25 05:50:59 -05:00
Michael Bradley, Jr a5c972903b formatting 2018-10-25 05:50:58 -05:00
Michael Bradley, Jr 10fa3fec9f consolidate DEFAULT_HOST logic 2018-10-25 05:50:58 -05:00
Michael Bradley, Jr 9533b57627 formatting 2018-10-25 05:50:58 -05:00
Michael Bradley, Jr d861b0b1af prefer an empty React Fragment to an empty div 2018-10-25 05:50:58 -05:00
Michael Bradley, Jr 56177346df set error null for action.type AUTHENTICATE[REQUEST] 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr d150deb572 error is `null` in DEFAULT_CREDENTIALS_STATE 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 9ce967ca03 prefer `import` to `require()` 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 754266da17 formatting 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr a594b14f27 combine token stripping logic, use utils 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 53d6b9d704 reorg getQueryToken, stripQueryToken in utils/utils 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 8d684bf1ef make requireAuthentication clearer
if authenticating or authenticated, do not require authentication
2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 8add299f53 whitespace 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 8b23d012eb don't return Layout while authenticating 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 2088624d83 on autho failure trigger logout, which clears localStorage
We don't presently have a way to cleanly distinguish between auth attempts with
query string vs. credentials from localStorage, particularly with respect to
one kind failing vs. the other. This can create confusing behavior when
e.g. copy/pasting an old/wrong URL+token, but then it works when refreshing the
window/tab with URL minus the token.

So, this commit simplifies the situation somewhat by triggering a logout
if there's an auth failure. That will affect all open tabs/windows of the
same browser but not other browsers, e.g. if one has embark-ui open in Chrome
and Firefox.
2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 0ce26e4479 include default credentials state on auth failure 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 8d40c04107 strip token from URL if auth fails 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr d02d2f1522 make token stripping logic reusable 2018-10-25 05:50:53 -05:00
Michael Bradley, Jr 3071c489a7 introduce props.credentials.authenticating
helps prevent auth dupes and allows "flash" of Login component to be avoided
while waiting for an authentication attempt that may succeed
2018-10-25 05:50:52 -05:00
Michael Bradley, Jr ee13fcf3ad getToken -> getQueryToken 2018-10-25 05:50:52 -05:00
Michael Bradley, Jr 2abcfe5de0 remove token from URL and replace location in history if auth'd 2018-10-25 05:50:52 -05:00
Michael Bradley, Jr 1b20bbbeb8 invoke queryStringAuthenticate before requireAuthentication 2018-10-25 05:50:52 -05:00
Michael Bradley, Jr 2432489943 remove useless constructor 2018-10-25 05:50:52 -05:00
Michael Bradley, Jr fe1a0a6f3b only auth w/ stored token if there is no query string token 2018-10-25 05:50:52 -05:00
Iuri Matias 4b00145e4b
Merge pull request #160 from status-im/feature/file-tree-icons
Add icons to file tree
2018-10-25 06:13:25 -04:00
Iuri Matias 21fd3292b8
Merge pull request #161 from status-im/chores/warning
Fix warnings
2018-10-25 06:11:00 -04:00
Iuri Matias 767b81da63
Merge pull request #162 from status-im/feature/add-contracts-overview-to-deployment
Add function to contract deployment
2018-10-25 06:10:44 -04:00
Anthony Laibe df86bae377 Remove footer 2018-10-25 10:43:26 +01:00
Anthony Laibe 7e1a6848ae Add function to contract deployment 2018-10-25 09:43:50 +01:00
Anthony Laibe 48715efec8 Fix warnings 2018-10-25 08:23:09 +01:00
Anthony Laibe 8ae6c6c154 Add icons to file tree 2018-10-25 08:06:37 +01:00
Iuri Matias 2821c3deb1 improve sidebars width 2018-10-24 17:20:36 -04:00
Iuri Matias 886b78f497
Merge pull request #158 from status-im/feature/move-contracts-page-to-explorer
Move contracts to explorer
2018-10-24 17:13:37 -04:00
Iuri Matias 90c033187d
Merge pull request #156 from status-im/features/explorer-pagination
Add pagination to explorer
2018-10-24 17:13:16 -04:00
Jonathan Rainville 60c07072cf review comments 2018-10-24 16:41:05 -04:00
Andre Medeiros d02edf869b Move contracts to explorer 2018-10-24 16:03:46 -04:00
Jonathan Rainville d8145e80b1 fix tabs 2018-10-24 16:03:40 -04:00
Jonathan Rainville e268c5b8c8 remove hard-coded color 2018-10-24 15:23:31 -04:00
Jonathan Rainville c50390fb01 fix dark-theme layout 2018-10-24 15:20:31 -04:00
Jonathan Rainville 90fafd0158 fix linting on the explorer 2018-10-24 15:09:32 -04:00
Jonathan Rainville 3d3ce559e9 add pagination to transactions too 2018-10-24 14:51:09 -04:00
Jonathan Rainville ab3fa97592 change page when clicking on it for blocks 2018-10-24 14:51:09 -04:00