Commit Graph
42 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš ab59f11727 Clean up config
Move constants that are tightly coupled to the implementation of
features and unlikely to change or be user configurable out of `config.json`.
Decouple configuration from wallet state.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-21 09:08:10 +02:00
Sebastian Martinez 271fcde43f Remove deprecated org parts
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-13 10:31:28 +02:00
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
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 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 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
Alexis Sellier f438285904 Fix top padding on mobile user view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-12-07 13:48:19 +01:00
Alexis Sellier 41708ce87f Fix layout of member loading
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-12-07 13:48:15 +01:00
Alexis Sellier ae94027dde Show commits on user profile
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-12-07 13:28:58 +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 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
Sebastian Martinez b73f5d5d69 Allow users set reverse records
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-26 09:38: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 1561d2b969 Add margins to loading widgets
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-23 14:01:48 +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 94d29133a0 Use small loading indicator in user profile
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-23 13:53:38 +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
Alexis Sellier b644a6e8b2 Use CAIP-10 to specify anchors account
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-12 16:21:07 +02:00
Alexis Sellier 18b28010bb Users can specify anchors address in ENS
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-11 18:42:33 +02:00
Alexis Sellier 73796ba999 Add support for ENS names in user path
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-11 11:42:01 +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
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 5647050b80 Give all pages a title
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 13:50:03 +02:00
Sebastian Martinez 6fcac9cffe Add fields to user profile
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-09-15 22:15:11 +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 b60e78fecb Make 'SetName' support users too 2021-08-02 11:38:28 +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 07d2cf48eb Improve icon display 2021-07-21 16:02:21 +02:00
Alexis Sellier 485b0e314c Small improvements to project widget 2021-07-21 14:14:40 +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
Alexis Sellier ad3ea18e4f Improve registration form
* Support both handles and URLs in twitter/github fields.
2021-07-19 13:38:03 +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
Sebastian Martinez 1960c4fe79 Change script lang to ts
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-18 09:21:42 -03: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 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 b040fad02c Improve state handling in User View
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 baa77d4269 Add User View Route
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-16 11:16:34 -03:00