Commit Graph

11 Commits

Author SHA1 Message Date
katspaugh cbc9e08d91
Fix the storybook: add a redux provider (#2191) 2021-04-22 10:08:58 +02:00
nicolas 03cb4aba96
New layout (#1201)
* Adding storybook

* new layout components

* add preview body

* add styles

* extract walletInfo to a separated component

* remove unused component

* New Layout componentes refactor

* Return type in Root

* change story name

* adding back OpenHoc

* sort import

* fix margins

* split layout

* Move Layout related components to /components/SidebarLayout

* Adding new layout for real

* Some changes and refactor

* Move Modals from safe to sidebar

* move safeAddress logic from safe to sidebar

* move safe container from components

* List refactor

* sidebar navigation

* selected item

* list selected example

* add styles

* add text component to new tx button

* Sidebar without walletInfo

* fix footer and body margins

* add logo Safe Multisig

* update safe-react-components

* List colors and List Icon

* fix subItem

* update safe-react-components

* fix logo margin, add notConnected icon and badge Read Only

* fix merge problems

* add sidebar styles and icon notConnected

* fix readOnly

* fix QR tooltip info

* add Help Center link and fix margins

* Remove 'No safe loaded' text

* review changes

* fix import

* fix Help center margin

* add styles to address

* replace empty div with FlexSpacer component

* rename Sidebar by SafeListSidebar

* fix load and create safe position (top-left)

* Add comment to FlexSpacer

* fix Title margin Safe Creation Progress

* fix Read Only line-height

* review fixes

* review fixes

* rename component

* fix Help Center styles

* return type in DefaultBadge

* Fix types for list component (still wip)

* move sidebarList to a hook

* fix safe route container

* fix src version

* fix list typescript issue

* rename sidebarlayout to applayout

* sidebar fixes wip

* sidebar fixes wip

* remove unused function

* lift sidebar items state up

* fix broken imports

* remove unused files

Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-27 18:53:28 +04:00
Mikhail Mikheev edf49ffc96 Feature #137: Tx list improvements (#222)
* Fix swapOwners threshold displayed as hex in tx list

* Refactor spinner in empty table

* Fix number of rows per page in table pagination

* Add use of EtherscanLink component

* Set short version of strings in tx list

* Adjust styles in tx list

* Add more styles to table

* WIP

* An attempt to fix #204 by showing UNKNOWN instead of failed to fetch token symbol

* Table pagination style fixes

* Show confirm transaction button in owner list

* Update dependencies

* Add confirmation icons to owner list in tx list

* exclude unneeded stuff from travis.yml

* Adds cookie permissions to localStorage/redux state

* Update dependencies

* Adds action

* Adds files to git

* (fix) linting issues

* (update) flow-typed

* (update) .eslint and .flowconfig

* (add) cookie banner

* Finish cookie banner implementation

* (Add) checkbox's disabled style.

* Removes redux for cookiesStorage

* Fix cookieStore deletion

* Increase TO_EXP for bignumber.js

* Fixs cookies acceptance

* Fixs cookies banner verbiage
Fix "x" in wrong place for snackbar messages

* (fix) added correct polished library and import, updated flow-typed

* (update) removed polish flow type, added js-cookie flow type

* Add link to cookie policy, use generic links for legal docs

* Remove link to cookie policy from sidebar, link cookie policy in the banner

* Mock Safe creation transaction

* Format code

* Fix break statement

* Remove deployment of storybook

* Let the user re-open the cookie banner

* Update tx status messages and visual confirmation progress

* Fix svg in tx confirmation progress

* Add styles to tx type in tx list

* Replace nonce in tx list with tx id

* Update opacity of cancelled tx

* Fix short version of address

* remove withMutations from cookies reducer, move utils/cookies to logic/cookies

* Now the sidebar closes when the cookie banner is toggled

* Fix styles in tx list

* Add Pending status in tx description

* (remove) unused library

* Adds cookies utils
Replaces localStorage with cookies
Adds js-cookie

* Set 25 rows per page in tx list by default

* Align tx table

* Adjust tx table and tx details borders

* Fix fetching transactions to show Safe creation tx alone

* Fix failed Safe creation transaction

* Add styles to tx data

* Refactor and fix owner list in transaction

* Refactor use of theme variables

* Remove storybook files

* Update dependencies

* Fix warnings

* Fix dependencies

* Update file-loader config

* Fix owner colors in the tx confirmation progress

* Fix transaction type icon height

* Tx list adjustments

* Update readme
2019-12-10 14:26:43 +01:00
Mikhail Mikheev 7b921e84de add averta font 2019-08-29 12:35:52 +04:00
apanizo cbc42e775f Adapting fonts sizes #72 2018-11-06 12:13:13 +01:00
apanizo 9c4d9f97af Adding RobotoMono 500 as darkness font in Roboto family 2018-09-05 12:42:59 +02:00
apanizo 696b1ae972 Adding RobotoMono font to Storybook 2018-09-05 11:37:35 +02:00
apanizo 6073a69717 WA-232 Fix storybook deploys 2018-07-16 16:52:27 +02:00
Adolfo Panizo d2b5131c9e
WA-279 - Create safe in a three step process (#11)
* WA-279 Creating Stepper component for simulating a Wizard Form with multiple steps

* WA-279 Introduced a review middle step when creating a new Safe

* WA-279 Added more Layout components (Bold, Span, GnoForm...)

* WA-279 Added validation to final-form's create safe form, including isEthAddress validator to form's owners addresses

* WA-279 Updated storybook Header and Footer
2018-03-29 11:52:58 +02:00
Adolfo Panizo 135cbd1568
[WA-229] Feature - Create safe (#10)
DevOps:
  Webpack config for having CSS mixins
  Added Flow

FrontEnd:
  Added redux
  Added Layout Components (Row, Col...)
  Added Material UI custom theme
  Added final-form library for creating user inputs for creating a form
  
Logic:
  Added actions, selectors, and reducers for controlling Header's connection done using TDD
  Fetching web3 provider logic dynamically
  Creating a basic safe with harcoded data
2018-03-29 11:05:42 +02:00
Adolfo Panizo 5baa66150b
Landing Page (#9)
* Adding storybook

* Fixing lint problems

* Adding general styles and correct fonts to storybook

* Adding static storybook build

* Updating eslintrules to avoid react-router Link warnings

* Adding classnames package for css-in-modules and updating babel-loader

* Removing styles from .storybook config in favor of css-in-modules

* Adding file loader for images in webpack prod and dev config

* Adding footer color mui variable

* Creating landing page view

* Adding babel-jest

* Created Img and PageFrame layout components

* Created Block layout component

* Created Link layout component

* Updated styles veriable with constants

* Refactored Welcome view

* Adding vault icon and safe options(create and open) as buttons

* Using yarn pck manager and update deploy script including storybook

* Moving container to PageFrame and loading general styles in storybook

* Enabling React SPA in surge

* Improving look and feel of automatic github comment with links
2018-03-15 11:14:20 +01:00