Skip to content

App navigation via unified search - #22102

Merged
MorrisJobke merged 3 commits into
masterfrom
feature/noid/app-navigation-via-unified-search
Aug 5, 2020
Merged

App navigation via unified search#22102
MorrisJobke merged 3 commits into
masterfrom
feature/noid/app-navigation-via-unified-search

Conversation

@nickvergessen

Copy link
Copy Markdown
Member

Bildschirmfoto von 2020-08-04 16-23-12

Branch targets #22099

@nickvergessennickvergessen added this to the Nextcloud 20 milestone Aug 4, 2020
@nickvergessennickvergessen added the 3. to review Waiting for reviews label Aug 4, 2020
@skjnldsv

This comment has been minimized.

@jancborchardt

This comment has been minimized.

@skjnldsvskjnldsv mentioned this pull request Aug 4, 2020
23 tasks
@skjnldsv
skjnldsvforce-pushed the fix/unified-search branch 2 times, most recently from 0af7698 to 71b62c4CompareAugust 4, 2020 19:36
Base automatically changed from fix/unified-search to masterAugust 5, 2020 12:17
@nickvergessen
nickvergessenforce-pushed the feature/noid/app-navigation-via-unified-search branch from 0080616 to 507f395CompareAugust 5, 2020 14:41
@nickvergessen

Copy link
Copy Markdown
MemberAuthor

Rebased with order adjustments

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
nickvergessenforce-pushed the feature/noid/app-navigation-via-unified-search branch from 507f395 to fcdd702CompareAugust 5, 2020 14:42
Comment on lines +90 to +93
$result[] = new SearchResultEntry(
'',
$entry['name'],
'',

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.

Btw, is there no other way for an API to have empty strings like that? Is that good practices?

Comment threadapps/settings/lib/Search/AppSearch.php Outdated

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

Looks good! 👍 to @skjnldsv’s feedback, and also I found one entry which doesn’t really make sense – there’s possibly more which we might need to filter?
image

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

My feedback can also be fixed in a follow-up tho.

@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 5, 2020
…tatus)
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen

Copy link
Copy Markdown
MemberAuthor

there’s possibly more which we might need to filter?

Well user status is registering a navigation link which is highjacked by JS. I'm not aware we have more of this, but now fixed by ignoring empty link items

Fix both issues.

@faily-bot

faily-botBot commented Aug 5, 2020

Copy link
Copy Markdown

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 31430: failure

acceptance-app-files

  • tests/acceptance/features/app-files.feature:262
Show full log
 Scenario: unmarking a file as favorite causes the file list to be sorted again # /drone/src/tests/acceptance/features/app-files.feature:262
Given I am logged in # LoginPageContext::iAmLoggedIn()
And I create a new folder named "A name alphabetically lower than welcome.txt" # FileListContext::iCreateANewFolderNamed()
And I see that "A name alphabetically lower than welcome.txt" precedes "welcome.txt" in the file list # FileListContext::iSeeThatPrecedesInTheFileList()
And I close the details view # FilesAppContext::iCloseTheDetailsView()
And I see that the details view is closed # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
And I mark "welcome.txt" as favorite # FileListContext::iMarkAsFavorite()
And I see that "welcome.txt" is marked as favorite # FileListContext::iSeeThatIsMarkedAsFavorite()
And I see that "welcome.txt" precedes "A name alphabetically lower than welcome.txt" in the file list # FileListContext::iSeeThatPrecedesInTheFileList()
When I unmark "welcome.txt" as favorite # FileListContext::iUnmarkAsFavorite()
Then I see that "welcome.txt" is not marked as favorite # FileListContext::iSeeThatIsNotMarkedAsFavorite()
Not favorited state icon for file welcome.txt in file list could not be found after 100 seconds (NoSuchElementException)
And I see that "A name alphabetically lower than welcome.txt" precedes "welcome.txt" in the file list # FileListContext::iSeeThatPrecedesInTheFileList()

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

How nice is this?!? :) I love it already 👍

@MorrisJobke
MorrisJobke merged commit 2aa6256 into masterAug 5, 2020
@MorrisJobke
MorrisJobke deleted the feature/noid/app-navigation-via-unified-search branch August 5, 2020 20:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishfeature: search

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@nickvergessen@skjnldsv@jancborchardt@MorrisJobke