-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Update single class topbar design #7572
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
Conversation
WalkthroughThe Changes
Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- ozaria/site/components/teacher-dashboard/common/TitleBar.vue (3 hunks)
Additional comments not posted (2)
ozaria/site/components/teacher-dashboard/common/TitleBar.vue (2)
199-202
: Conditional Rendering oflicenses-component
ApprovedThe
licenses-component
is now conditionally rendered based on bothshowLicenses
andshowClassInfo
. This change appears to be correctly implemented and aligns with the new design requirements.
239-248
: Conditional Rendering of "Add Students" Button ApprovedThe "Add Students" button is now conditionally rendered based on the value of
showClassInfo
. The inclusion of the<span>
tag for displaying the text "Add Students" is correctly implemented and aligns with the new design requirements.
@@ -211,7 +196,7 @@ export default { | |||
</div> | |||
<!-- we want to use classroom ownerID always even when class is not owned by teacher in case of shared classes since license is cut from owner --> | |||
<licenses-component | |||
v-if="showLicenses" | |||
v-if="showLicenses && !showClassInfo" |
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.
We actually need this still. I mentioned only change Add Students 😅
@@ -246,10 +231,22 @@ export default { | |||
</primary-button> | |||
|
|||
<button-curriculum-guide | |||
v-if="!showClassInfo" |
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.
let's not do it till we get this done: https://linear.app/codecombat/issue/ENG-781/curriculum-tab
Also, we would want it to be removed from all pages when do the movement to sidebar
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- ozaria/site/components/teacher-dashboard/common/TitleBar.vue (2 hunks)
Files skipped from review as they are similar to previous changes (1)
- ozaria/site/components/teacher-dashboard/common/TitleBar.vue
fixes ENG-902

Summary by CodeRabbit
New Features
showClassInfo
value.showLicenses
andshowClassInfo
.Bug Fixes
<img>
tag for a cleaner UI appearance.