Skip to content

Refactor / reorganization of molecule display functions #27

@janash

Description

@janash

The functions used for displaying molecule images using CDK are currently defined in two places. These should be defined in a module, and imported to the components where they are used rather than being defined twice (showSVG, hideSVG, etc). newSearch, loadMore, etc also seem to fit this.

dynamicGrid is also an example of a component that could be reused. It seems to be very similar between the two pages it is used, with perhaps the only difference being the display of the distance (this could be controlled with a conditional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions