Commit Graph
38 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš b3cec1f314 Format *.ts, *.js, *.css, *.html, *.json and *.svelte
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 17:47:07 +02:00
Rūdolfs Ošiņš 93b7b6b2a0 Extract global .badge class into a component
By encapsulating the global `.badge` class into a component we make reasoning
about how badges look a bit easier, because now there's a single place
where it is defined. Otherwise it is not guaranteed that the class is
going to be applied to the correct html tag. This also makes combining
global CSS classes that don't make sense from a design perspective
impossible.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:12:19 +02:00
Sebastian Martinez c5d5053f0c Add patches
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-01 13:06:30 +02:00
Sebastian Martinez ab7ba33182 Change Avatar address prop to title
We wont have always an address available to be passed as title for the Avatar
component, e.g. when working with URNs.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-03 16:56:40 +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
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 ff94d8867c Fix address showing avatar/name without resolve
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 13:57:45 +01:00
Sebastian Martinez a43ac33ddc Refactor org and user routes
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-08 10:16:45 +01:00
Sebastian Martinez 04ec3319e4 Add Responsive Layout
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-12-04 12:39:41 +01:00
Alexis Sellier b422550035 Use ENS-based path when available
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-23 13:53:44 +01:00
Sebastian Martinez fe54bcacdc Show blockies when avatar image is missing
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-10-07 13:31:07 +02:00
Alexis Sellier ff1a2fc87a Always show an address while loading
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-21 18:06:03 +02:00
Alexis Sellier 5226591a63 Reduce number of requests for profiles
Introduce two types of profile: a 'full' and a 'minimal'.
The minimal is used when only the avatar is required, which
is in most places. Requests for an org view is reduced by 3x.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-02 11:52:54 +02:00
Alexis Sellier 4cb4be4e6b Don't use _blank for internal link 2021-07-21 17:25:27 +02:00
Alexis Sellier 2928e2fe14 Implement org profile fallback
When an org doesn't have its own profile, but its owner does,
we fallback on that profile.

This allows for "user" orgs, where a user keeps his projects
anchored under an org, but all profile information under the user.
2021-07-21 16:39:58 +02:00
Alexis Sellier d8a3779293 Improve org page loading visuals 2021-07-20 15:21:25 +02:00
Sebastian Martinez 19c4f2625f Add user identities to components
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-07-19 08:06:30 -03:00
Alexis Sellier 0220f96947 Address links to explorer when contract 2021-07-13 13:26:00 +02:00
Alexis Sellier 9034a60afd Improve copy for multisig 'SetName' flow
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-06-22 13:07:03 +02:00
Sebastian Martinez 1960c4fe79 Change script lang to ts
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-18 09:21:42 -03:00
Alexis Sellier 044ec510b8 Don't lookup registration if there is none 2021-06-16 17:14:16 +02:00
Sebastian Martinez 5c63c1da1b Remove await in user view and address for now
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-16 11:16:38 -03:00
Sebastian Martinez 7a42d7271c Check AddressType of EOA
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-16 11:16:38 -03:00
Sebastian Martinez b74943609d Refactor await in Userview and Address
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-16 11:16:37 -03:00
Sebastian Martinez 488b5b9136 Use new avatar in User View
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-16 11:16:37 -03:00
Sebastian Martinez a9eebfa033 Resolve ENS name in Address component
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-16 11:16:36 -03:00
Sebastian Martinez baa77d4269 Add User View Route
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-16 11:16:34 -03:00
Alexis Sellier e7ef9e7ad9 Show anchor state in project view 2021-06-11 18:30:26 +02:00
Alexis Sellier 00a0df938c Remove default underline for anchor tags 2021-06-11 12:00:16 +02:00
Alexis Sellier 36196ed7fc Color "safe" badge differently 2021-06-03 16:07:02 +02:00
Alexis Sellier 8f9efa51be Link to safes 2021-06-03 16:03:35 +02:00
Alexis Sellier ef1c285712 Identify Safe addresses 2021-06-03 15:42:28 +02:00
Alexis Sellier 86368b3b8a Resolve ENS names 2021-06-03 14:20:23 +02:00
Alexis Sellier 86df6db88e Cleanup address identification 2021-06-03 11:56:53 +02:00
Alexis Sellier ddd1fa8097 Show loader when loading address type 2021-06-01 18:01:31 +02:00
Alexis Sellier 8817d63d41 Link to org if org 2021-05-31 19:01:55 +02:00
Alexis Sellier 7e30182478 Detect org addresses 2021-05-31 18:56:41 +02:00
Alexis Sellier b49699dfe0 Improve address rendering 2021-05-31 18:32:19 +02:00