Skip to content

Add new data types #305

@fwdekker

Description

@fwdekker

There's a number of new data types that Randomness could generate:

  • Dates/times
  • Colours
  • Coordinates
  • Email addresses
  • Phone numbers
  • Lorem ipsum

These data types can be created by combining existing data types. To prevent flooding the user with dozens of options for generating data, there should be a flexible system that can create any of these.

Here are two ideas on how to do this:

  1. Add a "Miscellaneous" data type that allows the user to pick from the data types listed above, and shows different settings for different data types. Using the quick scheme switcher, the user should be able to quickly switch between data types.
  2. The user is given access to a special "language" that allows them to combine data types arbitrarily. For example, the user can write %i[small]-%s[long] to create a string starting with an integer that was generated using the scheme small, followed by a -, and completed by a string that was generated using the scheme long. This language is accessible as a sixth data type, similar to the first idea.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions