Skip to content

Add user additional info field for share autocomplete#29334

Merged
PVince81 merged 2 commits into
masterfrom
user-display-template
Nov 6, 2017
Merged

Add user additional info field for share autocomplete#29334
PVince81 merged 2 commits into
masterfrom
user-display-template

Conversation

@PVince81

@PVince81 PVince81 commented Oct 24, 2017

Copy link
Copy Markdown
Contributor

Description

Related Issue

Fixes #28979

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@PVince81

Copy link
Copy Markdown
Contributor Author

@pmaier1 please try it out.

We might want to tweak the visual design a bit.

@jvillafanez jvillafanez 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.

Code looks good, not tested

@jvillafanez

Copy link
Copy Markdown
Member

We should also test with mobile devices (or small window size). UX might change

@PVince81

Copy link
Copy Markdown
Contributor Author

@felixheidecke any suggestion the visual design ? Now having the email address appearing there makes the sidebar look more loaded. Eventually we might want to move those permissions to a sub-panel/accordion but out of scope for this PR/feature.

@lordelix lordelix self-requested a review October 26, 2017 09:54
@PVince81

PVince81 commented Nov 3, 2017

Copy link
Copy Markdown
Contributor Author

To test please go to the settings page under the "Sharing" section where you can select what information to display with the sharee in autocomplete and in the rows.

@lordelix lordelix left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I added a little CSS. Looks good from a UI pov. 👍

@PVince81

PVince81 commented Nov 3, 2017

Copy link
Copy Markdown
Contributor Author

seems I need to look into test failures

@PVince81

PVince81 commented Nov 3, 2017

Copy link
Copy Markdown
Contributor Author

Added PHP unit tests, squashed, rebased.

Quick rereview appreciated @jvillafanez

@codecov

codecov Bot commented Nov 4, 2017

Copy link
Copy Markdown

Codecov Report

Merging #29334 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #29334      +/-   ##
============================================
+ Coverage     60.45%   60.46%   +0.01%     
- Complexity    17222    17231       +9     
============================================
  Files          1032     1032              
  Lines         57360    57381      +21     
============================================
+ Hits          34677    34698      +21     
  Misses        22683    22683
Impacted Files Coverage Δ Complexity Δ
settings/templates/panels/admin/filesharing.php 100% <ø> (ø) 0 <0> (ø) ⬇️
...files_sharing/lib/Controller/ShareesController.php 89.53% <100%> (+0.5%) 98 <3> (+5) ⬆️
settings/Panels/Admin/FileSharing.php 100% <100%> (ø) 6 <0> (ø) ⬇️
apps/files_sharing/lib/API/Share20OCS.php 91.62% <100%> (+0.19%) 149 <3> (+4) ⬆️

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 2654cbc...61953ed. Read the comment docs.

@PVince81 PVince81 merged commit 6c0d07c into master Nov 6, 2017
@PVince81 PVince81 deleted the user-display-template branch November 6, 2017 09:23
@PVince81

PVince81 commented Nov 6, 2017

Copy link
Copy Markdown
Contributor Author

stable10: #29457

@lock

lock Bot commented Aug 2, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make duplicate sharee autocomplete results easier to distinguish

4 participants