Skip to content

Improve generation of radio-group id #106

Description

@acjh

There's a huge diff just from the radio-group id, which is also used for radio-list-item names.
This makes the diff difficult to compare and practically useless, e.g. nus-cs2103/website@2a264dd

Currently, it's randomly generated:

group = Math.random().toString(36).substr(2, 5); // generate a new group id

Suggestion: Explore smart deterministic generation based on a parameter.

smart → counting is deterministic generation, but isn't smart because removing a single file may affect the id of all other radio groups down the line. A possible example is relative file path — to be explored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions