Skip to content

Conversation

@nickvergessen
Copy link
Member

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

Branch targets #22099

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

This comment has been minimized.

@jancborchardt

This comment has been minimized.

@skjnldsv skjnldsv force-pushed the fix/unified-search branch from 2cb8704 to 7aa61af Compare August 4, 2020 18:57
@skjnldsv skjnldsv mentioned this pull request Aug 4, 2020
23 tasks
@skjnldsv skjnldsv force-pushed the fix/unified-search branch 2 times, most recently from 0af7698 to 71b62c4 Compare August 4, 2020 19:36
Base automatically changed from fix/unified-search to master August 5, 2020 12:17
@nickvergessen nickvergessen force-pushed the feature/noid/app-navigation-via-unified-search branch from 0080616 to 507f395 Compare August 5, 2020 14:41
@nickvergessen
Copy link
Member Author

Rebased with order adjustments

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the feature/noid/app-navigation-via-unified-search branch from 507f395 to fcdd702 Compare August 5, 2020 14:42
Comment on lines +90 to +93
$result[] = new SearchResultEntry(
'',
$entry['name'],
'',
Copy link
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?

Copy link
Member

@jancborchardt jancborchardt left a comment

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

Copy link
Member

@jancborchardt jancborchardt left a comment

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.

@skjnldsv skjnldsv 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
Member Author

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

faily-bot bot commented Aug 5, 2020

🤖 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()

Copy link
Member

@MorrisJobke MorrisJobke left a comment

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 master Aug 5, 2020
@MorrisJobke MorrisJobke deleted the feature/noid/app-navigation-via-unified-search branch August 5, 2020 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish feature: search

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants