Skip to content

Cleanup backendMapping in history.tsx #711

@raj-manvar

Description

@raj-manvar

Currently the history.tsx which is for rendering the Query history page has backendMapping defined at https://github.com/trinodb/trino-gateway/blob/main/webapp/src/components/history.tsx#L18

It stores mapping between:
backend name -> backend proxy URL
backend proxy URL -> backend name
backend external Url -> backend name.

From usage, only the ProxyUrl -> backend Name mapping is used while displaying the backend name in the list of query history, rest mapping can be cleaned up.

Originally discussed at #693 (comment)

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