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

Refactor: Split logic of SnakeModePolymerBondRenderer by several classes #5497

Open
DmitriiP-EPAM opened this issue Sep 11, 2024 · 1 comment · Fixed by #5498 · May be fixed by #6033
Open

Refactor: Split logic of SnakeModePolymerBondRenderer by several classes #5497

DmitriiP-EPAM opened this issue Sep 11, 2024 · 1 comment · Fixed by #5498 · May be fixed by #6033
Assignees
Labels
refactor Code refactoring, without changing the functionality technical debt

Comments

@DmitriiP-EPAM
Copy link
Collaborator

DmitriiP-EPAM commented Sep 11, 2024

Create:

  • SnakeModeBackboneBondRenderer (black “snake” line)
  • SnakeModeSideChainBondRenderer (blue “snake” line)
  • SnakeModeRNABaseAndSugarBondRenderer (black straight line)

Next step after #5128

@DmitriiP-EPAM DmitriiP-EPAM self-assigned this Sep 11, 2024
@DmitriiP-EPAM DmitriiP-EPAM moved this from To do to In progress in Technical Debt Sep 11, 2024
DmitriiP-EPAM added a commit that referenced this issue Sep 12, 2024
DmitriiP-EPAM added a commit that referenced this issue Sep 12, 2024
…, refactor the calculation of `endOfPathPart`
DmitriiP-EPAM added a commit that referenced this issue Sep 13, 2024
@DmitriiP-EPAM DmitriiP-EPAM moved this from In progress to In review in Technical Debt Sep 19, 2024
rrodionov91 pushed a commit that referenced this issue Oct 10, 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`
@github-project-automation github-project-automation bot moved this from In review to Done in Technical Debt Oct 10, 2024
rrodionov91 pushed a commit that referenced this issue 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 issue 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`
@AlexeyGirin
Copy link
Collaborator

No testing required

DmitriiP-EPAM added a commit that referenced this issue Dec 3, 2024
DmitriiP-EPAM added a commit that referenced this issue Dec 5, 2024
DmitriiP-EPAM added a commit that referenced this issue Dec 6, 2024
DmitriiP-EPAM added a commit that referenced this issue Dec 6, 2024
DmitriiP-EPAM added a commit that referenced this issue Dec 6, 2024
@DmitriiP-EPAM DmitriiP-EPAM added technical debt refactor Code refactoring, without changing the functionality labels Dec 9, 2024
@DmitriiP-EPAM DmitriiP-EPAM reopened this Dec 9, 2024
@github-project-automation github-project-automation bot moved this from Done to In progress in Technical Debt Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment