Git Product home page Git Product logo

kulor-reactify's People

Contributors

lmcjt37 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kudzayimutunga

kulor-reactify's Issues

UI too tall for mobile

Recently adding the button bar has cause the screen to be too tall to fit on the screen without scrolling.

A decision needs to be made in order to either present the buttons better at the bottom of the screen, show only icons, or have a single button that hides/shows all the buttons as and when they are needed.

Hint text not functioning correctly

  • You can cause the HEX hint text to overlap the RGB one by deleting the initial value in the HEX input field.

  • Opacity is not being applied correctly to the hint text when deleting the text.

  • It should be "#" not "HEX#"

Limit values for RGB input

RGB values for each primary colour(red, green, blue) should be limited to 255. The fix for this could simply be to introduce tooltips sooner to help flag user input errors rather than handle this in the code.

Failed to load resource (__webpack.hmr)

Not causing a major or critical issue that is breaking. But something isn't being bundled correctly and is causing this issue:

Failed to load resource: the server responded with a status of 404 (Not Found)
http://lmcjt.com/__webpack_hmr

The page will continue to try and GET the resource and fail each time.

** Can be seen in the console

Add alpha

There are a number of different ways this could be done.

Thinking about it, the simplest way would be to add another slider which if anything other than 1.0 then we would add a 4th segment to RGB and HEX. Where the HSL/HSV values could simply use the slider pattern as is.

Can zoom on iPhone

Seen on iPhone 6S, double-tap on the background caused the screen to zoom in and again back out.

This functionality should be disabled and/or not happen.

Initial Unit Tests

Initial Unit Tests need to be added, this will help identify ongoing issues or potential gotchas.

Alpha doesn't affect background colour

The reason for this is that the mechanism used to work out the theme (isDark), doesn't factor in alpha to it's calculations. Therefore as we change the background, readability is poor. So the decision to leave this change out was made.

Click to copy

Add the ability to click and copy each value.

  • RGB
  • HEX
  • HSL (concat the 3 sources to one value)

Number of formatting issues spotted in trimRgb method of colourHelper

  • 3 characters allows the fullstop and 2 characters doesn't
    expect(ColourHelper.trimRgb("123.")).to.equal("123,.");

  • not excluding all unwanted characters
    expect(ColourHelper.trimRgb("rgba(123,123,123)")).to.equal("123,123,123");

  • shouldn't allow initial fullstop
    expect(ColourHelper.trimRgb(".")).to.equal("");

  • shouldn't allow initial space or replace space with comma
    expect(ColourHelper.trimRgb(" ")).to.equal(",");

  • zeros shouldn't be allowed in first 3 sections
    expect(ColourHelper.trimRgb("255,255,0")).to.equal("255,255,0");

Update documentation

Update documentation around testing and other available scripts which can be found in package.json

Colour combinations

Using the tinyColor library, we could use what is already available to us and expand on functionality to include the following; triad, complementary, and tetrad.

Missing prefix/suffix when change event inserts value

If you empty the RGB field so that the prefix and suffix disappear, then change the HEX field so that a value is inserted into the RGB field. This change event doesn't cause the prefix/suffix opacity to react or change for the new value.

Needs a check in place for change events across the board.

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.