Commit Graph
162 Commits
Author SHA1 Message Date
Alexis Sellier b9c4cda4cf Refactor project reactivity
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-11 16:21:03 +01:00
Alexis Sellier 88cc74dc02 Add orgs v1 deprecation notice
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-10 14:06:19 +01:00
Alexis Sellier 217bd814a6 Query delegate projects if radicle.id is set
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-10 13:23:41 +01:00
Sebastian Martinez f92dcbf06d Use Projects component in Seed View
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-09 17:45:38 +01:00
Sebastian Martinez 1e827eb458 Update OpenGraph metadata in subpages
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-09 16:07:10 +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 e6f4441be7 Revise seed config
No longer use `Config` to store the seed config.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 13:27:12 +01:00
Alexis Sellier 3fcbffe307 Don't query seed if no seed configured
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 12:22:46 +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 a43ac33ddc Refactor org and user routes
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-08 10:16:45 +01:00
Sebastian Martinez 0263a5f032 Catch Seed class construction errors
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-07 11:35:54 +01:00
Sebastian Martinez aad01f74b4 Improve reactivity and UX of pending anchors
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-02 15:39:57 +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 ea0e8bd3d3 Fix type errors
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-02 12:29:20 +01:00
Sebastian Martinez 0a2481792c Add unit & integration testing
* Add Cypress component testing
* Add SeedAddress component testing
* Add Error component test
* Add Search component test
* Add code coverage instrumentation
* Add BranchSelector component testing
* Add coverage check to CI
* Require node version 14

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-31 16:05:23 +01:00
Alexis Sellier 6b84e519d3 Make icon filling optional
We give the option to fill icons when needed, otherwise
the SVG is rendered "as-is".

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-01-18 11:01:58 +01:00
Sebastian Martinez 7cbdbd5944 Fix Org Treasury token balances
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-17 22:56:48 +01:00
Sebastian Martinez debf82ef36 Add error clause when fetching org members or orgs
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-17 13:19:39 +01:00
Sebastian Martinez 8b18e80068 Add SeedAddress to user page
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-14 12:01:54 +01:00
Sebastian Martinez 521a2bbf60 Refactor SeedAddress into separate component
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-14 12:01:40 +01:00
Alexis Sellier ce8db417ae Fix seed address spacing
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-12-22 11:27:04 +01:00
Alexis Sellier 41f8e27e9f Set org page width to 720px
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-12-07 13:30:48 +01:00
Alexis Sellier 05f47af8a2 Fix header link alignment and orgs
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-12-07 13:26:48 +01:00
Sebastian Martinez 72d5b3b34c Add seeds page
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-12-07 11:11:34 +01:00
Sebastian Martinez 68395bceb2 Refactor responsive and fix mobile toggle nav
- Removes the base property from vite.config, until a better solution
  has been found, wasn't able to reproduce it locally in production
  build though.
- Moves desktop and mobile classes from components to index.css
- Used a own CSS hide mechanism for the ellipsis menu.
- Shortens the addresses in org and users view, and wraps orgs in user
  view

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-12-07 10:44:53 +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 a2a99140b8 Pass seed info to Projects widget
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-29 17:48:14 +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
Alexis Sellier 7398fa1e87 Only show treasury if there are balances
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-23 14:06:11 +01:00
Alexis Sellier 7349c1e6b1 Don't open registration in new window
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-23 13:58:18 +01:00
Alexis Sellier 36baac58bc Don't show quorum if there is none
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-23 13:56:54 +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
Sebastian Martinez b73177ad06 Refactor Token type into utils
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-02 10:31:58 +01:00
Sebastian Martinez 497074a0a5 Add Org treasury to org profile
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-02 10:25:15 +01:00
Alexis Sellier 1bd2c6d23f Fix centering of modals and a few other styles
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-12 16:09:47 +02:00
Alexis Sellier 46a73521c6 Move list component to top level
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-11 11:42:11 +02:00
Alexis Sellier 8d45ec27e1 Show users on front page as well
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-11 11:42:09 +02: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 8646f92630 Fix spacing of seed icon
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-01 10:45:59 +02: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 6d447622a2 Show seed address in org view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-01 10:26:12 +02:00
Alexis Sellier d6065f9d34 Separate home page layout from orgs
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-30 15:02:04 +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
Sebastian Martinez 655f089aad Add registry method to Profile
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-09-23 13:21:28 +02:00
Alexis Sellier 432f50e055 Rename 'address' export to 'addressOrName'
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 15:40:47 +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 0f124e83c1 Make sure we use the org address for avatars
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 15:01:00 +02:00