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 user additional info field for share autocomplete #29334

Merged
merged 2 commits into from
Nov 6, 2017

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented Oct 24, 2017

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
Contributor Author

@pmaier1 please try it out.

We might want to tweak the visual design a bit.

Copy link
Member

@jvillafanez jvillafanez left a comment

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
Member

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

@PVince81
Copy link
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.

@felixheidecke felixheidecke self-requested a review October 26, 2017 09:54
@PVince81
Copy link
Contributor Author

PVince81 commented Nov 3, 2017

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.

Copy link
Contributor

@felixheidecke felixheidecke left a comment

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
Copy link
Contributor Author

PVince81 commented Nov 3, 2017

seems I need to look into test failures

@PVince81
Copy link
Contributor Author

PVince81 commented Nov 3, 2017

Added PHP unit tests, squashed, rebased.

Quick rereview appreciated @jvillafanez

@codecov
Copy link

codecov bot commented Nov 4, 2017

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
Copy link
Contributor Author

PVince81 commented Nov 6, 2017

stable10: #29457

@lock
Copy link

lock bot commented Aug 2, 2019

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