Skip to content

[UI] Open Kanvas Designer and Operator preview images in a lightbox on click #8647

Backlog

Description

@tejaswiverma121-byte

Description

On the Kanvas page (https://layer5.io/cloud-native-management/kanvas), in the Designer / Operator split section (src/sections/Kanvas/kanvas-modes.js), both preview images display cursor: pointer on hover, but clicking either image does nothing.

Root Cause:

onClick handlers (setDesignerEnlarged / setVizEnlarged) are passed directly to Gatsby's , which does not forward onClick props to the rendered DOM element.
Additionally, .mode uses overflow: hidden, so inline transform: scale(1.9) scaling would clip against the panel edges and fight the hover-expand state.

Expected Behavior

Wrap the Designer and Operator preview images in / so clicking either image opens a clean full-screen lightbox preview (and allows navigating between both modes).
Remove the broken inline designerEnlarged / vizEnlarged scale state and unused .big / .small CSS rules.
Ensure keyboard accessibility and proper alt text are preserved.

Screenshots

Screenshot 2026-12-04 at 9 52 38 PM Screenshot 2026-12-04 at 9 52 50 PM

Environment:

  • Host OS:macOS
  • Browser:Chrome

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

Activity

  1. added
    kind/bug
    help wanted
    framework/gatsby
    on Dec 4, 2026
  2. AyushKumarMishra123 commented on Dec 4, 2026

    @AyushKumarMishra123
    Contributor

    I would like to work on this issue @tejaswiverma121-byte

  3. TahminaKhanNipa10-Codes commented on Dec 4, 2026

    @TahminaKhanNipa10-Codes
    Contributor

    Hi @PARTH-TUSSLE, I'd like to work on this issue. Could you please assign it to me?

  4. Rabia-Ghafoor commented on Dec 5, 2026

    @Rabia-Ghafoor
    Contributor

    interested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    framework/gatsbygood first issuehelp wantedkind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions