Commit Graph
51 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 94329d612f Require === and !== comparisons
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:09:27 +02:00
Sebastian Martinez 694bb38b8a Add caching
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-18 16:31:09 +02:00
Alexis Sellier c58db9d278 Implement more simplifications
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-12 00:37:00 +01:00
Alexis Sellier b2efbacb7e Fix 'any' type
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 14:42:29 +01:00
Alexis Sellier b26192f933 Start re-imagining anchors
* Anchors are loaded alongside projects, but project listings always
  come from seeds now
* Removing project info loading from `Widget`
* Start unifying anchor handling
* Rename "Project*" to "Anchor*" when appropriate
* Move to new project api with embedded metadata

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 10:36:03 +01:00
Sebastian Martinez 321252592a Fix Org.get method
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-02 15:39:57 +01:00
Sebastian Martinez 97a8897d87 Add pending projects and anchor signing
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-26 13:18:17 +01:00
Sebastian Martinez 6588ccafff Add setOwner safe tx proposal creation
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-25 15:11:54 +01:00
Sebastian Martinez 7c3cfcac28 Remove org owner fallback in getProfile
Removes also some getProfile functions that were only used once.

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-24 16:22:21 +01:00
Sebastian Martinez c1e67bf776 Add org listing to user profile
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-18 13:29:36 +01:00
Sebastian Martinez 9a4f3547b6 Use subgraph for Gnosis Safe information
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-17 14:36:03 +01:00
Alexis Sellier b58d7b1cb7 Add quorum information to org
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-01 10:43:55 +02:00
Alexis Sellier e2cc61671b Show pinned orgs on the front page
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-30 15:01:32 +02:00
Alexis Sellier cca312723f Parallelize requests in Org::get
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 15:40:03 +02:00
Alexis Sellier abc62b02fd Add support for ENS routes
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 10:38:57 +02:00
Alexis Sellier 8bbc7ec0f1 Add "Clone" button to projects
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-16 14:32: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 adec1dedf0 Fix bug in Org.getProfile
Make sure we return the original profile if the user one fails.
2021-08-02 11:30:48 +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 1aff1f8013 Remove usage of Gnosis Safe subgraph 2021-07-20 14:33:38 +02:00
Sebastian Martinez 77145b1359 Add projects to user profile
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-07-20 14:16:53 +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 d81193d901 Fix for org subgraph update 2021-07-02 15:02:30 +02:00
Alexis Sellier e7dd169b24 Allow Org::setName to be used through a Safe
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-06-21 21:09:07 +02:00
Alexis Sellier 589ae569ef Add "My Orgs" section to orgs page 2021-06-18 17:06:07 +02:00
Alexis Sellier 985b27286a Update for new Org contracts deployment 2021-06-16 16:50:46 +02:00
Alexis Sellier 618d49e201 [eslint] Enforce semis 2021-06-14 10:38:17 +02:00
Alexis Sellier e7ef9e7ad9 Show anchor state in project view 2021-06-11 18:30:26 +02:00
Alexis Sellier f35c989a13 Update for multihash anchors 2021-06-10 12:33:17 +02:00
Alexis Sellier 76e7b8dc4d Add return types to more functions 2021-06-10 11:05:03 +02:00
Alexis Sellier eb664f3bea Run linter on more files 2021-06-10 11:01:22 +02:00
Alexis Sellier 6d313a4d45 Implement project browsing 2021-06-09 20:53:35 +02:00
Alexis Sellier a0e9106dd2 Update for subgraph changes 2021-06-03 19:01:59 +02:00
Sebastian Martinez e664c241d3 Extract contract abis to config.json (#7) 2021-06-03 18:10:49 +02:00
Alexis Sellier 3dc3e2808a Fix name of org owner 2021-06-03 17:41:34 +02:00
Alexis Sellier 5b8c793b51 Show org members 2021-06-03 15:56:25 +02:00
Alexis Sellier 06b5d47690 Show orgs on orgs index page 2021-06-01 17:56:16 +02:00
Alexis Sellier 9bb96879b3 Show anchors under orgs 2021-05-27 16:35:32 +02:00
Alexis Sellier 19a85b7954 Button to transfer org ownership 2021-05-25 19:02:40 +02:00
Alexis Sellier 34298a1081 Make sure we have a signer in some cases 2021-05-21 15:29:12 +02:00
Alexis Sellier 112df8c126 Integrate with Org::setName 2021-05-13 14:16:56 +02:00
Alexis Sellier 729bfb4b65 Support BDFL orgs 2021-05-12 14:10:34 +02:00
Alexis Sellier 0e43bf4cbf Simplify org profile 2021-05-10 12:30:28 +02:00
Alexis Sellier 068205a8a1 Org profile improvements 2021-05-08 20:59:25 +02:00
Alexis Sellier 1f139c12d9 Allow orgs to be looked up by name 2021-05-05 12:09:15 +02:00
Alexis Sellier 4af7b38f1c Show resolved name of org 2021-05-04 15:27:29 +02:00
Alexis Sellier df9d15dda5 Handle org not found 2021-05-04 13:58:02 +02:00
Alexis Sellier bd70b41482 Add org profile view 2021-05-04 13:07:25 +02:00
Alexis Sellier 8c623ceaed Get everything properly typed 2021-05-04 11:13:14 +02:00
Alexis Sellier 10e2847d5d Improve session code 2021-05-03 18:17:18 +02:00