Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DearingDev/ModuleExplorer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: DearingDev/ModuleExplorer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: refactor
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 28 files changed
  • 1 contributor

Commits on Apr 17, 2026

  1. Configuration menu
    Copy the full SHA
    ffff884 View commit details
    Browse the repository at this point in the history
  2. Phase 1: Extract UI constants and internal helpers

    - Add internal/scripts/UIConfig.ps1: module-scoped $script:UIConfig hashtable
      centralizing all colors, layout constants, display strings, HelpOptions list,
      and CommonParameters list that were previously hardcoded across both public
      functions.
    
    - Add internal/functions/Get-ScrollableListView.ps1: single reusable function
      replacing three near-identical slice+indicator rendering blocks (command list,
      parameter list, help content) in Show-ModuleCommandViewer.
    
    - Add internal/functions/Get-CommandHelpContent.ps1: extracts the help-fetching
      logic (Examples/Detailed/Full/Online) that was copy-pasted into both the
      RightArrow and Enter handlers of the HelpOptions view (~50 lines x2).
    
    - Add internal/functions/Get-SortedParameterList.ps1: extracts the
      non-common-first parameter sort that was duplicated 3 times in the handler
      blocks and dead scriptblocks.
    
    - Add internal/functions/Get-ParameterHelpContent.ps1: extracts the
      Get-Help -Parameter fetch+escape block duplicated in both RightArrow and
      Enter handlers of the ParameterList view.
    
    No public function behavior is changed in this phase. The public functions
    continue to work identically; the helpers are wired in during Phase 2.
    DearingDev committed Apr 17, 2026
    Configuration menu
    Copy the full SHA
    80a94fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e54e6ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f9f1e30 View commit details
    Browse the repository at this point in the history
  5. Added pester tests

    DearingDev committed Apr 17, 2026
    Configuration menu
    Copy the full SHA
    9fd02df View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2026

  1. Configuration menu
    Copy the full SHA
    67c2af1 View commit details
    Browse the repository at this point in the history
Loading