Commit Graph

29 Commits

Author SHA1 Message Date
Michael Bradley, Jr 0bac9b21fa ES6 export 2018-07-20 11:06:02 -05:00
emizzle ba1c18390c updated our unsubscription from tweet events 2018-07-18 15:38:21 +02:00
emizzle ff63ff9c20 Moved loading of user accounts to top level App 2018-07-18 11:05:23 +02:00
emizzle d1b1784e4d Added error handling to header 2018-07-17 22:30:47 +02:00
emizzle e0764db85d Final dropdown UI updates, housekeeping
Added icon to non-user accounts

Added comments to new header functions

Style updates

Removed unneeded debugging logs
2018-07-17 19:48:47 +02:00
emizzle c18a65fb80 Added accounts dropdown UI for account switching 2018-07-17 17:22:39 +02:00
emizzle 35f1f45e58 added relative date formatting
fixed header branding on mobile
2018-07-17 10:55:42 +02:00
emizzle 072011d146 Added from account when send txs
removed contracts config mneumonic for development
2018-07-16 21:16:58 +02:00
emizzle cd65f6a2b4 first stab at showing multiple accounts dropdown
better error handling for error page (more description)

add config support for embark to autmoatically generate and fund accounts

updated test to use default account
2018-07-14 07:50:15 +02:00
emizzle 5f5f5f47da Added handling for metamask event subs
Metamask doesn’t allow event subscriptions, so user is redirected to the error page with the error.
2018-07-11 23:54:18 +07:00
emizzle 01273e7319 Comments and readability 2018-07-12 00:15:50 +10:00
emizzle 0be0b2d24d Added error page for metamask and header error
If metamask installed but not unlocked, user is redirected to the error page with help text and “error” is shown in the header.
2018-07-12 00:01:31 +10:00
emizzle 1b04f703b1 Updated DTwitter contract and tests, UI updates
Tweet event now returns times as well

Tweet method no longer requires a usernamehash parameter and instead assumes the msg.sender as the user who is tweeting

UI update to reflect contract chnages

UI update to add tweet time (WIP - needs Date.js for prettier formatting)

UI update to show member join date (WIP - needs Date.js for prettier formatting)

UI update to disallow spaces and @ from being entered as part of the username. Also check for @ and space in form validation.

DTwitter contracts fully documented

DTwitter tests update to reflect changes in contract
2018-07-11 22:43:23 +10:00
emizzle 16c1c14ea9 Update profile fixes
Prevent update profile button click before form is changed.

Remove “from” from send tx.
2018-07-10 15:41:20 +10:00
emizzle b338461689 added text underline back for nav links
removed from address for sending txs as this was sometimes not getting properly updated by react (i think)

disabled user profile update without first modifying the data
2018-07-10 13:31:39 +10:00
emizzle 21d530655f Visual update for address to display beginning and end of address string
Added pacman loading spinner while waiting for account to load
2018-07-10 12:33:30 +10:00
emizzle 24af9eb6c7 Fixed missing description on the update profile page
Added tweet unit tests for contract events (which works!!)

Added HD wallet accounts to contracts config

Updated to web3 1.0.0-beta.34 explicitly
2018-07-10 00:39:22 +10:00
emizzle 5f20667a0f modified contract so that interactions with an existing account require a hash of the username.
updated tests to include most contract functions. Still need to include tweet tests.
2018-07-08 15:33:36 +10:00
emizzle 6e0669286c Small bug fix where description wasn't appearing in update user page after creating user. 2018-07-06 20:49:03 +10:00
emizzle 7bb92bcecc Fix createuser validation 2018-07-06 19:59:59 +10:00
emizzle 8840cd97b1 Fixed huge app.js issue.
Added JSDoc and helpful comments throughout.

Allowed new lines in tweets.

Tweet box focussed on render.

After user creation, user taken to update profile page.

Handle form submit and enter pressed on all forms

Now handles changing user/route by re-searching for different user.

Begin adding contract tests (WIP)
2018-07-06 19:21:45 +10:00
emizzle 4de529d984 UI overhaul with customised bootstrap theme. 2018-07-05 21:30:16 +10:00
Iuri Matias 64efedb9be keep track of event and stop it when component unmounts 2018-07-05 13:56:33 +03:00
emizzle a4bc4a2fdf More UI updates.
Update profile details fully working

Tweet moved from header to modal

home added to nav with tweet button

defaultAccount changed to `web3.eth.getAccounts()` to account for metamask
2018-07-04 16:34:51 +10:00
emizzle acc200fb52 reduced webpacked file size
moved getting of user details to highest level and sending data to lower level comps

add babel file
2018-07-03 16:31:10 +10:00
Eric Mastro c51121ec5f EmbarkJS/contract imports moved out of global. Moved around some components for better UI. WIP 2018-07-03 12:42:54 +10:00
emizzle 6c554ee56d Moved most functionality to react. Update profile still needs to be moved. And the UI needs a bit of a makeover. 2018-07-01 19:17:41 +10:00
emizzle 7701264a5c Bringing dApp functionality up to date (WIP) 2018-06-27 16:39:00 +10:00
emizzle 48df488d3f Initial commit of DTwitter app. 2018-06-25 13:09:10 +10:00