question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refactor Gui project to be general purpose

See original GitHub issue

Right now, we have OutGridView.Gui which obviously only supplies the GUI side of Out-GridView.

When we want to add other GUI tools like Show-Command and the likes we should refactor & rename OutGridView.Gui to GraphicalTools.Gui and figure out a way to signal GraphicalTools.Gui to show the Show-Command GUI instead of the Out-GridView GUI. This would allow us to reuse the Avalonia dlls that take up a lot of space.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
SteveL-MSFTcommented, Jul 26, 2023

As this is for Avalonia and we’re no longer investing in that, closing this issue.

1reaction
corbobcommented, Oct 1, 2019

I’ve started on this to help me wrap my head around how the function works.

I’ve broken it into a few steps of which I’m only on step 1:

  1. Rename the OutGridView directories/files and references to the files themselves
  2. Rename code references to OutGridView that are in the GraphicalTools.Gui and GraphicalTools.Model
  3. Add a GuiComponent to ApplicationData that can be used to tell GraphicalTools what component has been called.

Once I’m done step 2 I’ll open a Pull Request while debating step 3.

The WIP branch can be seen here: https://github.com/corbob/GraphicalTools/tree/issue-8

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can one best avoid writing bloated GUI code?
The three refactoring techniques that I find I use most commonly are Rename, Extract Method, and Extract Class. If I never learned a...
Read more >
Refactoring a Complex GUI Application:
Refactoring is a collection of actions that aims to improve software quality without breaking or changing existing functionality. It is generally considered ...
Read more >
Project Refactoring - General Discussion
I hope this is the right place to discuss about Designer's improvements. At the moment it is pretty much impossible to easily refactor...
Read more >
Code Refactoring Best Practices: When (and When Not) to ...
The basic purpose of code refactoring is to make the code more efficient and maintainable.
Read more >
Refactoring JavaFX GUI Code, Part 1: Functional Decomposition
This is the first in a three-part series that walks through the refactoring a JavaFX Application. The application starts with all the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found