Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local identities #656

Merged
merged 107 commits into from Mar 29, 2019
Merged

Local identities #656

merged 107 commits into from Mar 29, 2019

Conversation

AquiGorka
Copy link
Contributor

@AquiGorka AquiGorka commented Mar 20, 2019

This PR aggregates changes from:

Accompanying apps PRs:

Todo

  • Bump minor version of @aragon/ui once released with updated IdentityBadge
  • Bump version of @aragon/wrapper once released with identities functionality

src/App.js Show resolved Hide resolved
src/App.js Show resolved Hide resolved
src/App.js Outdated Show resolved Hide resolved
src/App.js Outdated Show resolved Hide resolved
@2color
Copy link
Contributor

2color commented Mar 22, 2019

I'm getting the following error when interacting with identities in the native setting apps

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
in Modal (created by Spring)
in div (created by AnimatedComponent)
in AnimatedComponent (created by ForwardRef)
in ForwardRef (created by Context.Consumer)
in StyledComponent (created by ModalManager__AnimatedWrap)
in ModalManager__AnimatedWrap (created by Spring)
in div (created by Context.Consumer)
in StyledComponent (created by ModalManager__Wrap)
in ModalManager__Wrap (created by Spring)
in Spring (created by KeyframesImpl)
in KeyframesImpl (created by ForwardRef)
in ForwardRef (created by Transition)

Steps to recreate:

  1. Click on a badge
  2. Edit label
  3. Save
  4. Repeat first three steps
  5. See error after the second save

Leaving this comment so I can debug later.

@AquiGorka
Copy link
Contributor Author

Memory leaked fixed in c6741b2

@2color 2color self-requested a review March 25, 2019 15:28
Copy link
Contributor

@2color 2color left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great!

src/components/MenuPanel/MenuPanel.js Outdated Show resolved Hide resolved
src/components/Preferences/Preferences.js Outdated Show resolved Hide resolved
src/components/Preferences/Preferences.js Show resolved Hide resolved
src/components/Preferences/Preferences.js Outdated Show resolved Hide resolved
src/components/Preferences/Preferences.js Outdated Show resolved Hide resolved
src/components/LocalIdentityModal/LocalIdentityModal.js Outdated Show resolved Hide resolved
src/components/LocalIdentityModal/LocalIdentityModal.js Outdated Show resolved Hide resolved
src/components/LocalIdentityModal/LocalIdentityModal.js Outdated Show resolved Hide resolved
src/components/App/AppIFrame.js Show resolved Hide resolved
@AquiGorka AquiGorka merged commit 77e1225 into master Mar 29, 2019
@AquiGorka AquiGorka deleted the feature/local-identities branch March 29, 2019 09:47
2color added a commit that referenced this pull request Apr 3, 2019
* origin/master: (56 commits)
  Identity - Improve LocalIdentityBadge (#673)
  Menu panel footer separator (#666)
  fix(MenuPanel): avoid clickable margin above system apps toggle (#671)
  Local identities (#656)
  MenuPanel: add toggle animation to show/hide system apps (#658)
  Add github workflow for linting/building (#663)
  Permissions: added system and background app labels (#650)
  Use the same component to render every app icon (#655)
  chore: add all contributors and contributing guidelines (#649)
  Manage the menu button using messages + prevent re-mounting on resize (#651)
  Update melon (#647)
  Apps <> System apps separator (#648)
  Upgrade lint-staged (#646)
  fix: always leave Kernel as first app (#645)
  fix: avoid assigning a registry tag if app is not on a registry (#644)
  chore: upgrade @aragon/wrapper to v4.0.0-beta.1 (#639)
  DaoSettings: add bottom margin on app items (#638)
  Refactor common components (#615)
  Enforce MenuPanel’s width (#636)
  Menu panel swipe open close (#606)
  ...
2color added a commit that referenced this pull request Apr 3, 2019
* origin/master: (55 commits)
  Identity - Improve LocalIdentityBadge (#673)
  Menu panel footer separator (#666)
  fix(MenuPanel): avoid clickable margin above system apps toggle (#671)
  Local identities (#656)
  MenuPanel: add toggle animation to show/hide system apps (#658)
  Add github workflow for linting/building (#663)
  Permissions: added system and background app labels (#650)
  Use the same component to render every app icon (#655)
  chore: add all contributors and contributing guidelines (#649)
  Manage the menu button using messages + prevent re-mounting on resize (#651)
  Update melon (#647)
  Apps <> System apps separator (#648)
  Upgrade lint-staged (#646)
  fix: always leave Kernel as first app (#645)
  fix: avoid assigning a registry tag if app is not on a registry (#644)
  chore: upgrade @aragon/wrapper to v4.0.0-beta.1 (#639)
  DaoSettings: add bottom margin on app items (#638)
  Refactor common components (#615)
  Enforce MenuPanel’s width (#636)
  Menu panel swipe open close (#606)
  ...
left: 2px;
`}
/>
<IdentityBadge entity="Address badge" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like we should add a way to stop the popover from activating @bpierre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants