Coder Social home page Coder Social logo

monitorfactory's Introduction

monitorfactory's People

Contributors

msorens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monitorfactory's Issues

Prior data color indicator not resetting on data refresh

Start-Monitor lets you flip between the current data set and the penultimate data set for simple comparison purposes. When you switch to the prior data set (Ctrl+D), the row count indicator box changes color to give a visual indicator. However, when the data refreshes (either automatically or manually) the displayed data set is now current but the row count indicator erroneously remains highlighted.

When running -AsJob, imports are only recognized if terminated with a semicolon

When generating a monitor as a background job (via -AsJob), the system has to understand your imports defined by Add-PSSnapin and Import-Module. These must precede any other code and should be recognizable when terminated either by a line break or a semicolon. V1.0.0. is only accepting the semicolon, though.

Example:
This fails because two of the three imports are using line breaks:

Start-Monitor -AsJob { 
    Add-PSSnapin Microsoft.TeamFoundation.PowerShell
    import-module foo.bar; 
    import-module xyz
    Get-StaleTfsFiles C:\MyTfsRoot\Trunk 
}

DataGridViewAutoSizeColumnMode type not found

After removing AsJob = $true in sqlmonitor.ps1, received an unknown type error.

Unable to find type [DataGridViewAutoSizeColumnMode].
At ...\PowerShell\Modules\MonitorFactory\Components\Start-Monitor.ps1:506 char:22

  •         $_.AutoSizeMode = [DataGridViewAutoSizeColumnMode]::None
    
  •                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (DataGridViewAutoSizeColumnMode:TypeName) [], RuntimeException
    • FullyQualifiedErrorId : TypeNotFound

I had to fully qualify DataGridViewAutoSizeColumnMode at line 506 in start-monitor.ps1

$_.AutoSizeMode = [System.Windows.Forms.DataGridViewAutoSizeColumnMode]::None

Was I doing something wrong and did my "fix" actually fix something, or did some other cosmic event take place that made it run without throwing an error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.