Skip to content

replace name in top right with icon for less noise - #4074

Merged
MorrisJobke merged 1 commit into
masterfrom
replace-name-with-icon
Mar 26, 2017
Merged

MorrisJobke merged 1 commit into
masterfrom
replace-name-with-icon

Conversation

@jancborchardt

@jancborchardt jancborchardt commented Mar 26, 2017 •

Copy link
Copy Markdown
Member

Before with profile image and without (long names were not ellipsized which also caused problems like #3273):
capture du 2017-03-26 18-04-24 capture du 2017-03-26 18-03-44

After, with profile image and without:
capture du 2017-03-26 18-01-22 capture du 2017-03-26 18-02-03

A lot simpler, a lot less elements. As discussed @karlitschek, please review @nextcloud/designers
Another good point is that we always know how far the elements like notifications menu etc are from the right, regarding arrow placement.

@jancborchardt jancborchardt added 3. to review Waiting for reviews design Design, UI, UX, etc. enhancement labels Mar 26, 2017
@mention-bot

Copy link
Copy Markdown

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

@jancborchardt jancborchardt added this to the Nextcloud 12.0 milestone Mar 26, 2017
@karlitschek

Copy link
Copy Markdown
Member

looks good 👍

</div>
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
<div class="icon-caret"></div>
<div id="expandDisplayName" class="icon-settings-white"></div>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if we don't need user_displayname inside the template now, we should remove it from wherever it is set.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same with the other variables

@jancborchardt jancborchardt Mar 26, 2017 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It’s set in the <head>, but I’m not sure if it’s safe to remove there since it might be used by other aspects and apps, no?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would leave it for now, because I guess it's set in the general template.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #4074 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #4074      +/-   ##
============================================
+ Coverage     54.24%   54.24%   +<.01%     
  Complexity    21285    21285              
============================================
  Files          1310     1310              
  Lines         81187    81187              
  Branches       1284     1284              
============================================
+ Hits          44036    44037       +1     
+ Misses        37151    37150       -1
Impacted Files Coverage Δ Complexity Δ
core/templates/layout.user.php 0% <0%> (ø) 0 <0> (ø) ⬇️
apps/files_external/lib/Lib/Storage/SMB.php 47.22% <0%> (+0.39%) 112% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec6853a...2048e3e. Read the comment docs.

@MariusBluem

MariusBluem commented Mar 26, 2017 •

Copy link
Copy Markdown
Member

What about showing the gear for every user and profile picture and name in the popover (as I have proposed over here: #3273 (comment)) ... otherwise, it is complicated to see who is logged in for users without profile picture 😬

@jancborchardt

Copy link
Copy Markdown
Member Author

@MariusBluem

What about showing the gear for every user
otherwise, it is complicated to see who is logged in for users without profile picture

If you show the gear only for every user then it is very complicated to see who is logged in, even if you have a profile picture. Discussion about additionally showing the name is separate.

@MorrisJobke MorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested and works 👍

@MorrisJobke
MorrisJobke merged commit 7dd5d73 into master Mar 26, 2017
@MorrisJobke
MorrisJobke deleted the replace-name-with-icon branch March 26, 2017 19:02
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 design Design, UI, UX, etc. enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants