Skip to content

SequenceComposer reuses the same ID across the Hopscotch web UI #143

@zardoz03

Description

@zardoz03

Hello,

I was looking into how the Workspace UI gets created and noticed that IDs for the UI elements aren't unique across the webpage.
A query on the Workspace UI reveals 21 elements with the same ID.

newspeak/HopscotchForHTML5.ns

Lines 3346 to 3348 in 296ff25

container
at: 'id' put: 'SequenceComposer';
at: 'contentEditable' put: 'false'.

I found the offending code above. Ideally this would be a class instead of an ID, but I do not know how SequenceComposers get used by the rest of the IDE, so I am hesitant to send a PR/patch since I don't know the codebase.
Also something else I noticed is that subclasses of SequenceComposer don't alter their HTML elements to stamp their own identity on it, and often lack createVisual.

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