-
Notifications
You must be signed in to change notification settings - Fork 297
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
Plagiarism checks
: Fix scrolling issue on side-by-side viewer for modeling
#9748
Plagiarism checks
: Fix scrolling issue on side-by-side viewer for modeling
#9748
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.
Tested on TS3. Works as described!
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.
Works as expected. Tested on TS5
WalkthroughThe pull request introduces modifications to the Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
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 using PR comments)
Other keywords and placeholders
Documentation and Community
|
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: 2
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (2)
src/main/webapp/app/exercises/modeling/shared/modeling-editor.component.html
(1 hunks)src/main/webapp/app/exercises/modeling/shared/modeling-editor.component.scss
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- src/main/webapp/app/exercises/modeling/shared/modeling-editor.component.html
src/main/webapp/app/exercises/modeling/shared/modeling-editor.component.scss
Show resolved
Hide resolved
src/main/webapp/app/exercises/modeling/shared/modeling-editor.component.scss
Outdated
Show resolved
Hide resolved
…component.scss Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
6590f0a
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.
Code LGTM 👍
…ailing client test)
52f3bc4
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
🧹 Outside diff range and nitpick comments (1)
src/test/playwright/support/pageobjects/exam/ExamExerciseGroupsPage.ts (1)
25-28
: Great improvement in selector robustness!The change from text-based to role-based selector (
getByRole('link', { name: 'Edit' })
) is a significant improvement because:
- It's more resilient to UI changes
- It follows accessibility best practices
- It handles internationalization better than direct text matching
Consider adding a constant for the selector name to improve maintainability:
+ private readonly EDIT_LINK_NAME = 'Edit'; async clickEditGroupForTestExam() { - await this.page.getByRole('link', { name: 'Edit' }).click(); + await this.page.getByRole('link', { name: this.EDIT_LINK_NAME }).click(); }
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.
Tested on TS1, everything worked as described.
Usability
: Fix scrolling issue on side-by-side viewer Plagiarism checks
: Fix scrolling issue on side-by-side viewer
Plagiarism checks
: Fix scrolling issue on side-by-side viewer Plagiarism checks
: Fix scrolling issue on side-by-side viewer for modeling
Checklist
General
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Motivation and Context
Scroll-down action the modelling exercises in the comparison of plagiarism checks does not seem to be working properly
(Fixes #5402 )
(Note: Bigger generated SVG seem to be cut even with the scrolling enabled and should be looked at in a future issue.)
Description
By allowing y overflow through styling, scrolling is enabled.
Steps for Testing
Prerequisites:
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Performance Review
Code Review
Manual Tests
Exam Mode Test
Performance Tests
Test Coverage
Screenshots
Summary by CodeRabbit
New Features
Bug Fixes