Skip to content

Align "Add note" and "Query features" context menu icons with sidebar #6681

@aNsHuL5217

Description

@aNsHuL5217

Problem

Following up on the discussion in #6485 and PR #6571.

There is currently a visual mismatch between the context menu and the sidebar for the map tool icons:

  • Add a note: The context menu uses bi-chat-text (a standard speech bubble), while the sidebar uses a custom SVG (a speech bubble with a plus sign).
  • Query features: The context menu uses bi-question (a plain question mark), while the sidebar uses a custom SVG (a cursor arrow with a small question mark).

Description

Since the context menu currently relies on Bootstrap CSS classes (bi-*), we cannot easily use the exact files used in the sidebar without refactoring the createMenuItem function to support inline SVGs or image tags.

We need to decide on the best path forward:

  1. Is there a closer Bootstrap icon match that we missed?
  2. Or should we refactor the context menu code to support inline SVGs/Images so we can use the exact same assets as the sidebar?

Screenshots

Image

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