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

Tags in files sidebar broken on master #12320

Closed
juliusknorr opened this issue Nov 6, 2018 · 5 comments · Fixed by #12577
Closed

Tags in files sidebar broken on master #12320

juliusknorr opened this issue Nov 6, 2018 · 5 comments · Fixed by #12577

Comments

@juliusknorr
Copy link
Member

juliusknorr commented Nov 6, 2018

Steps to reproduce:

  1. Open files details sidebar
  2. Click on the "Tags" icon
  3. No input appears

Seems this somehow slipped though due to the randomly failing acceptance test. However this is really broken on master:

  Scenario: show the input field for tags in the details view             # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-tags.feature:4
    Given I am logged in                                                  # LoginPageContext::iAmLoggedIn()
    And I open the details view for "welcome.txt"                         # FileListContext::iOpenTheDetailsViewFor()
    And I see that the details view is open                               # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    When I open the input field for tags in the details view              # FilesAppContext::iOpenTheInputFieldForTagsInTheDetailsView()
    Then I see that the input field for tags in the details view is shown # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewIsShown()
      Failed asserting that false is true.

@nextcloud/javascript

https://drone.nextcloud.com/nextcloud/server/12455/271

@skjnldsv
Copy link
Member

skjnldsv commented Nov 6, 2018

[06 09:03:09] Silly question, how do you add a tag to a file?
[06 09:24:57] skjnldsv: open the sidebar for the file, click Tags, which will show an input field, and type the name of the tag
[06 09:25:00] note, however, that the input field for tags may not appear due to a known bug related to the rendering of the details view (I'm on it, but unfortunately I've other things to do with higher priority :-( )
[06 09:25:11] in that case... just reload the page and try again :P
[06 09:25:14] ahaha
[06 09:25:17] okay :p
[06 09:25:19] thx danxuliu :)
[06 09:25:26] you're welcome ;)

@danxuliu
Copy link
Member

danxuliu commented Nov 6, 2018

@skjnldsv No, this is a regression introduced in #12231 (which was backported to 14... :-P ); before it the input for tags was shown as long as the sidebar was not opened again (that is what I was referring to in our conversation which, in turn, was a regression introduced in 16f6c07; before that the input for tags was shown without problems after opening again the details view), but now it is not even shown the first time.

Anyway, in the next days I will have to fight with the rendering of the sidebar in order to fix some issues when embedding in it the Talk UI; I already intended to fix the original issue with the tag input plus a race condition that makes the acceptance tests fail sometimes, so if you can wait I will take care of all this hopefully next week. But if someone else is eager to fix it go ahead ;-)

@blizzz
Copy link
Member

blizzz commented Nov 7, 2018

dup of #10774 ?

@MorrisJobke
Copy link
Member

@danxuliu Any news here?

@jospoortvliet
Copy link
Member

I can confirm it's broken in beta 2 too, for what it's worth (probably not much 😿 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants