Code Monkey home page Code Monkey logo

svelte-gym's People

Contributors

paulsputer avatar

Stargazers

 avatar

Watchers

 avatar

svelte-gym's Issues

Grid options as background

When working with with opacity and blur settings on components it can be difficult to judge if they are working correctly. Allowing the grid to be set to a vivid pattern can help check this

Restore props doesn't set props for permalink

When loading a page and tapping generate permalink only the properties that have been changed are set in the permalink. This is potentially dangerous from a testing perspective as it assumes there will be no changes to default values on the test page.

To operate correctly even if default values are changed properties not defined in the url params should be set. This may need to be optionally disabled as there may be cases where the effect is desired.

Lorem Ipsum generator Input Type

The GymTextbox allows any text to be set. However often times in testing it's not the specific text used but rather the length and size of it which is important to determine if wrapping, formatting etc is correct.

A GymPlaceholderText component could be helpful in these scenarios with the following parameters:

  1. Character Count
  2. Line Count

While Words, Sentences, and Paragraphs may seen like useful parameters these could result in different results, hence characters and lines are more specific. As a result unlike off-the-shelf Lorem Ipsum generators lines will need to be forced.

The generator must be deterministic to allow for visual regression testing

GymSlider support for decimal

The GymSlider element doesn't support decimal numbers. This can be useful when controlling properties in objects that are used else where in an application

Dropdown to support options via objects

The GymDropdown component only accepts options as a string array. When an object is used there's a need to do a object.values this adds friction to usage that should be internalised.

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.