Skip to content

Ensure Full Command Visibility in Installation Terminal #6488

@Jeffrin2005

Description

@Jeffrin2005
Contributor

Description

The command box was long for the box, users needs to scroll horizontally to see the entire command. This is inconvenient because users couldn't see the full command at once.

https://layer5.io/cloud-native-management/meshery/getting-started

issue-1.2.mp4

Expected Behavior

Making the box wider so the entire command fits without scrolling

16-fix.mp4

Screenshots

Environment:

  • Host OS:
  • Browser:

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

Jeffrin2005

Jeffrin2005 commented on May 24, 2025

@Jeffrin2005
ContributorAuthor

Good First issue.

divyansh-prks

divyansh-prks commented on May 24, 2025

@divyansh-prks

can i take this issue ?

huzfm

huzfm commented on May 25, 2025

@huzfm
Contributor

Can this be assigned to me

vr-varad

vr-varad commented on May 26, 2025

@vr-varad
Contributor

@ashok-2003 You could work on this

ashok-2003

ashok-2003 commented on May 26, 2025

@ashok-2003
Contributor

I think this might break on smaller screens. Should we consider allowing the code to wrap into multiple lines to accommodate the full command? @vr-varad

vr-varad

vr-varad commented on May 26, 2025

@vr-varad
Contributor

ur call make a pr with this and lets see what can be done next

ashok-2003

ashok-2003 commented on May 26, 2025

@ashok-2003
Contributor

sure :)

ashok-2003

ashok-2003 commented on May 27, 2025

@ashok-2003
Contributor

how this looks to you ? @vr-varad ,

Screen.Recording.2025-05-27.014112.mp4
vr-varad

vr-varad commented on May 27, 2025

@vr-varad
Contributor

it would be good if u open the pr to review what changes u made @ashok-2003

leecalcote

leecalcote commented on May 27, 2025

@leecalcote
Member

@LibenHailu, we don't need this line-wrapped. Sticking with one line is ideal. It's ok if the overflow isn't visible. The scrollbar height can be cut in half and/or removed instead.

LibenHailu

LibenHailu commented on May 27, 2025

@LibenHailu
Contributor

Hi @leecalcote, I am having an issue with my laptop It is crashing when I try to run the project, I think the behavior is on chrome, It looks good on firefox, I think the behavior emerges from Highlight component, maybe @ashok-2003 have you tried it with the default props if it looks good we can stick to that, it should look something like this
import Highlight, { defaultProps } from "prism-react-renderer"; <Highlight {...defaultProps} theme={theme} code={code} language="jsx">

ashok-2003

ashok-2003 commented on May 29, 2025

@ashok-2003
Contributor

Hey @LibenHailu, for the issue you're facing, you might want to check the Slack conversation — it could be helpful. Also, thanks for your suggestion! I'll try implementing it and let you know how it goes.

LibenHailu

LibenHailu commented on May 29, 2025

@LibenHailu
Contributor

Thank you @ashok-2003!

stale

stale commented on Jun 27, 2025

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

added
issue/staleIssue has not had any activity for an extended period of time
on Jun 27, 2025
removed
issue/staleIssue has not had any activity for an extended period of time
on Jun 28, 2025
vishalvivekm

vishalvivekm commented on Jun 28, 2025

@vishalvivekm
Contributor

Closed in support of: #6494 (comment)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @leecalcote@LibenHailu@vishalvivekm@vr-varad@ashok-2003

      Issue actions

        Ensure Full Command Visibility in Installation Terminal · Issue #6488 · layer5io/layer5