Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added map view tab and coming soon message for the map detail view #6404

Open
wants to merge 1 commit into
base: host-lists
Choose a base branch
from

Conversation

rahulkeswani101
Copy link
Contributor

@rahulkeswani101 rahulkeswani101 commented Nov 8, 2024

Summary

Related Issues / PR's

Screenshots

image

Affected Areas and Manually Tested Areas

Copy link

github-actions bot commented Nov 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions bot added the enhancement New feature or request label Nov 8, 2024
Copy link

github-actions bot commented Nov 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

1 similar comment
Copy link

github-actions bot commented Nov 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to b19164b in 56 seconds

More details
  • Looked at 290 lines of code in 4 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. frontend/src/pages/InfraMonitoringHosts/utils.tsx:37
  • Draft comment:
    Consider using a more descriptive key for the 'Map View' tab instead of PANEL_TYPES.TIME_SERIES.
  • Reason this comment was not posted:
    Decided after close inspection that this draft comment was likely wrong and/or not actionable:
    The comment suggests a code quality improvement by recommending a more descriptive key. However, without knowing the context of PANEL_TYPES.TIME_SERIES, it's hard to judge if this is necessary. The key might be part of a larger system where TIME_SERIES is appropriate. The comment is speculative without strong evidence that a change is required.
    The comment might be valid if PANEL_TYPES.TIME_SERIES is indeed misleading or incorrect for a 'Map View'. However, without additional context, it's speculative.
    Given the lack of context, it's safer to assume the current key is appropriate unless there's clear evidence otherwise.
    Delete the comment as it is speculative and lacks strong evidence that a change is required.
2. frontend/src/pages/InfraMonitoringHosts/index.tsx:2
  • Draft comment:
    Avoid using the component/index.tsx file structure approach, as it makes it difficult to debug and find components using global search tools like VS Code.
  • Reason this comment was not posted:
    Comment was on unchanged code.

Workflow ID: wflow_IvZeHlwxRhUQlRKQ


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

items={getTabsItems()}
className="infra-monitoring-tabs"
type="card"
defaultActiveKey={activeTab}
Copy link
Contributor

Choose a reason for hiding this comment

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

defaultActiveKey is redundant when activeKey is controlled by state. Consider removing it.

Suggested change
defaultActiveKey={activeTab}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant