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

Start with sidebar #377

Merged
merged 19 commits into from
Sep 19, 2017
Merged

Start with sidebar #377

merged 19 commits into from
Sep 19, 2017

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Aug 7, 2017

bildschirmfoto vom 2017-09-08 15-50-38

@codecov
Copy link

codecov bot commented Aug 7, 2017

Codecov Report

Merging #377 into master will decrease coverage by 0.22%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #377      +/-   ##
============================================
- Coverage     12.28%   12.06%   -0.23%     
- Complexity      343      348       +5     
============================================
  Files            22       22              
  Lines          1644     1674      +30     
============================================
  Hits            202      202              
- Misses         1442     1472      +30
Impacted Files Coverage Δ Complexity Δ
lib/Controller/RoomController.php 0% <0%> (ø) 99 <5> (+5) ⬆️
appinfo/routes.php 0% <0%> (ø) 0 <0> (ø) ⬇️

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 68ff6bd...1ffa4e0. Read the comment docs.

@jancborchardt
Copy link
Member

Ah so the Chat should also be in this sidebar then, right?

@nickvergessen
Copy link
Member Author

I don't care about chat until it is here. Currently it holds only moderation features, so I would only show it for moderators. But we can change that in the future, once chat is there.
I guess it would just be another tab view then...

@jancborchardt
Copy link
Member

I made some changes, however they are not taken into account since the file https://github.com/nextcloud/server/blob/master/apps/files_sharing/css/sharetabview.scss is not loaded in this app it seems. Can we make that happen somehow? A simple @import '../../files_sharing/css/sharetabview.scss'; did not work because of:
The resource from “http://localhost/nextcloud/apps/files_sharing/css/sharetabview.scss” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).

Regarding the other things:

  • Some marker for User is currently in this call

Sort the people currently in this call up top. People not in the call should additionally be half-transparent. Give the li element of participants not in the call the class .participant-offline and the CSS I added will display them accordingly. (See the example code I added.)

Some marker for User is a moderator/owner

Sort them at the very top (even if offline), give the li element of moderators the class .participant-moderator and put a (moderator) behind their name in a span called .participant-moderator-indicator. (See the example code I added.)

Some further questions:

  • What does the "start/stop webinar" button exactly do?
  • I guess we should move the actions from the left sidebar (Add person, Rename, Share link, Delete call) fully to the sidebar? And the 3-dot button will open the sidebar. Otherwise there will be duplication.

@nickvergessen
Copy link
Member Author

Can you commit the sharetabview.scss then I can do the import

@nickvergessen
Copy link
Member Author

What does the "start/stop webinar" button exactly do?

It's the schedules call feature from: #347 (comment)

I guess we should move the actions from the left sidebar (Add person, Rename, Share link, Delete call) fully to the sidebar? And the 3-dot button will open the sidebar. Otherwise there will be duplication.

I thought the same, but then you can not leave/delete rooms without having to join them. The three dot is available while you are in a different room/call. The sidebar is not. Also as said before, currently the side bar is moderators only. For normal users it would be pretty empty, or would you show the user list there too?

@jancborchardt
Copy link
Member

@nickvergessen you mean just duplicate the sharetabview.scss here? Is there no way to call the original?

@nickvergessen
Copy link
Member Author

I would just copy the necessary elements to a new file. Depending on another app is never a good idea.

@jancborchardt
Copy link
Member

I'll move sharetabview to core then cause we shouldn't copypaste stuff all over.

nickvergessen and others added 9 commits August 25, 2017 17:17
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
menu still broken

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
Copy link
Member Author

@Ivansss can you review this first step?

bildschirmfoto vom 2017-09-08 15-50-38

I will then create a new issue for the remaining tasks

@nickvergessen
Copy link
Member Author

Remaining todos: #399

1. Owners can not be moderated
2. You can not moderate yourself

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
Copy link
Member Author

@Ivansss ping 🏓

@Ivansss
Copy link
Member

Ivansss commented Sep 19, 2017

Guests have no avatar and no name in the sidebar.

screen shot 2017-09-19 at 10 46 05

@Ivansss Ivansss merged commit 815c509 into master Sep 19, 2017
@Ivansss Ivansss deleted the sidebar branch September 19, 2017 12:04
marcoambrosini pushed a commit that referenced this pull request Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants