-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Comments AutoCompletion #6982
Comments AutoCompletion #6982
Conversation
* introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <[email protected]>
so walking it is reusable Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
we will need it for nice formatting of the mentioned user Signed-off-by: Arthur Schiwon <[email protected]>
i.e. avatar with displaymenu and contactsmenu-popover Signed-off-by: Arthur Schiwon <[email protected]>
also ensures proper rendering, even of edited comments Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #6982 +/- ##
=========================================
Coverage ? 50.62%
Complexity ? 24289
=========================================
Files ? 1576
Lines ? 92882
Branches ? 1358
=========================================
Hits ? 47022
Misses ? 45860
Partials ? 0
|
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
background: we have a flat hierarchy of comments, not a tree. therefore we can also remove again the unnecessary additions. Signed-off-by: Arthur Schiwon <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice from the demo video! I’d say further fixes should be done in follow-ups cause this is too big already. :)
Should only ship the minified js file, instead of the examples and other unneeded stuff. |
lib/private/Server.php
Outdated
@@ -1011,6 +1011,11 @@ public function __construct($webRoot, \OC\Config $config) { | |||
}); | |||
$this->registerAlias('CollaboratorSearch', \OCP\Collaboration\Collaborators\ISearch::class); | |||
|
|||
$this->registerService(\OCP\Collaboration\AutoComplete\IManager::class, function (Server $c) { | |||
return new Collaboration\AutoComplete\Manager($c); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please import completely
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually you should be able to drop this completely because of our magic automatic injection
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
f8e4be1
to
d0f2f5f
Compare
|
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
@nickvergessen great testing 👍 fixed with recent commits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome
Signed-off-by: Arthur Schiwon <[email protected]>
947b30c
to
2b4b3b1
Compare
Signed-off-by: Arthur Schiwon <[email protected]>
a28f3f9
to
f1570c2
Compare
🍻 |
Follow up to #6779, both backend and gui, for #2443
I also did a quick demo video
Please test and review