Skip to content

#9493 Refactor: ternary operators should not be nested#9528

Open
Nizomkhujaev wants to merge 1 commit intomasterfrom
9493-refactor-ternary-operators-should-not-be-nested
Open

#9493 Refactor: ternary operators should not be nested#9528
Nizomkhujaev wants to merge 1 commit intomasterfrom
9493-refactor-ternary-operators-should-not-be-nested

Conversation

@Nizomkhujaev
Copy link
Collaborator

@Nizomkhujaev Nizomkhujaev commented Mar 24, 2026

How the feature works? / How did you fix the issue?

(Screenshots, videos, or GIFs, if applicable)

Refactor: Replace nested ternary operators with if/else statements

Refactored nested ternary expressions in RotationView.ts, DrawingEntitiesManager.ts, and ketSerializer.ts to use if/else blocks for improved readability. No logic was changed.

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request

@Nizomkhujaev Nizomkhujaev self-assigned this Mar 24, 2026
@auto-assign auto-assign bot requested a review from rrodionov91 March 24, 2026 07:36
@AlexeyGirin AlexeyGirin linked an issue Mar 24, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: Ternary operators should not be nested

1 participant