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

[WIP] De explorization of infra networking pages #8579

Closed

Conversation

akhilkr128
Copy link
Member

@akhilkr128 akhilkr128 commented Dec 19, 2022

Part of #6819

Before

Screenshot 2022-12-19 at 5 44 46 PM

After

Screenshot 2022-12-19 at 5 44 24 PM

@akhilkr128 akhilkr128 requested a review from a team as a code owner December 19, 2022 12:29
@akhilkr128
Copy link
Member Author

akhilkr128 commented Dec 19, 2022

@miq-bot add_label enhancement

@miq-bot miq-bot added the wip label Dec 19, 2022
@miq-bot
Copy link
Member

miq-bot commented Dec 19, 2022

@akhilkr128 unrecognized command 'add', ignoring...

Accepted commands are: add_label, add_reviewer, request_review, assign, close_issue, cross_repo_test, move_issue, remove_label, rm_label, remove_reviewer, set_milestone, unassign

@akhilkr128
Copy link
Member Author

@miq-bot add_label enhancement

@miq-bot
Copy link
Member

miq-bot commented Apr 10, 2023

This pull request has been automatically marked as stale because it has not been updated for at least 3 months.

If these changes are still valid, please remove the stale label, make any changes requested by reviewers (if any), and ensure that this issue is being looked at by the assigned/reviewer(s)

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

1 similar comment
@miq-bot
Copy link
Member

miq-bot commented Apr 10, 2023

This pull request has been automatically marked as stale because it has not been updated for at least 3 months.

If these changes are still valid, please remove the stale label, make any changes requested by reviewers (if any), and ensure that this issue is being looked at by the assigned/reviewer(s)

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

@akhilkr128 akhilkr128 force-pushed the network_switches_conversion branch from e5a4827 to 64ef55f Compare May 23, 2023 08:50
@akhilkr128 akhilkr128 force-pushed the network_switches_conversion branch from 64ef55f to 352fb92 Compare June 2, 2023 11:05
@@ -30,6 +36,14 @@ def tagging_explorer_controller?
@explorer
end

def show_searchbar?
@record.nil? ? true : false
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@record.nil? ? true : false
@record.nil?

def index
@lastaction = "index"

build_accordions_and_trees
Copy link
Member

Choose a reason for hiding this comment

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

I realize this PR is still WIP, but deploraization should effectively remove accordions and trees entirely. Accordions would instead become separate menu items and each menu item would require separate controllers/views. Trees have to be discussed...in many places tree structures are really needed and can just be normal list-view tables, however in some places we still may need trees (as in the case of infra-networking), so we need to figure out how to present that.

cc @jeffibm

@akhilkr128 akhilkr128 force-pushed the network_switches_conversion branch from 352fb92 to 46d361d Compare June 14, 2023 05:30
@miq-bot
Copy link
Member

miq-bot commented Jun 14, 2023

Some comments on commits akhilkr128/manageiq-ui-classic@304711b~...46d361d

app/controllers/infra_networking_controller.rb

  • 💣 💥 🔥 🚒 - 181 - Detected binding.pry. Remove all debugging statements.
  • 💣 💥 🔥 🚒 - 187 - Detected binding.pry. Remove all debugging statements.
  • 💣 💥 🔥 🚒 - 193 - Detected binding.pry. Remove all debugging statements.
  • 💣 💥 🔥 🚒 - 503 - Detected binding.pry. Remove all debugging statements.

@miq-bot
Copy link
Member

miq-bot commented Jun 14, 2023

Checked commits akhilkr128/manageiq-ui-classic@304711b~...46d361d with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
9 files checked, 9 offenses detected

app/controllers/infra_networking_controller.rb

app/helpers/infra_networking_helper/textual_summary.rb

app/views/infra_networking/hosts.html.haml

  • ⚠️ - Line 10 - Layout/TrailingEmptyLines: Final newline missing.
  • ⚠️ - Line 6 - id attribute must be in lisp-case

app/views/infra_networking/show.html.haml

  • ⚠️ - Line 1 - Layout/TrailingEmptyLines: Final newline missing.
  • ⚠️ - Line 1 - id attribute must be in lisp-case
  • ⚠️ - Line 2 - File does not use 2-space indentation

app/views/infra_networking/show_list.html.haml

  • ⚠️ - Line 10 - Layout/TrailingEmptyLines: Final newline missing.
  • ⚠️ - Line 6 - id attribute must be in lisp-case

@akhilkr128 akhilkr128 closed this Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants