Skip to content

RepoBadge: update style and fix how it loads repo content#1118

Merged
sohkai merged 3 commits intomasterfrom
fix-repobadge
Oct 10, 2019
Merged

RepoBadge: update style and fix how it loads repo content#1118
sohkai merged 3 commits intomasterfrom
fix-repobadge

Conversation

@sohkai
Copy link
Copy Markdown
Contributor

@sohkai sohkai commented Oct 10, 2019

We previously relied on hardcoded images for RepoBadge. This was primarily useful in showing the same image during an upgrade, but I think it might be more harmful than good.

For example:

Screen Shot 2019-10-10 at 1 35 06 PM

Screen Shot 2019-10-10 at 1 35 22 PM

While the old icons look odd, those are the icons being used on the sidebar and what the user of the old version would expect to see.


To see the difference between the currently deployed version and this version, go to test.aragonid.eth.

@sohkai sohkai requested a review from bpierre October 10, 2019 13:18
Copy link
Copy Markdown
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.

I’m wondering if we could detect these, and at maybe resize them a bit? But it’s probably not worth putting any effort into this, as icons are going to follow the new format from now on anyway.

@sohkai sohkai requested a review from dizzypaty October 10, 2019 17:19
@sohkai
Copy link
Copy Markdown
Contributor Author

sohkai commented Oct 10, 2019

But it’s probably not worth putting any effort into this, as icons are going to follow the new format from now on anyway.

Yeah, that was my thought too. We're already putting them into a 24x24 container in AppIcon and if they look bad there... they'll look bad elsewhere too.

Btw added @dizzypaty as a reviewer.

Copy link
Copy Markdown

@dizzypaty dizzypaty left a comment

Choose a reason for hiding this comment

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

I personally think is nice to see the icons change from one version to another. The old icons do look a bit odd now but, as you mentioned, they match the app menu panel and that's more useful than small ascetic changes.

@sohkai sohkai merged commit 7e46a01 into master Oct 10, 2019
@sohkai sohkai deleted the fix-repobadge branch October 10, 2019 20:09
chadoh added a commit to AutarkLabs/aragon that referenced this pull request Oct 23, 2019
* 'master' of github.com:aragon/aragon: (23 commits)
  Templates: allow disabled, 'coming soon' templates to be opened (aragon#1141)
  OnboardingTopBar, ErrorScreen: remove unneeded prop types (aragon#1136)
  Error screen: various fixes (aragon#1132)
  UI: Replace Checkbox with Switch where applicable (aragon#1135)
  Local settings: fix two setters (aragon#1129)
  Build: update to core-js@3 (aragon#1126)
  Configuration: move prefix from REACT_APP to ARAGON (aragon#1122)
  Add and configure Jest (aragon#1123)
  AppIFrame: fix iframe not being mounted in IE (aragon#1125)
  0.8.2 (aragon#1120)
  Onboarding: minor fixes and improvements (aragon#1117)
  Permissions: refactor to use SearchInput (aragon#1100)
  Templates: add Fundraising (aragon#1092)
  Custom labels: update search and DataView (aragon#1077)
  RepoBadge: update style and fix how it loads repo content (aragon#1118)
  Onboarding: minor fixes (aragon#1119)
  Onboarding: clamp value of Voting's support and quorum to their max values (aragon#1114)
  Onboarding welcome: UI fixes (aragon#1110)
  Onboarding: remove information about waiting for transactions t… (aragon#1113)
  docs: add geleeroyale as a contributor (aragon#1112)
  ...
chadoh added a commit to AutarkLabs/aragon that referenced this pull request Oct 23, 2019
* master: (24 commits)
  add framework for conditionally rendering profiles
  Templates: allow disabled, 'coming soon' templates to be opened (aragon#1141)
  OnboardingTopBar, ErrorScreen: remove unneeded prop types (aragon#1136)
  Error screen: various fixes (aragon#1132)
  UI: Replace Checkbox with Switch where applicable (aragon#1135)
  Local settings: fix two setters (aragon#1129)
  Build: update to core-js@3 (aragon#1126)
  Configuration: move prefix from REACT_APP to ARAGON (aragon#1122)
  Add and configure Jest (aragon#1123)
  AppIFrame: fix iframe not being mounted in IE (aragon#1125)
  0.8.2 (aragon#1120)
  Onboarding: minor fixes and improvements (aragon#1117)
  Permissions: refactor to use SearchInput (aragon#1100)
  Templates: add Fundraising (aragon#1092)
  Custom labels: update search and DataView (aragon#1077)
  RepoBadge: update style and fix how it loads repo content (aragon#1118)
  Onboarding: minor fixes (aragon#1119)
  Onboarding: clamp value of Voting's support and quorum to their max values (aragon#1114)
  Onboarding welcome: UI fixes (aragon#1110)
  Onboarding: remove information about waiting for transactions t… (aragon#1113)
  ...
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.

3 participants