-
Notifications
You must be signed in to change notification settings - Fork 14
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
BC-7985 - Adapt sidebar active selection to rooms changes #3390
Conversation
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.
als some tests seem to be failing in the CI
Quality Gate failedFailed conditions |
} | ||
}, | ||
{ immediate: true } | ||
); | ||
|
||
const isRoom = computed(() => roomVariant.value === RoomVariant.ROOM); |
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.
not sure how I feel about roomVariant and RoomVariant working together here. Can we find a more distinctive naming?
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.
Sure, we can talk about that. I just wanted to avoid having two boolean flags.
@@ -0,0 +1 @@ | |||
<template> </template> |
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.
What's this about? Can this be removed again?
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.
I added the root route to prevent Vue warnings about missing route for path ""
. This page is actually never rendered. The
is there because we cannot have empty <template>
tags.
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.
lets talk tomorrow about the whole idea for the routing so we can all have a similar understanding with the new approach :)
* implement selective sidebar selection for /rooms/:id * fix sidebar selection for board * move sidebar selection to composable * add/fix tests
Short Description
In order to distinguish between the room details and course room details in the sidebar selection we have to add some specific logic.
Links to Ticket and related Pull-Requests
BC-7985
Changes
Data-security
Deployment
New Repos, NPM packages or vendor scripts
Screenshots of UI changes
Checklist before merging