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

MenuPanel: adjust for new styles #923

Merged
merged 12 commits into from
Aug 23, 2019
Merged

MenuPanel: adjust for new styles #923

merged 12 commits into from
Aug 23, 2019

Conversation

sohkai
Copy link
Contributor

@sohkai sohkai commented Aug 20, 2019

Tweaks the menu panel and organization switcher to the refreshed designs:

Screen Shot 2019-08-20 at 7 17 05 PM

Also simplifies the aragon.js error handling a bit, to push everything to the global error handler for now. We used to have reload states for the apps in case they weren't able to load (e.g. because of a bad IPFS connection) but these errors are not propagated the same way from aragon.js anymore and we should later revisit how to properly handle these cases (#84, #361).


Smaller layouts:

Screen Shot 2019-08-21 at 11 43 03 AM


With app instances:

Screen Shot 2019-08-20 at 7 16 57 PM


Organization switcher:

Screen Shot 2019-08-21 at 1 04 12 AM

@dizzypaty We should discuss this in a bit more detail; I think it looks a bit odd as it is, but was the best compromise I could think of to keep the current org in the popover (and thereby favoritable).


TODO:

@auto-assign auto-assign bot requested review from AquiGorka and bpierre August 20, 2019 23:20
@sohkai sohkai force-pushed the newstyle-menupanel branch from d538082 to 59c52c2 Compare August 21, 2019 09:41
@vercel vercel bot temporarily deployed to staging August 21, 2019 09:42 Inactive
@vercel vercel bot temporarily deployed to staging August 21, 2019 09:44 Inactive
@sohkai sohkai marked this pull request as ready for review August 21, 2019 09:44
src/components/MenuPanel/MenuPanel.js Outdated Show resolved Hide resolved
src/components/MenuPanel/MenuPanelAppGroup.js Outdated Show resolved Hide resolved
src/components/MenuPanel/MenuPanelAppInstance.js Outdated Show resolved Hide resolved
src/components/MenuPanel/MenuPanelAppInstance.js Outdated Show resolved Hide resolved
@sohkai sohkai force-pushed the newstyle-menupanel branch from 59c52c2 to d80f643 Compare August 22, 2019 07:59
@sohkai sohkai changed the base branch from newstyle-permissions to newstyle August 22, 2019 08:04
@vercel vercel bot temporarily deployed to staging August 22, 2019 08:18 Inactive
@sohkai
Copy link
Contributor Author

sohkai commented Aug 22, 2019

@bpierre Fixed the closing transition bug in 7dd094a.

That was me previously trying to avoid using pointer-events: none too much, but I don't think it has a big performance impact anyhow :).

@vercel vercel bot temporarily deployed to staging August 22, 2019 08:25 Inactive
Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

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

🤸‍♂️

@bpierre
Copy link
Contributor

bpierre commented Aug 23, 2019

@sohkai @dizzypaty Merging this so we can start building on it, we can open another PR if we decide to tweak the org switcher look.

@bpierre bpierre merged commit ace5639 into newstyle Aug 23, 2019
@delete-merged-branch delete-merged-branch bot deleted the newstyle-menupanel branch August 23, 2019 18:34
2color added a commit that referenced this pull request Aug 28, 2019
…tions

* origin/newstyle:
  MenuPanel tweaks (#933)
  Home redesign (#934)
  SignerPanel: consolidate external transaction props into intent object (#931)
  useLocalIdentity: handle remove case (#930)
  Add AppInternal to manage the layout logic of internal apps (#932)
  MenuPanel: adjust for new styles (#923)
  SignerPanel: display warning for external transactions (#850)
  Remove Badge and update occurrences for Tag (#901)
  SignerPanel: adjust for new styles (#920)
  Organization Settings: replace old Settings app (#896)
  Permissions: new style (#899)
  Sidepanel: redesign feedback indicator (#907)
  eslint: make sure curly braces are used everywhere (#924)
  Org switcher: new style + add FavoritesMenu (#925)
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.

2 participants