-
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
Integrated code lifecycle
: Fix flickers in build queue
#8847
Integrated code lifecycle
: Fix flickers in build queue
#8847
Conversation
WalkthroughThe recent changes to the Changes
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: 3
src/main/webapp/app/localci/build-queue/build-queue.component.ts
Outdated
Show resolved
Hide resolved
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: 1
Outside diff range comments (4)
src/main/webapp/app/localci/build-queue/build-queue.component.ts (4)
Line range hint
423-423
: Specify a more appropriate type instead ofany
.The
open
method usesany
for thecontent
parameter. Usingany
disables many type checking rules and should be avoided. Please specify a more appropriate type.
Line range hint
31-32
: Remove unnecessary type annotations for clarity and conciseness.The type annotations on
status
andbuildAgentAddress
are inferred from their initial values and can be omitted.- status?: string = undefined; - buildAgentAddress?: string = undefined; + status = undefined; + buildAgentAddress = undefined;
Line range hint
163-163
: Avoid assignments within expressions to enhance code clarity.Using assignments within expressions can be confusing and should be avoided. Consider refactoring these to separate statements.
Also applies to: 298-298
Line range hint
313-324
: Remove unnecessary else clause for cleaner code.The
else
clause infilterDateChanged
is unnecessary because the previous branches break early. Removing it can simplify the code structure.
Integrated code lifecycle
: Fix flickers in build queue
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 during testing session on TS3. Works as described. Code LGTM 👍
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 in testing session on ts3. LGTM
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 in testing session. lgtm
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.
Worked fine during testing session 👍
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 in testing sessions, LGTM
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 also have a pipe specifically for this purpose, called artemisTimeAgo
. You might think about using this instead of your custom solution
…kers-in-build-queue
Checklist
General
Client
Motivation and Context
There is a small issue when build jobs are added/removed from the queue that caused it to flicker which made it hard to keep track of the table.
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
Summary by CodeRabbit
New Features
Bug Fixes
Tests