Commit Graph

102 Commits

Author SHA1 Message Date
Vojtech Simetka fb8775d0a7 feat: add postage stamp guide (#455)
* feat: add postage stamp guide to create new postage stamp

* feat: add the docs to the upload page as well
2022-06-28 17:29:46 +02:00
Vojtech Simetka a3c02dbf8a fix: use xDAI and xBZZ on Gnosis chain (#454)
* fix: use xDAI on Gnosis chain

* fix: rename BZZ to xBZZ when on Gnosis chain

* fix: replace MINIMUM_xDAI with MINIMUM_XDAI

* fix: update xdai links to correct gnosis chain urls
2022-06-28 16:29:05 +02:00
Cafe137 26ce0efc0b fix: sensible deposit and swap (#448)
* fix: indicate and lower minimum xdai to deposit

* fix: take user input on swap page

* fix: change minimum_dai to minimum_bzz

* fix: token naming convention

* refactor: use constants

* fix: check for positive decimal
2022-06-28 15:24:33 +02:00
Attila Gazso 56f207d6a6 fix: change topup button ordering (#453) 2022-06-28 14:45:48 +02:00
Attila Gazso c54170b185 fix: disable bee update button in desktop mode (#452) 2022-06-28 14:37:36 +02:00
Vojtech Simetka f2824b749b fix: generate gift wallet is disabled if there is not enough funds (#451) 2022-06-28 13:04:55 +02:00
Vojtech Simetka 83aab3be62 feat: ultra-light mode block not supported features that are not available in this mode (#438) 2022-06-24 14:10:21 +02:00
Vojtech Simetka 2e0eeb7a1b fix: provider is by default null and account page redirect to provider setup (#437) 2022-06-24 14:03:37 +02:00
Vojtech Simetka a756eedc49 fix: add troubleshooting checks (#435)
* fix: add troubleshooting checks

* feat: add node warning state
2022-06-24 14:03:20 +02:00
Vojtech Simetka 4cd580ca7f fix: bee data auto-refresh (#436) 2022-06-24 14:03:07 +02:00
Attila Gazso 2221d0e7c8 fix: add guide link to bank card top up (#439) 2022-06-24 13:52:35 +02:00
Attila Gazso 21df01c924 fix: change wording from deposit to top up wallet (#440) 2022-06-24 13:52:17 +02:00
Attila Gazso cfcc859303 feat: add upgrade guide link from medium (#434)
* feat: add upgrade guide link from medium

* chore: fix linter issue
2022-06-23 18:57:29 +02:00
Adam Uhlíř 8f4a4ebaa9 feat: version check and info (#425) 2022-06-21 15:47:26 +02:00
Vojtech Simetka 807af122f7 fix: don't display buy new stamp button when already in process of buying one (#422) 2022-06-21 12:31:28 +02:00
Cafe137 f43de77294 fix: display account wallet partially while loading (#420) 2022-06-21 10:51:51 +02:00
Vojtech Simetka f238c43307 fix: replace feather icons with remix icons on swarm button (#414)
* fix: replace feather icons with remix icons on swarm button

* fix: remove feather icons package (#415)

* fix: remove all feather icons and replace with remix icons

* fix: few stray weird icons
2022-06-20 23:37:59 +02:00
Cafe137 aa99e0153e fix: make deposit go to top up selector page (#419) 2022-06-20 23:34:52 +02:00
Vojtech Simetka b969d8caee fix: info page card and map error states (#412) 2022-06-20 16:33:52 +02:00
Vojtech Simetka 5e31c21f49 fix: text in the info page cards (#411) 2022-06-20 16:17:25 +02:00
Cafe137 8775283508 style: improve design on waiting pages (#410)
* style: improve design on waiting pages

* chore: remove dead Restart page
2022-06-20 15:34:19 +02:00
Vojtech Simetka 127d44fd7a fix: change color of pins and show population instead of depth (#402) 2022-06-20 11:44:31 +02:00
Cafe137 0f0d72e7c5 feat: improve stamp selector (#400) 2022-06-20 11:11:54 +02:00
Vojtech Simetka 80d684c1e5 fix: all wallet flows to use ethers (#395)
* fix: all wallet flows to use only ethers libraries

* feat: remove ethereumjs-wallet

* fix: remove the buggy `/wallet` bee call and use provider
2022-06-18 21:50:51 +02:00
Vojtech Simetka caea5ae309 feat: info page redesign (#390)
* feat: info page redesign

* feat: add chequebook card
2022-06-18 17:09:13 +02:00
Cafe137 41432bc346 feat: add account tabs (#378)
* feat: add account tabs

* chore: bump

* refactor: change network tab for old accounting

* feat: new fonts and text transformation, chequebook tab

* feat: polishing
2022-06-17 11:39:56 +02:00
Cafe137 a768b4ea06 feat: add light node upgrade top up methods (#372)
* feat: add top up

* chore: remove console.log

* build: add pseudo-missing dependency

* feat: add missing top up components

* fix: crypto route

* feat(wip): add gift wallet logic

* fix: fix gift wallet flows

* feat: simplify flow without fund step

* feat: add loading screens

* fix: remove alert

* fix: prepend http if needed

* fix: fix bug that was reintroduced with merge

* refactor: rename minusEther to minusBaseUnits

* fix: remove unused setStartedAt

* build: remove unused dependency
2022-06-02 09:28:43 +02:00
Vojtech Simetka 5917a13317 feat: recognize ens domains (#351)
* feat: recognize ens domains

* refactor: added ens recognition and more tests

* fix: validation mechanism to accept ENS and CIDs

* feat: support non-ascii characters for ENS

* fix: asset summary component to support ENS issue
2022-05-31 13:37:37 +02:00
Vojtech Simetka 86978b7e99 fix: nested directory upload preserves the directory structure (#365) 2022-05-16 10:39:00 +02:00
Vojtech Simetka 1e2face10e feat: wait for postage stamp to be usable when bying it (#352)
* feat: wait for postage stamp to be usable when bying it

* refactor: simplified the waitUntilStampUsable function
2022-04-29 13:42:29 +02:00
Vojtech Simetka b6b9914548 fix: remove restrictions on postage stamp label (#354) 2022-04-29 13:42:01 +02:00
Vojtech Simetka 87b0b71cc6 feat: add bee-desktop settings capabilities (#323)
* refactor: make the config readonly and extract endpoint calls to hook (+2 squashed commits)
Squashed commits:
[91ffe45] feat: add swap-endpoint
[e1d0c3a] feat: add bee-desktop settings capabilities

* feat: use the request mechanism that uses the bee-desktop API key

* fix: properly reset the error or on error set the config to null
2022-04-29 09:30:46 +02:00
Vojtech Simetka 3784b29f14 feat: support for bzz.link cids when downloading files (#350)
* feat: detect and extract bzz.link cids into hash when downloading files

* test: add quite thorough testsuite
2022-04-25 20:38:36 +05:00
Vojtech Simetka a67be7a31e fix: app crash caused by inputing non-number characters (#347) 2022-04-24 21:40:52 +05:00
Vojtech Simetka 23dea07f6e feat: add aditional information to the stamps overview (#349) 2022-04-24 21:40:41 +05:00
Vojtech Simetka 906a457ae5 fix: show current postage stamp price per block (#348) 2022-04-24 21:40:31 +05:00
Vojtech Simetka 5d0fbf705d feat: optional status checks (e.g. connected peers > 0 or funded chequebook) (#331)
* feat: make some check optional (e.g. connected peers > 0 or funded chequebook)

* fix: alter setup step text to better describe what needs to be done

* refactor: rename isOk from boolean value to checkState enum

* fix: add checking for any error
2022-04-13 18:09:30 +05:00
Vojtech Simetka 8baecb783f feat: detect bee mode and enable/disable status checks accordingly (#318) 2022-03-29 15:37:40 +02:00
Vojtech Simetka d0b3f1abee fix: postage stamp price and TTL calculation (#305)
* fix: postage stamp price and TTL calculation

* chore: removed logs and fixed linter issues
2022-03-10 17:49:09 +01:00
Cafe137 7880c802ae fix: do not print size and name when meta is unknown (#297)
* fix: do not print zero when size is unknown

* fix: do not print name if it is the same as the hash

* feat: shorten asset name
2022-01-27 16:22:27 +01:00
Vojtech Simetka f4013142af feat: add metadata and preview (#292)
* chore: upload flow uses metadata object and has preview

* chore: remove SwarmFile

* feat: upload metadata and file preview

* feat: add metadata and preview on download

* fix: package the meta and preview files

* fix: upload websites that are inside a folder (#296)

* fix: upload websites that are inside a folder

* docs: few comments to clarify what is going on

* refactor: decrease local variables and fix state order to detect websites properly

Co-authored-by: Cafe137 <aron@aronsoos.com>
2022-01-26 18:29:09 +01:00
Cafe137 a406e0fc01 fix: clean up spinner and disabled state on download page (#294) 2022-01-25 18:02:57 +01:00
Cafe137 1310deb17a fix: disable feeds page when disconnected (#293) 2022-01-25 18:02:20 +01:00
Cafe137 bc82e67561 fix: get current price from chain state (#286)
* fix: get current price from chain state

* refactor: do not allow optional currentPrice
2022-01-20 15:49:41 +01:00
Vojtech Simetka a90b4c439b chore(deps): update react router from v5 to v6 (#280)
* chore(deps): update react router from v5 to v6

* fix: correctly choose navigate target if there is no history
2022-01-17 14:47:26 +01:00
Cafe137 25b65c3fb7 feat: add identity and feed management (#272)
* feat(wip): add basic feed operations

* ci: bump checks

* ci: bump checks

* feat: rework stamps and add feed functionalities

* refactor: polish and fixes

* feat(wip): add formulas

* feat: show bzz.link for websites

* feat: add stamp empty states and formatBzz

* feat: add feed download

* chore: update manifest-js version

* feat: dev mode support with bee-js 3.1.0 (#273)

* feat: dev mode support with bee-js 3.1.0

* fix: added missing package-lock.json file

* build: remove PR preview

* style: work on design

* feat: add TroubleshootConnectionCard

* build: remove depcheck

Co-authored-by: Attila Gazso <agazso@gmail.com>
2021-12-21 10:58:54 +01:00
nugaon 2a13da1a6c feat: modularisation (#244)
* chore: gitignore for lib directory

* build: packageing for webpack lib build

* build: webpack config

* feat: expose App component with beeApiUrl parameter

* build: tsconfig for library build

* build: main property of package json for tsc build

* refactor: rename beeUrl option to beeApiUrl

* refactor: manange config class instead of process.env calls

* build: babelrc config

* build: babel plugins and presets for webpack build

* chore: serve.js chmod

* build(refactor): webpack build

* refactor: number notation

* chore: webpack and package config change

* build: add babel preset-env

* chore: prepare script also builds component lib

* feat: typegen

* revert: set back prepare command

* build: assets loader config

* feat: beeDebugApiUrl

* refactor: move test files to the test folder because of typegen

* feat: locked api settings

* chore: depcheck ignores

* chore: types check script

* ci: check types

* ci: publish with library

* chore: add webpack as devDep

* chore: locked semver

* chore: remove debug logging

* style: webpack config

* chore: react and react-dom as dependency

* chore: package-lock

* fix: clean package-lock init

* refactor: fix versions in package.json
2021-12-09 11:12:45 +01:00
Cafe137 3ef1ad9574 feat: add website and folder upload and download (#260)
* feat: add website and folder upload and download

* feat: download-share-upload navigation

* fix: check for files length in hasIndexDocument

* fix: change router dependency

* refactor: switch to @ethersphere/manfest-js

* fix: hide previews on dropzone, fix spinner align, hide 0 size display

* feat: add upload and download history

* refactor: change drag and drop text

* feat: make history ux better

* refactor: improve code based on review

* build: add missing react-router dependency

* ci: remove beeload

* revert(ci): remove beeload

This reverts commit 4ce6cb0045a2d9aea3047ab395d214d8d368c532.
2021-12-07 16:06:21 +01:00
Cafe137 635621b04a feat: improve upload flow (#240)
* feat: separate flow for folder and file uploads

* feat: add basic index document detection

* feat(wip): separate preview step

* fix: fix kb and mb units

* feat: add post upload summary, add some styling

* feat: upload flow

* fix: change element order and add conditional rendering

* refactor: remove unused variables for now

* fix: put back stamp creation to stamp page

* refactor: rework postage stamps and grid

* feat: add website and folder icons

* feat: add asset preview to download flow, add file icon

* feat: add basic design to postage stamp selection dialog

* feat: add web icon, shorten stamp in preview

* feat: extract swarm hash in download flow

* fix: extract swarmbutton and solve icon hover and focus color

* fix: always show buy button on stamp page

* refactor: downgrade

* refactor: speed up icon transition

* style: improve download buttons

* style: change [back to upload] icon

* style: add spacing before swarm gateway text

* style: post upload summary spacing

* refactor: drop verticalspacing and use box

* refactor: merge icons to one component

* refactor: use conditions instead of weird assignment

* docs: explain filter(x => x)

* refactor: generalize capacity

* refactor: avoid passing arrow functions

* refactor: get rid of PaperGridContainer and Container

* fix: fix hover color for postage stamps

* feat: add disabled and loading state to buttons

* fix: make drag and drop work for websites

* feat: handle folders and non existing hashes

* fix: provide empty default value to select to avoid console warning

* style: remove body2 font variants

* fix: remove typo

* feat: disable folder upload, add website upload

* fix: disable showPreviews to avoid flickering

* feat(temp): remove folder upload

* fix: remove stuck focus on buttons even after rendering different buttons

* style: merge hover and focus styles, fix safari text wrap issue

* style: remove dropbox outline in safari
2021-11-25 09:54:03 +01:00
Cafe137 3bb00771d6 feat: move postage stamp operations to bee debug api (#256) 2021-11-24 15:35:37 +01:00