Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
285 lines (182 sloc) 9.78 KB

Change Log

All notable changes to the code will be documented in this file.

2.3.0

Features

  • Added Go Cyan #5dc9e2 to favorites for Go
  • Changed to v 2.3.0 as a minor or major will add new favorites

Bug fixes

  • fixes the issue when after canceling the ">Peacock: Change to a Favorite Color" command, the color of the workspace is set to black and adds the appropriate test.

2.2.2

Features

  • Added Live Share integration.
  • Updated README for Live Share and Remote Development integrations

2.1.2

Features

  • Added Java Blue-Gray #557c9b to favorites for Java
  • Added "extensionKind": "ui"` to support remote development features in VS Code (see #141)

2.1.1

Features

  • Added C# Purple #68217A to favorites for .NET Core

2.1.0

Enhancements

  • Extension as API: Added color parameter to enterColor handler which allow the developer to call the extension programmatically without prompting user input

2.0.1

Maintenance

  • Refactored to remove a dependency on a testing file
  • Removed helpers file, since I don't feel that was descriptive or helpful (pun intended)
    • Moved functions in that file to better existing modules

2.0.0

Features and Breaking Changes

  • Added settings which allow the user to override the dark and light foreground colors
    • darkForegroundColor setting (defaults to 15202b) which can override the dark foreground on what is calculated as a light background
    • lightForegroundColor setting (defaults to e7e7e7) which can override the light foreground on what is calculated as a dark background
  • Add recommended favorites is now a command
  • Recommended favorites are now being saved when a new version is installed. Avoid using the same names.
    • Recommended favorites are a list of constants found in favorites.ts. These are alphabetized.
    • Recommended favorites are a starting point for favorites. They will be installed whenever a new version is installed. They will extend your existing favorites, so feel free to continue to add to your local favorites! However be careful not to change the color of the recommended favorites as they will be overridden when a new version is installed.
    • This list may change from version to version depending on the Peacock authoring team.
  • Built-in colors for Angular, React and Vue have been removed in favor of "favorites"
  • One Built-in color exists: Peacock Green. This gives a user an easy color choice :)

1.3.1

Bug fixes

  • fix issue where surprise me message shows up anytime a surprise me command is run.

1.3.0

Features

  • Surprise Me On Startup: When enabled, Peacock will automatically apply a random color on startup when opening any workspace that does not already have color customizations defined. It will also show an information dialog in case the user forgot this setting is enabled.

Other Changes

  • Added logging to an output channel for diagnostics
  • Refactored internal state to be a static class, to make it easy to log when state changes
  • Added webpack bundling
  • Fixed tests to wipe out the extra setting that was added during one test

1.2.1

Bug Fixes

  • Resolved error for "command peacock.* not found". Was due to a missing file and function for isObjectEmpty. The code was in the test folder and thus worked locally, in debug mode, and in CI for testing (which is why CI was green). This is now resolved bu moving the file and function to the src folder.

1.2.0

Features

  • Preview Your Favorite: When opening the Favorites command in the command palette, Peacock now previews (applies) the color as you cycle through them. If you cancel (press ESC), your colors revert to what you had prior to trying the Favorites command

Bug Fixes

  • When entering a color and canceling, or when entering an empty string, an error is no longer thrown

Other Changes

  • When resetting colors, Peacock wasn't removing the old workbench.colorCustomizations if it was empty. It now does

1.1.0

Features

  • Added Save current color as a favorite color
  • When a setting is changed, Peacock should update the colors appropriately based on the most recently used color during the active VS Code instance's session

Breaking Changes

  • Renamed commands and settings from 'preferred' to 'favorite'

1.0.0

Other Changes

  • Added colorization of items in the status bar on hover to better fit with the color that Peacock applies.
  • Added colorization of the Activity Bar badge based on the background color applied by Peacock to improve readability
  • Refactored inactive element coloring to better match default behavior of VS Code and most themes.
  • Added azure devops CI process to test on macos, linux and windows with Node 8 and 10

0.7.0

Features

  • Added peacock.keepForegroundColor setting, which specifies whether Peacock should change affect colors (see Keep Foreground Color)

Other Changes

  • Added and updated all tests to respect the keepForegroundColor setting
  • Refactored some functions to remove redundant code
  • Added more setup and teardown code to the test suites
  • Refactored tests to use arrow functions
  • Refactored prepareColors function to collect the element settings using sub-functions for readability
  • Created ISettingsIndexer to help indexing settings properties using enums

0.6.0

Features

  • New setting for peacock.elementAdjustments that allows for slight value adjustments of affected elements to visually distinguish them from one another.
  • Activity Bar icons now reflect current active state with the current activity in the foreground color and inactive activities indicated.
  • Color entry now supports a larger variety of formats with more flexible entry restrictions (see input formats in README for more information)

Other Changes

  • Removed settings for dark and light foregrounds. Now defaults to DarkForeground = '15202b' and LightForeground = 'e7e7e7'. The value of these felt low vs the overhead of yet another setting
  • Introduced the tinycolor library to handle color input validation, color conversion, and color manipulation
  • Refactored much of the internal color library
  • Added several unit tests for color input entry, affected elements, and element adjustments
  • Updated README

0.5.0

Breaking Changes

Instead of an array, there are three separate configuration properties for the affected element settings:

    "configuration": {
      "properties": {
        "peacock.affectTitleBar": {
          "type": "boolean",
          "default": true,
          "description": "Specifies whether Peacock should affect the title bar."
        },
        "peacock.affectActivityBar": {
          "type": "boolean",
          "default": false,
          "description": "Specifies whether Peacock should affect the activity bar."
        },
        "peacock.affectStatusBar": {
          "type": "boolean",
          "default": false,
          "description": "Specifies whether Peacock should affect the status bar."
        }
      }
    }

Other changes

  • Refactored the constants, enums, and interfaces into a models folder in the code with a barrel for access

0.4.0

Features

  • Refactored Preferred Colors to display the user-defined name of a color and the color value in a quick pick list.

The preferred colors require a custom name (name) and a value ( value ), as shown in the example below. See the README.md for details.

  "peacock.preferredColors": [
    { "name": "Gatsby Purple", "value": "#639" },
    { "name": "Auth0 Orange", "value": "#eb5424" },
    { "name": "Azure Blue", "value": "#007fff" }
  ]

Bug Fix

  • fixed bug where 3 character hex values were not working

[0.3.0]

Features

  • New setting for peacock.preferredColors that stores an array of strings for color names and hex values
  • User can select Peacock: Change to a Preferred Color which prompts with the list from peacock.preferredColors from user settings

Other Changes

  • Refactor modules to be clearer
  • Refactor changeColor to enterColor for internal names of the command

[0.2.1]

Features

Other Changes

  • Implemented reset for each settings that isn't selected
  • Added unit tests
  • Updated README

[0.1.1]

Features

  • Added properties in settings for peacock.lightForeground and peacock.darkForeground
  • Added defaults for light foreground #e7e7e7 and dark foreground #15202b

Breaking Changes

  • Renamed the property in settings from peacock.affectedSettings to peacock.affectedElements
  • When there are no settings for peacock.affectedElements, the default is titleBar

Other Changes

  • Refactored code in different modules
  • Updated README

[0.0.7]

Features

  • Added ability to color the activityBar, statusBar, and titleBar
  • Added the property peacock.affectedElements to allow affecting one or more of the following:
    • activityBar
    • statusBar
    • titleBar

Refactor

  • Refactored all utility functions to utils.ts

[0.0.5]

Features

  • Added menu command to reset all colors (clears the workspace settings for the affected colors)
  • Revised the prompt to guide on RGB format for hex values

Bug fixes

  • Prompt for color now works when a file is not open.

[0.0.4]

  • Named peacock
  • Allow changing to user defined color
  • Allow changing to random color
  • Allow changing color to angular, vue, or react primary colors
  • Saves colors to your workspace
  • Sets the foreground to white or black based on the contrast for the background color
  • Add peacock icon
  • Added README.md
  • Made commands use peacock: prefix
You can’t perform that action at this time.