Commit Graph

1147 Commits

Author SHA1 Message Date
Julien Eluard dba52f9de7 Use unique etherscan key 2017-10-20 08:40:38 +02:00
Andrey Shovkoplyas 780efc3ac1 added transaction sent modal 2017-10-19 12:05:01 +02:00
Eric Dvorsak aeee3a6583 [bug] #2144 warning not shown when app is syncing 2017-10-18 23:55:30 +02:00
Andrey Shovkoplyas fd09a16ca5 close send screen and show alert if error 2017-10-18 18:12:38 +02:00
janherich e8602eb3bd Display time in transaction history list
Also make `[list/item-content]` element more modular and reusable
as it was necessary to accomplish the task.
2017-10-18 17:31:48 +02:00
alwx 1eba86b7bf Command scopes spec fix, removed contacts leftovers 2017-10-18 16:06:51 +02:00
Eric Dvorsak 3b824d1821 [feature] user feedbacks related to unsigned transaction
- in unsigned transaction tab, show the transaction sent screen when user
signs a transaction
- in send command flow, show dialog when users want to sign later
2017-10-18 10:10:18 +02:00
Andrey Shovkoplyas e1d655789d handle signing error 2017-10-18 10:07:29 +02:00
janherich 4062eed675 Properly clearing `[:wallet :send-transaction]`
This PR fixes the fact, that `[:wallet :send-transaction]` path
in db was not properly cleared in some cases, which demonstrated
as couple of the subtle issues (like that you were taken straight
to the signing state on tx-modal in when sending `/send` command
and some tx was sent previously from wallet, and some quite serious,
like #2197, which was caused by password info not properly cleared
between multiple invocations of the `/send` command.
2017-10-18 10:04:51 +02:00
Eric Dvorsak 22f39e88c0 show warning when app is syncing 2017-10-18 10:02:18 +02:00
Eric Dvorsak dea6bdb2ca add positional argument for hiding tabs to swipable-tabs component
- makes it possible to hide the tabs in a view under certain conditions (e.g
when the keyboard is displayed)
- hide tabs in main screens when the keyboard is displayed
2017-10-18 09:57:20 +02:00
Roman Volosovskyi f22cf27a66 fix undeclared var 2017-10-18 09:56:13 +02:00
alwx 712b1d3a61 wallet bot has been removed completely 2017-10-18 09:56:13 +02:00
Andrey Shovkoplyas 23c663f3ef returned network-badge 2017-10-17 18:51:44 +02:00
Goran Jovic e6f8eec7c5 #2084 - proper sizes of open icon and button 2017-10-17 18:49:06 +02:00
Julien Eluard eea4eeb549 [BUG #2189] Do not clear user set amount when scanning QR code 2017-10-17 17:31:31 +02:00
Goran Jovic 1c43702c32 #2078 - alignment in discover main - empty states 2017-10-17 15:46:15 +02:00
Andrey Shovkoplyas 3ed2fb6a07 fixed wallet ui issues 2017-10-17 14:53:07 +02:00
Oskar Thorén 86b8a38f08 Recent statuses pixel perfect must haves (+ popular bonus)
- fix bug where toolbar wasn't ready with zero statuses
- fix toolbar center and margin to top
- fix grey background missing
- fix top status text margin from the top of the card
- fix separation lines between statuses edge to edge
- margin with chat icon to bottom 12

Also apply same to popular hashtags for consistency
2017-10-17 14:25:53 +02:00
Eric Dvorsak 0564551782 [bug] fix #2132 clear unsigned transactions when switching account
- works with PR #2137
2017-10-17 14:21:47 +02:00
Eric Dvorsak 0707af2ad6 [bug] fix #2128 No feedback on insufficient funds from unsigned
- move current unsigned-transaction to wallet
- move some logic from view to subscriptions and events
2017-10-17 14:21:47 +02:00
Goran Jovic 71a3cda5d5 #2083 - dapp profile styling must haves 2017-10-17 13:12:12 +02:00
Oskar Thorén f1f43258fb Discover pixel perfect: Main screen and empty main screen
Addresses all non-test must haves except "All content hidden behind right edge on smaller screen (check 5s)"

- Main screen (empty): fix topbar margin
- Main screen: Font size name (and dapp list item)
- Main screen: Get rid of popular hashtag border
- Main screen: All for DApps should be blue
- Main screen: tap on number of popular hashtag -> error
2017-10-17 13:08:43 +02:00
Julien Eluard 8393f19596 [BUG #2133] Correctly parse/generate amount from QR code 2017-10-17 10:18:26 +02:00
Roman Volosovskyi ec32917155 fix wrong transaformation of value form transaction.queued signal 2017-10-17 10:03:16 +02:00
Roman Volosovskyi af052d2c65 fix faucet url formatting 2017-10-17 08:12:02 +02:00
Audrius Molis 47c4b9014f Lithuanian translation file added. 2017-10-16 21:50:49 +02:00
Julien Eluard e5c7d81b65 [BUG #2156] Fixed incorrect address parsing 2017-10-16 15:05:59 +02:00
Goran Jovic 8a0607654e fix #2160 - status author name no longer overlaps with chat button on smaller screens 2017-10-16 15:05:27 +02:00
Goran Jovic 8236302041 fix #2119 - discover chat button formatting, hashtag color in status 2017-10-16 13:29:02 +02:00
Andrey Shovkoplyas 9aa0b1b4b2 fixed qr data 2017-10-16 12:32:33 +02:00
Oskar Thorén de161c4412 Upgrade status-go to bugfix-no-messaging-rinkeby-gd04e667-12 (geth 1.7 rebase) (#2067)
* Upgrade status-go to bugfix-no-messaging-rinkeby-gd04e667-12 (geth 1.7 rebase)

* [bug] fix #2089 and #2098 with geth update

with geth 1.7 addresses are passed with 0x prefix and mix of lower/upper cases
update the normalize hex function so that addresses are always without prefix
and entirely lower-cased.
2017-10-16 11:49:25 +02:00
Roman Volosovskyi 4a669ba331 comments 2017-10-16 11:47:22 +02:00
Roman Volosovskyi 57c80ea533 hide Add network and Edit network config buttons 2017-10-16 11:47:22 +02:00
Andrey Shovkoplyas cf2be3b176 added network info form 2017-10-16 10:37:16 +02:00
alwx 4078fe9980 wallet-bot has been added to js-resources 2017-10-16 10:14:29 +02:00
Alexander Pantyuhov fef984d0b6 Fixes: #2061, #2072, #2075 (#2129) 2017-10-16 09:51:52 +02:00
alwx cb72190a18 API commands scopes, changes for API semantics (#1546) 2017-10-16 09:51:52 +02:00
Julien Eluard ba98b6a3b5 [BUG #2087] [BUG #2088] Fixed style issues when amount is too long 2017-10-16 09:21:08 +02:00
Julien Eluard 4c7d045c47 Fixed broken action button style on iOS 2017-10-16 09:21:08 +02:00
Oskar Thorén fa9c85b04a Update feature flags & enable push notifications in production build
- Comment on flag lifecycle
- Explicitly declare all flags
2017-10-16 09:20:46 +02:00
Andrey Shovkoplyas 56fe8f3763 wallet modal android fix 2017-10-16 09:19:44 +02:00
Goran Jovic 12080ba4d8 fix #2081 - fixed toolbar title for smaller ios screens 2017-10-16 09:16:49 +02:00
Julien Eluard 3fba4d7b16 Extend tap area for sign buttons 2017-10-16 09:12:20 +02:00
Andrey Shovkoplyas c2ef0e4547 pending wallet in default contacts 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 6b9095d235 removed messages to wallet 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 8269d6d9a9 hide old wallet Dapp #2021 2017-10-13 17:49:25 +02:00
Oskar Thorén e17d3bc05e Discover: main screen pixel perfect progression
- Fix icon size and remove badge numbers
- Preview: tighten up margins
- Hide horizontal scrollbar
- Padding for public chats
2017-10-13 15:19:47 +02:00
Julien Eluard 990232782f Added Status identifier when calling cryptocompare API 2017-10-13 13:28:28 +02:00
Goran Jovic a8bb85fc72 fix #2081 - fixed style issues with popular hashtags screen header - android 2017-10-13 13:05:38 +02:00
Julien Eluard 3b6b5e2da1 [BUG #2025] Ensure QR code data is properly parsed 2017-10-13 13:01:16 +02:00
Julien Eluard 0a94d10559 Fixed amount validation regression 2017-10-13 11:50:27 +02:00
Oskar Thorén 1df074c100 Extend list components to set separator? with same default behavior
- base-list props private and takes additional separator arg
- flat-list and section-list extended with separator? key that defaults to true
2017-10-13 10:57:35 +02:00
janherich 5267d55ec8 Fix bug #2031 2017-10-12 17:42:58 +02:00
Eric Dvorsak 748f1c6772 fix unsigned transaction expiring while user checks details
previously one would get a red screen in develop and probably a white screen
in the app
now it shows a label indicating that the transaction has expired
2017-10-12 16:21:24 +02:00
Julien Eluard 0e63b09dcd Ask for confirmation before unsigned transaction deletion 2017-10-12 16:12:23 +02:00
Julien Eluard a1c300c73d [BUG #2023] Improved QR code readability 2017-10-12 14:46:30 +02:00
Julien Eluard 9640b3d6cc [BUG #2102] Fixed discover toolbar regression 2017-10-12 12:47:03 +02:00
Oskar Thorén 1b7d2db71d Discover: work towards pixel perfection
- Refactor: more consistent styles naming
- Align text next to icon
- Grey background whole discover
- Set background popular apps
- Fix margin-bottom for all-dapps
2017-10-12 09:53:18 +02:00
Roman Volosovskyi 50919c8eb8 hide faucet when in mainnet, show different in renkeby 2017-10-11 16:46:24 +02:00
Andrey Shovkoplyas 7133c4a655 flex shrink for wallet value 2017-10-11 16:28:14 +02:00
Andrey Shovkoplyas 278748f0d6 removed line height for android 2017-10-11 16:28:14 +02:00
Oskar Thorén 5f35ff7eda Discover: refactor platform styles
All styles belonging to screen/component should be in styles.cljs. This commit
moves platform specific styles to appropriate place.

Also fixes misc weird ns imports.

Also moves colors to common ns (FUBAR).
2017-10-11 15:17:14 +02:00
Goran Jovic dc192005b1 feature #1999 - discover screen, empty states for recent statuses and popular hashtags 2017-10-11 12:36:13 +02:00
Roman Volosovskyi 11f410f3af fix for Use of undeclared Var re-frame.core/subscribe 2017-10-11 12:17:37 +02:00
Eric Dvorsak c7893ebd17 [feature] update react-native-swiper
rework current use of swiper to make it reusable
2017-10-11 12:17:37 +02:00
Julien Eluard fb10b580d4 Fixed incorrect wallet buttons styles
Make wallet list show correct amount
Wallet name should be cut if too long
2017-10-11 12:07:27 +02:00
angusiguess 78d76292e1 Add loading spinner logic to transaction-modal
Block screen while signing

Move threaded assocs into an update

Add assoc
2017-10-11 11:08:05 +02:00
Eric Dvorsak 10cfef3bdb [Feature] #2040 Show Recipient name if available in Unsigned/History 2017-10-11 09:23:54 +02:00
Eric Dvorsak 5fcf482ef0 hash is not applicable for unsigned transactions details 2017-10-10 23:27:46 +02:00
angusiguess 833072087f Prevent pointer events from propagating
Fix map alignment
2017-10-10 17:55:17 +02:00
Roman Volosovskyi d7fcb333da show warning in profile for all testnet networks 2017-10-10 17:20:27 +02:00
Oskar Thorén e732f5559c Discover: replace carousel with horizontal flat list 2017-10-10 12:48:37 +02:00
angusiguess 1d2a7e2f6e Add ios-specific permissions checking
- Move permission check from main screen (no longer makes sense given
  choose recipient is reached from send)
- Add ios-specific display and permission checks
2017-10-10 12:28:22 +02:00
Eric Dvorsak e8c8dbc098 [bug] fixes #2064 red screen caused by carousel 2017-10-10 10:50:27 +02:00
Oskar Thorén 61a6167998 Discover: Fix toolbar title styling
Center, margin, font
2017-10-09 18:38:13 +02:00
Goran Jovic ddc2bb3501 feature #1973 and #2042 - discover - dapp details screen connected to dapp carousel and all dapps screen 2017-10-09 15:53:30 +02:00
angusiguess 8b1bf510ef Fix precondition for flat-list
The flat-list component handles the nil case but the precondition does
not.

This is currently causing transaction list failures when the list of
unsigned transactions is empty.
2017-10-09 15:52:47 +02:00
Oskar Thorén baccb01334 Discover: App dapps grid styling and tweaks
- Use flat-list and 3 column layout for grid
- Get rid of platform ns dependency
- Minor refactor: "wrap" -> :wrap, backgroundColor -> background-color
2017-10-09 12:23:19 +02:00
Oskar Thorén b84e17b974 Assert flat-list sequential data
Deals with vector-of-maps vs map-of-maps issues, e.g. map-of-maps hangs with
bad errors from React Native side
2017-10-09 10:36:15 +02:00
angusiguess 3225d1a258 Add progress-spinner to sign-transaction
Disable screen while transaction is signing

Add handling for incorrect password on signing

Fix bug where spinner doesn't appear on the second time

Address feedback

More rebase fixes

Fix spec failure
2017-10-07 19:21:23 +02:00
Oskar Thorén 4c8935a16f Discover: Show all apps
- Addresses https://github.com/status-im/status-react/issues/1972
- WIP carousel
- Not pixel perfect
2017-10-06 15:36:26 +02:00
Eric Dvorsak 6e2e14dfea rework swiper 2017-10-06 15:35:36 +02:00
Eric Dvorsak 03a37b34ec [bug] fix 2003 unsigned transaction count upon expiration
this fixed involved changing the swiper so that a function can be passed as
title instead of a string.
this allows developpers to pass custom elements as titles and still use style
and variables that are computed when tab is built
2017-10-06 15:35:36 +02:00
Julien Eluard e99cae58cc [BUG #1991] Make sure provided eth address is valid 2017-10-06 14:31:26 +02:00
Andrey Shovkoplyas 54d68081b4 send command and remove old wallet 2017-10-06 12:13:14 +02:00
Roman Volosovskyi 91bb69c6f7 fix printing type symbol as event name 2017-10-06 09:29:55 +02:00
Eric Dvorsak e66ae8b388 [bug] fix order of transactions in sections of transactions history
order should be latest transaction first
2017-10-05 20:14:44 +02:00
Eric Dvorsak d022c286bb [Wallet] remove syncing animation (#2011)
* [design] remove syncing animation outside of chat views

replace no-sync-bar? parameter by show-sync-bar? parameter as not showing
the sync bar is the norm and showing it the exception (only appears in chats)

* add suscription and spec for sync-state
2017-10-05 19:16:41 +02:00
Goran Jovic ba5bd2b511 feature #1969 - public chats teaser in discover 2017-10-05 18:32:44 +02:00
angusiguess 34c3295f84 Fix spelling issues in labels 2017-10-05 14:56:53 +02:00
Roman Volosovskyi 2a9ac44564 close app on switching from network with local LES (#2007) 2017-10-05 13:23:25 +02:00
Julien Eluard 23eeadf95a [BUG #1990] Improved amount validation in wallet/send screen 2017-10-05 10:12:56 +02:00
Goran Jovic dd5c433687 fix #1977 - discover recent statuses and statuses per popular hashtags 2017-10-05 08:59:57 +02:00
Roman Volosovskyi a7950af335 remove code related to restarting RPC server on entering background (#2008)
* remove restart-rpc-server, stop-rpc-server, start-rpc-server functions and related code

* clean native code
2017-10-04 21:56:27 +02:00
Roman Volosovskyi cede095746 reset shh keys on starting whisper, fix warnings related to outdated shh keys 2017-10-03 17:54:18 +02:00
Roman Volosovskyi 2763c87c40 use account-update function instead of dispatching :account-update (#1995)
* use account-update function instead of dispatching :account-update
* add (inject-cofx :now) to default interceptors
2017-10-03 17:06:12 +02:00
Roman Volosovskyi 4b6f920e43 add predefined ethereum networks 2017-10-03 10:32:49 +02:00
angusiguess 8d2992d1a4 Fix viewport translucency math 2017-10-03 10:32:16 +02:00
angusiguess 3578eed912 Update navigation for QR scan
Factor copy/paste to use choose-recipient

Change assoc to an update

Set name to nil
2017-10-03 10:32:16 +02:00