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
Add right panel with Room information #365
Conversation
So, I just tried it out, and it looks really nice!! Exciting to see this 😄 A few functional things I noticed:
Haven't looked at the code recently, will do so later. |
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.
Thank you for your changed @MidhunSureshR! This is shaping up nicely! I did a full code review, don't be intimidated by the many comments, most should be very easy to address.
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.
Had a look at the styling as well, mostly looks good, just a few suggestions.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
- Move related parameters closer together. - Remove unused parameter. Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
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.
Thank you for addressing all the comments, just went over those and resolved accordingly. Came across one issue and a little remaining nit. I'll do another review of the whole thing (rather than just going over the comments as I did now), but I think we're mostly good to go.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Can you also fix some of the lint warnings in your new code? The current warning count is 16 and it'd be good if it didn't go up. |
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
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.
Looking great, found a few more things, but after that we're good to merge I think.
src/platform/web/ui/css/layout.css
Outdated
@@ -65,7 +72,7 @@ the layout viewport up without resizing it when the keyboard shows */ | |||
.middle .close-middle { display: none; } | |||
/* mobile layout */ | |||
@media screen and (max-width: 800px) { | |||
.SessionView:not(.middle-shown) { | |||
.SessionView:not(.middle-shown, .right-shown) { |
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.
selector lists in :not
are not supported in IE apparently. Can you write this out?
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
@@ -183,6 +189,7 @@ export class RoomGridViewModel extends ViewModel { | |||
|
|||
import {createNavigation} from "../navigation/index.js"; | |||
import {ObservableValue} from "../../observable/ObservableValue.js"; | |||
import { Segment } from "../navigation/Navigation.js"; |
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.
Nit: only the imports needed for the tests should be below here, the others up at the top. You can also avoid the import by doing this.navigation.segment(...)
fwiw.
src/platform/web/ui/css/layout.css
Outdated
@@ -72,7 +72,7 @@ the layout viewport up without resizing it when the keyboard shows */ | |||
.middle .close-middle { display: none; } | |||
/* mobile layout */ | |||
@media screen and (max-width: 800px) { | |||
.SessionView:not(.middle-shown, .right-shown) { | |||
.SessionView:not(.middle-shown) { |
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.
is the .right-shown
not needed then in here?
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
- This will stop the code from throwing when opening /details on UnknownRoomView. Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
No description provided.