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

Add icons to activity navigation #1622

Merged
merged 1 commit into from
Oct 5, 2016
Merged

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen added enhancement 3. to review Waiting for reviews labels Oct 5, 2016
@nickvergessen nickvergessen added this to the Nextcloud 11.0 milestone Oct 5, 2016
@mention-bot
Copy link

@nickvergessen, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jancborchardt, @schiessle and @skjnldsv to be potential reviewers.

@jancborchardt
Copy link
Member

Please always @-mention the @nextcloud/designers team directly :)

From my view it looks good! 👍

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Seems good! Just optimise your svg with svgo :)

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22"><path d="M11.017.06l2.946 7.384L22 8.077l-6.11 5.082L17.77 21l-6.72-4.242-6.876 4.213 1.957-7.703L0 8.03l7.932-.52z" color="#000"/></svg>
Copy link
Member

@skjnldsv skjnldsv Oct 5, 2016

Choose a reason for hiding this comment

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

Not a big deal, but you don't need to set the fill value since black is the default (see svgo optimization) 😁

0.196 KiB - 1% = 0.194 KiB

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><path d="M2.917 5.015c-.5 0-.92.42-.92.92v22.16c0 .516.402.92.92.92h26.157a.91.91 0 0 0 .92-.92V9.938c0-.5-.418-.926-.92-.926H15.997l-4-4z" fill-rule="evenodd" fill="#000"/></svg>
Copy link
Member

Choose a reason for hiding this comment

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

Same here, we can gain a few KB 😊

0.237 KiB - 5.3% = 0.225 KiB

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

Choose a reason for hiding this comment

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

👍 perfect!
I know this is not the most important thing to do for a few KB, but since we're at it, doesn't cost us more to optimize! :)

Signed-off-by: Joas Schilling <coding@schilljs.com>
@codecov-io
Copy link

Current coverage is 30.61% (diff: 0.00%)

Merging #1622 into master will decrease coverage by <.01%

@@             master      #1622   diff @@
==========================================
  Files          1081       1081          
  Lines         60019      60023     +4   
  Methods        6808       6808          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          18378      18378          
- Misses        41641      41645     +4   
  Partials          0          0          

Sunburst

Diff Coverage File Path
0% apps/files/lib/Activity.php
0% apps/comments/lib/Activity/Extension.php
0% apps/systemtags/lib/Activity/Extension.php
0% apps/files_sharing/lib/Activity.php

Powered by Codecov. Last update 66ae438...671f16f

@skjnldsv
Copy link
Member

skjnldsv commented Oct 5, 2016

👍
Is the approvals/lgtm plugin working with the reviews?

@nickvergessen nickvergessen merged commit 3f48cb8 into master Oct 5, 2016
@nickvergessen nickvergessen deleted the activity-sidebar-icons branch October 5, 2016 11:16
@MorrisJobke
Copy link
Member

Is the approvals/lgtm plugin working with the reviews?

Not yet

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

Successfully merging this pull request may close these issues.

6 participants