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

Create the class structure used for reporter handlers and output handlers #13814

Open
2 tasks done
Tracked by #13707
travishathaway opened this issue Apr 18, 2024 · 0 comments · May be fixed by #13818
Open
2 tasks done
Tracked by #13707

Create the class structure used for reporter handlers and output handlers #13814

travishathaway opened this issue Apr 18, 2024 · 0 comments · May be fixed by #13818
Assignees
Labels
in-progress issue is actively being worked on source::anaconda created by members of Anaconda, Inc. type::feature request for a new feature or capability
Milestone

Comments

@travishathaway
Copy link
Contributor

travishathaway commented Apr 18, 2024

What's the idea?

In order to support a way for us to grow and customize the way output is rendered via the the reporters setting, we will need to create a class structure that can subsequently be turned into plugin hooks.

We have decided to create to different types of classes for this:

  • ReporterHandler - this will hold many methods that correspond to widgets of output (e.g. detail_view, table_view). These classes define how it will look.
  • OutputHandler - this will hold a single render method and will determine how the output is rendered. For example, this could be to stdout out but also to a file or even a network stream.

What should be done?

  • Figure out which module to place this code in
  • Write tests for the code and ensure it has 100% coverage

Additional context

More information about this class design can be found in the following document:

@travishathaway travishathaway added type::feature request for a new feature or capability source::anaconda created by members of Anaconda, Inc. in-progress issue is actively being worked on labels Apr 18, 2024
@travishathaway travishathaway added this to the 24.7.x milestone Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress issue is actively being worked on source::anaconda created by members of Anaconda, Inc. type::feature request for a new feature or capability
Projects
Status: 🏗️ In Progress
2 participants