Code Monkey home page Code Monkey logo

aragon-profile's People

Contributors

chadoh avatar listenaddress avatar rkzel avatar schwartz10 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aragon-profile's Issues

summarize 3box conversation with breaking changes, set up call with A1 to go over strategy

Call video: https://drive.google.com/drive/folders/1lSocjrj8K5MM-xoXuvaXx_61NcDd034v

Call notes (scattered):

Right now the way they do auth, sign a message for generating a main ID, and then sign a message for each space that you want to open

Doesn’t work for contract wallets

Two different keys for your contract wallets, then you want to enable both of those keys to enable your 3box

For each space that you add, you would need to double sign the first time to add that space

Have an iframe that lives account.3box.io - iframe stores the root seed and derives the key for the main identity and the seed for each space

Iframe has post message API to the app and this is handled by 3box

You want to open 3box, get an overlay over the webpage that says this app wants to get access to your 3box data. Authorize that or don’t authorize that

Fix login flow

Something is wrong with it, not sure quite yet what's going on or where things broke

Testing isMember method

will need to sync up with arthur on this one after other tickets are finished. That's why it's an 8 pointer for now.

Unnecessary whitespace in About region

There is unnecessary whitespace in About region, below the Ethereum address. This is present when the work history has a bit of data.

This seems to be related to the new code that aimed to solve the grid issue:

image

update bundle script of aragon client

Must:

  • handle multiple react packages
  • handle ipfs as a dependency (and libp2p) without timing out
  • bundle 3box without installing all of their babel deps (this might be related to #2)
  • work with npm link command for local development
  • work with npm install @openworklabs/aragon-profile for production

I will be working with pierre from A1 on this later this week (hopefully)

QA

Leaving room for general QA After integrating into the aragon client

Revise aragon-profile to fit A1 design specs

This is a larger epic, that might encompass many future tickets (in the next grant cycle too). We're going to have to adjust the current profile UI to fit the design's A1 wants for profiles. Marking this epic to house future tickets related to this.

Move related components out of InformationCard

The InformationCard component defines many other components within its own definition, such as PopoverCard.

I'd like to see these moved outside of the component definition, for two reasons:

  1. Code maintainability: It makes it harder to read and understand this code, since these internal components may use the outer component's state/props in hard-to-see ways. It makes it harder to shrink this file by moving these related components to new ones. It clutters the mental model.
  2. Performance: Every time the component is rendered, these related components get re-defined, rather than React being able to use a reference to the same component. This may cause performance issues if done excessively.

For now, we can at least move these definitions to the top level of the file, each receiving their own props rather than relying on InformationCard's props/state. If any of them seem like good candidates for moving to sibling files, that could be nice, too.

Add "try again" button to login modals

@chadoh this was assigned to you previously, but i updated the repo (and had to make a new issue). I think this is going to be pretty complicated, but it might be a good way to learn the code base. Happy to try and pair on this for a bit too.

It's something we could assign to radek too if you prefer

Document the changes required to allow any organization to be added to a user's profile

Currently there are technical limitations with regards to adding an organization to a user profile where the user can only add their current DAO as an "organization".

I'd like a document created in Notion that describes the following:

  1. The current limitations
  2. The enhancements required to support any organization being added
  3. Whether the enhancements can be incorporated in our "Organization Settings" work (see the spec here: https://www.notion.so/autark/Organization-Settings-296282154d6848f0966c39c3b0762b9e)

adding organizations by ENS names

Currently adding an organization requires its address, not name. Since web3 itself is not present, and not supposed to be present within apps, we need to discuss and decide what way is possible and the best.

Font size changes

Update the "You have no..." to 15px
image

Update the Ethereum address to 12px

For education and work history, the line height should be 1.8 and the font size should be
University name, company - 16px, bold
University degree, job role - 15px
Dates - 12px, normal
Job description - 14px, normal

image

Code compiling open questions/issues

  1. react, react-dom, and styled-components should not be bundled into the published package. Since aragon client has these dependencies, it will create conflicts when two versions are used in the client repo (and hooks will break).
  • Relevant issues: webpack/webpack#8607 webpack/webpack#8886
  • I got this working in rollup, but can't seem to figure it out in webpack + npm link
  • Does this require any changes in the aragon/aragon repo? I don't think it should...
  1. Figure out why there are dependencies missing
  • This is a question for 3box - for some reason you have to add 3box's babel deps in order to bundle their code. Still working on this one...
  1. which bundler to use?
  • Rollup was working for everything... Except bundling 3box. 3Box exports ES5 code but without bundling their packages. Their reasoning for this is to allow devs to have more flexibility on how 3box's deps get bundled (tree shaking). More on that here 3box/3box-js#408 (comment). Turns out this is (most likely) the underlying issue: ipfs/js-ipfs#1927
  • I could get things to bundle when i hiked up the amount of memory available to the build process. However, then we'd have to change the build scripts in aragon/aragon in order to get this to work.
  • Switched to webpack because it bundled 3box fine, but then of course ran into the issue with multiple reacts

App wide error handling

@rkzel I'm concerned that the application errors take different shapes and forms. This ticket is to do a little chaos-monkey testing on profiles. Insert random errors in different parts of the app (just throw new Error() throughout different operations) and see how the app responds. We should make clear what an error is in the app and how we handle it. Are errors strings or objects?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.