Commit Graph

1100 Commits

Author SHA1 Message Date
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
Eric Dvorsak db7614f8f7 Various styling fixes for wallet
[bugfix] transaction details background should be white

[bugfix] button styling in unsigned transactions

[bugfix] make whole item touchable in transactions history and unsigned

[bugfix] correction of icons styling in transactions history

[bugfix] error message should not touch the toolbar in wallet

[bugfix] add asset icon and text are different on ios and android

PR review fixes
2017-10-03 10:32:16 +02:00
angusiguess 69a6baf09b Add flashlight functionality to choose recipient screen 2017-10-03 10:32:16 +02:00
Andrey Shovkoplyas 499cd393ad fixes tests 2017-10-03 10:32:16 +02:00
Andrey Shovkoplyas 9246d7df21 send transaction layer 1 2017-10-03 10:32:16 +02:00
Eric Dvorsak 62affda881 add unsigned transactions bindings in new wallet 2017-10-03 10:32:16 +02:00
angusiguess 498f641c8a Initial Commit for first send screen:
- Update toolbar text
- Add frame for camera/qr
- Add button for choose contacts
- Add button for address from clipboard
- Add button for browse photos

Set recipient from clipboard.

Added functionality and event handling necessary to set recipient
from clipboard.

Add choose-recipient event to assoc into the database

Add QR code scanning to first screen

Add vector icons for copy and select image

Fix svg

Fix rebase, localize labels

Add checkmark icon (this is a placeholder, current svg won't render)

Remove leak from develop

Vertical alignment fixes

Vertically align maps in view

Address review comments

Fix rebase reference problems/styling issues

Small style tweaks, fix icon

Fix small design issues

Indentation fixes

Address review points

Fix indentation

Prevent permissions request on ios

On ios, a permissions request results in a null reference error,
do a platform check before performing a permissions request.

Fix compile error

Restyle for ios, colours, layout

Update icons on ios

Restyle disabled button

Browse photos button disabled

Add viewfinder and platform specific styling.

Viewfinder and style changes

Add some torch functionality, fix toolbar, style issues

Refactor view style, add translucent bits to viewfinder

Address pull request feedback

Replace a style by defstyle
2017-10-03 10:32:16 +02:00
angusiguess 3b4d140ef6 Initial Commit for first send screen:
- Update toolbar text
- Add frame for camera/qr
- Add button for choose contacts
- Add button for address from clipboard
- Add button for browse photos

Set recipient from clipboard.

Added functionality and event handling necessary to set recipient
from clipboard.

Add choose-recipient event to assoc into the database

Add QR code scanning to first screen

Add vector icons for copy and select image

Fix svg

Fix rebase, localize labels

Add checkmark icon (this is a placeholder, current svg won't render)

Remove leak from develop

Vertical alignment fixes

Vertically align maps in view

Address review comments

Fix rebase reference problems/styling issues

Small style tweaks, fix icon

Fix small design issues

Indentation fixes

Address review points

Fix indentation

Prevent permissions request on ios

On ios, a permissions request results in a null reference error,
do a platform check before performing a permissions request.

Fix compile error
2017-10-03 10:32:16 +02:00
Herich d9db548e57 Refactoring chat events to shorten event chains 2017-10-03 09:28:38 +02:00
Roman Volosovskyi 5a49926ad0 remove status-im.utils.ethereum-network ns 2017-10-03 08:26:00 +02:00
Roman Volosovskyi bc9e65774c remove duplicate calls to jail 2017-10-02 18:12:25 +02:00
Roman Volosovskyi cf7a9845c6 data_store and network_settings from #1115
missed default networks
fix :load-default-networks
network settings screen
fix network details screen
networks in account
fix network property saving
update startNode and stopNode on iOS
test RPC proxy on iOS
StopNode and StartNode on androd
pass UpstreamConfig to status-go
upgrade status-go
added default network on login
fixed UI, added vector icons
added network name in drawer
migrated accounts
workaround for account v4 migration
2017-10-02 14:13:10 +02:00
Roman Volosovskyi a0872fb1bf ensure that bool value is set to refreshing prop 2017-09-28 16:05:55 +02:00
Andrey Shovkoplyas f36dca3b5c fixes vector icons 2017-09-28 16:56:58 +03:00
Eric Dvorsak 3f2416fafd refactor chat actions view 2017-09-25 19:55:47 +02:00
Eric Dvorsak 28355ca3c5 add accessibility ids for end-to-end tests 2017-09-25 19:55:47 +02:00
Eric Dvorsak 17011f6d9e refactor toolbar action 2017-09-25 19:55:47 +02:00
Eric Dvorsak 998df74b10 add gas price in gwei in transaction details 2017-09-25 19:54:57 +02:00
Oskar Thorén 9ab7ebdcf2 Push notifications: Print notif and data payload when resuming app
- on-notification listener registered in root component
- print data (hardcoded keys) and notif payload to debug
2017-09-25 16:32:35 +02:00
Roman Volosovskyi 0badfd6b5b fix Use of undeclared Var status-im.utils.platform/platform warning 2017-09-25 14:07:08 +02:00
Eric Dvorsak 7d9190bb85 fix #1893 cannot scroll to last 2 transactions in history
update react-native-swipper to latest working version
remove bottom margin hack in other screens with similar bug
fixes Cannot scroll transaction history when app is syncing #1902 as well
2017-09-25 13:09:27 +02:00
Oskar Thorén c846574155 Fix portfolio change to 0 if balance is zero
If you don't have money in your balance, your "portfolio" change is nothing.

- Positive portfolio change includes if it is zero
2017-09-25 11:17:50 +02:00
Roman Volosovskyi d86a853f07 atomic Confirm button for transactions 2017-09-21 14:46:49 +03:00
Jan Herich 805d874846 Fix #1886 (#1894)
* Fix #1886

Completly rework the way how async handlers work

Delay further processing of message till async handler returns result

* Fix indent

* Fix #1903
2017-09-21 14:08:51 +03:00
Eric Dvorsak bce18bf32c typo prevented error on prices-update from clearing 2017-09-20 17:26:58 +03:00
Eric Dvorsak 8d80e35305 make history-list the default transactions tab 2017-09-19 13:17:15 +03:00
Julien Eluard b8dff77311 [FIX #1854] Fixed broken pull-to-refresh behavior 2017-09-19 13:17:15 +03:00
Eric Dvorsak d6966e2d34 remove unsigned transactions before they are implemented 2017-09-19 13:17:15 +03:00
Eric Dvorsak 5e31fcdacc add transaction details screen 2017-09-19 13:17:15 +03:00
Oskar Thorén 1b0409fdc9 Bugfix: correct realm schema for release
In release 0.9.11 we'll have v13, so we don't want to modify this in develop.
This moves Push notification related changes into a new migration as opposed to
merging them into one.
2017-09-18 17:51:53 +03:00
Oskar Thorén d30a14a774 Bugfix: resolve undeclared var for status/notify
Rebasing introduced regression due to refactoring of how native modules are
called. Call implementation when available, noop when stubbing status-go.
2017-09-18 17:48:44 +03:00
Oskar Thorén b5c0b24f30 Push notifications: end to end v1
- Send notification when sending message in 1on1 chat
- Add notify FFI with binds for ObjC and Java
- Add fcm-token to contacts in spec and realm
- Add notifications to db
- Include fcm-token in contact request
- Update fcm-token when it arrives and put it in DB
- Disable copy-paste hijacking and popup
- Turn on notifications flag in Jenkins build
2017-09-18 16:28:04 +03:00
Jan Herich b889a07a86 Implement possibility for async command handlers (#1857)
* Implement possibility for async command handlers

Command handler can now return results asynchronously,
and those results as saved and persisted, indexed by
command message-id.

* Address feedback raised in PR comments

* Different handler codes + simplified error message
2017-09-18 16:08:06 +03:00
Roman Volosovskyi e961801429 utilize single jail.signal event for all signals from jail 2017-09-18 16:06:22 +03:00
Roman Volosovskyi 43a5d91ca2 upgrade status-go to bugfix-updated-cht-#185-gd84d10d
changes in shh API according to https://github.com/ethereum/go-ethereum/wiki/Whisper-v5-RPC-API
2017-09-18 16:06:22 +03:00
Julien Eluard 7c82f3f0c3 [FIX #1851] Improved iOS wallet UI 2017-09-15 18:28:24 +02:00
Andrey Shovkoplyas 9f5d808702 fixes Wallet Request screen UI issues 2017-09-15 16:37:27 +02:00
Andrey Shovkoplyas 66dd3a2e82 implemented request transaction 2017-09-15 16:37:27 +02:00
Eric Dvorsak a43af5e078 rename wallet history -> wallet transactions 2017-09-15 16:37:27 +02:00
Eric Dvorsak c22060542a sort completed-transactions by timestamp 2017-09-15 16:37:27 +02:00
Roman Volosovskyi 8c044d9991 stub for ReactNativeModule 2017-09-15 14:15:32 +03:00
Goran Jovic eac7e06f40 feature #1805 refactored protocol listeners 2017-09-15 14:15:04 +03:00
Julien Eluard a85929e72d [FIX #1802] Make sure wallet buttons have proper width 2017-09-13 09:43:09 +03:00
Oskar Thorén cdc996caa2 Remove cljs-priority-map
cljs-priority-map provides a special purpose data structure that needlessly
complicated things and doesn't appear to provide much value for what it gives
us.

Instead, keep :chats an ordinary map and sort vector on final subscription, as
our ListView destructures data-source items correctly.

This means we can upgrade Clojurescript.
2017-09-13 08:46:35 +03:00
Julien Eluard 9cda6806e3 Fixed various wallet UI inconsistencies 2017-09-12 10:46:15 +03:00
Goran Jovic a764da2b4b fix #1605 protocol message parser catches all invalid payload as errors 2017-09-11 09:46:24 +03:00
Eric Dvorsak 7a06bb8278 fix #1804 - duplicated status in discover tab 2017-09-11 09:18:11 +03:00
alwx 7875e11ea0 1628: Add Testnet warning, so no real ether or SNT is sent to the app 2017-09-10 12:23:49 +03:00