Commit Graph
613 Commits
Author SHA1 Message Date
Sebastian Martinez be0ff349df Move signer into session store
The Metamask and WalletConnect signer are updated one any account
change, but currently we store them only in the static config object.
This commit moves this to the session store to improve this behaviour

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-20 13:10:53 +02:00
Alexis Sellier ab3c8f5657 Add placeholder SIWE statement
Avoids the blank line.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 16:25:27 +02:00
Alexis Sellier caccbdfa03 Always checksum addresses in wallet-connect
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Alexis Sellier d1994fa310 Show avatar in sign in button
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Alexis Sellier 60ac86c3d7 Improve seeds dropdown
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Alexis Sellier e865fcbd30 Improve 'signed in' styles
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Sebastian Martinez cf371e31ed Fix WalletConnect SIWE connection
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez 41b82decfe Improve siwe session status indicator
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez 93c9fcbd88 Shorten logged in SIWE address
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez a89e792aed Make SIWE session statement optional
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez c56a949778 Convert SIWE message to utf8array before hashing
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Alexis Sellier 7b885b93d6 Show disabled siwe button
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Alexis Sellier 29c55b51cd Log sign-in error
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Alexis Sellier 9072fe95bb Revert sign-in state when error
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Alexis Sellier 75ffc5c06d Move sign in button to header
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Alexis Sellier f8083a24d1 Return correct api error status
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Sebastian Martinez 8ac5609c60 Improve session handling for SIWE
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez 6d5d508220 Improve loading and edge cases
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez 5ef2b7512c Add authentication with seed nodes
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez e0ee26f2a1 Refactor api calls
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez 3f28844dc8 Flatten session store
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez f07ee2bc9d Remove text wrap in Dropdown componnet
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Sebastian Martinez a3d4a97e32 Improve console.logs
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Alexey Shekhirin 9bee6e9818 fix: 404 broken link on wallet screen
Signed-off-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2022-05-18 14:55:28 +02:00
Alexis Sellier eb0b665a79 Improve history view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-16 11:22:24 +02:00
Alexis Sellier d046fe8bf7 Fix mobile styles for commit history
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-16 11:13:42 +02:00
Alexis Sellier 0cced197ba Improve commit history and detail view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-08 15:36:47 +02:00
Alexis Sellier efb91c7e73 Updates for http-api verified commits change
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-07 13:29:59 +02:00
Alexis Sellier 101d6d329f Remove registration fee
Since the DAO passed a proposal to remove the registration fee,
we handle that in the UI.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-06 11:23:32 +02:00
Alexis Sellier 896372cd09 Some visual improvements to projects view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-05 17:04:57 +02:00
Alexis Sellier d0d4e993da Fix project widget height
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-05 13:09:58 +02:00
Sebastian Martinez 5384556f14 Add code activity graph to project widget
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-04-04 21:32:25 +02:00
Alexis Sellier 2bed0e4fd0 Fix peer selector for new http-api
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-04 20:52:29 +02:00
Sebastian Martinez 7a3958ab4a Improve error when http-api outdated
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-04-04 18:48:57 +02:00
Sebastian Martinez e2103483a9 Fix types
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-04-04 18:48:57 +02:00
Sebastian Martinez 9620a17167 Add verified badge to commit listing
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-04-04 18:48:51 +02:00
Sebastian Martinez 9cd353282b Fix nameOrAddress resolution to be more specific
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-03-30 17:22:04 +02:00
Alexis Sellier e045b92297 Handle empty source tree better
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-30 14:23:19 +02:00
Alexis Sellier ebeac8d9b4 Default default branch not being found
We default to the first branch.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-30 14:05:58 +02:00
Alexis Sellier a84b5d0ec0 Mobile fixes for project view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-27 11:57:41 +02:00
Sebastian Martinez 6825028522 Add empty seeds.pinned property to Rinkeby config
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-03-25 18:15:23 +01:00
Sebastian Martinez 286cb1cd21 Improve testing suite
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-03-24 15:05:15 +01:00
Alexis Sellier 6f2f8c454f Switch to @radicle/gray-matter fork
Upstream wasn't interested in updating to working js-yaml.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-22 18:02:30 +01:00
Alexis Sellier 8e77f9f5ae Load images in markdown documents
This loads images asynchronously inside markdown documents.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-21 12:39:39 +01:00
Alexis Sellier ec9e4fd16d Support front-matter in markdown
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-10 00:12:32 +01:00
Alexis Sellier dc7989b1ca Show peer selector in profile context
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-02 17:29:25 +01:00
Alexis Sellier 9cde5b9493 Improve seed page on mobile
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-02 15:17:10 +01:00
Alexis Sellier 0a830432f7 Make project head optional
This is useful since some seeds may not have delegates synced.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-02 14:41:04 +01:00
Alexis Sellier cfc5f4a095 Improve project error handling
Fail gracefully if we can't load a peer.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-02 11:50:25 +01:00
Alexis Sellier 55ce9e8a33 Fix bug with default ports in api config
JavaScript brilliance strikes again:

  new URL("https://acme.com:443").port == ""

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-01 20:29:06 +01:00