Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Node view #21

Merged
merged 4 commits into from
Sep 13, 2020
Merged

Node view #21

merged 4 commits into from
Sep 13, 2020

Conversation

nityanandagohain
Copy link
Collaborator

image

@@ -42,7 +42,7 @@ func (gui *Gui) layout(g *gocui.Gui) error {
clusterInfoView.Highlight = true
}

namespaceViewHeight := termHeight - unitHeight - 1
namespaceViewHeight := termHeight - unitHeight - 7
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The height of namespaceView can be reduced and nodeView can be increased by 1 unitHeight

pkg/gui/node.go Outdated
return nil
}

if gui.getNSCount() == 0 {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must be changed to NodeCount here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why check Namespace count when rendering node ?

@yolossn
Copy link
Owner

yolossn commented Sep 13, 2020

LGTM. Later we have to add handler functions for click on node.

@nityanandagohain nityanandagohain merged commit 992ee09 into master Sep 13, 2020
@nityanandagohain nityanandagohain deleted the node-view branch September 13, 2020 13:07
@yolossn yolossn linked an issue Sep 13, 2020 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create nodes panel
3 participants