Skip to content
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

#5497 – Refactor: Specify the types of classes for SnakeModePolymerBondRenderer #5498

Conversation

DmitriiP-EPAM
Copy link
Collaborator

@DmitriiP-EPAM DmitriiP-EPAM commented Sep 11, 2024

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

  • Specify the type of Connection.direction.
  • Rename Connection.xOffset.
  • Mark a part of the Connection's as readonly.
  • Create Connection objects via new.

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

@DmitriiP-EPAM DmitriiP-EPAM added technical debt refactor Code refactoring, without changing the functionality labels Sep 13, 2024
@rrodionov91 rrodionov91 merged commit 94e546c into master Oct 10, 2024
5 checks passed
@rrodionov91 rrodionov91 deleted the 5497-refactor-split-logic-of-snakemodepolymerbondrenderer-by-several-classes--specify-the-types branch October 10, 2024 15:29
rrodionov91 pushed a commit that referenced this pull request Oct 13, 2024
…ondRenderer` (#5498)

* #5497 – Refactor (Connection.ts): Specify the types

* #5497 – Refactor (Connection.ts): Rename `xOffset`

* #5497 – Refactor (SnakeModePolymerBondRenderer.ts): Specify the types

* #5497 – Refactor (Connection.ts): Specify the types (amend)

* Revert "#5497 – Refactor (Connection.ts): Rename `xOffset`"

This reverts commit 33540e3.

* #5497 – Refactor (SnakeModePolymerBondRenderer.ts): Specify the types, refactor the calculation of `endOfPathPart`

* #5497 – Refactor (CanvasMatrix.ts): Specify the types

* #5497 – Refactor (CanvasMatrix.ts): Use `new Connection(6)`

* #5497 – Refactor (Connection.ts): Rename `xOffset`

* #5497 – Refactor (SnakeModePolymerBondRenderer.ts): Change `FIXME` text

* #5497 – Refactor (Connection.ts): Rename `ConnectionDirectionInDegrees`, `ConnectionDirectionOfLastCell`
Guch1g0v pushed a commit that referenced this pull request Oct 17, 2024
…ondRenderer` (#5498)

* #5497 – Refactor (Connection.ts): Specify the types

* #5497 – Refactor (Connection.ts): Rename `xOffset`

* #5497 – Refactor (SnakeModePolymerBondRenderer.ts): Specify the types

* #5497 – Refactor (Connection.ts): Specify the types (amend)

* Revert "#5497 – Refactor (Connection.ts): Rename `xOffset`"

This reverts commit 33540e3.

* #5497 – Refactor (SnakeModePolymerBondRenderer.ts): Specify the types, refactor the calculation of `endOfPathPart`

* #5497 – Refactor (CanvasMatrix.ts): Specify the types

* #5497 – Refactor (CanvasMatrix.ts): Use `new Connection(6)`

* #5497 – Refactor (Connection.ts): Rename `xOffset`

* #5497 – Refactor (SnakeModePolymerBondRenderer.ts): Change `FIXME` text

* #5497 – Refactor (Connection.ts): Rename `ConnectionDirectionInDegrees`, `ConnectionDirectionOfLastCell`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Code refactoring, without changing the functionality technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor: Split logic of SnakeModePolymerBondRenderer by several classes
4 participants