Commit 94085219 authored by Michele Memoli's avatar Michele Memoli

Added note about '|' character to readme

parent f7eedbe2
......@@ -17,19 +17,26 @@ This tool will list out all the possible scenarios for you based on the [cartesi
Imagine you're creating a recipe site. The site has:
- 3 different types of user accounts: _viewer_, _subscriber_, _contributer_
- 3 different types of user accounts: _viewer_, _subscriber_, _contributer_ (some are paid-for)
- A favouriting mechanism on each recipe
- 3 layouts: _small_, _medium_ and _large_
- A privacy setting: _public_, _private_
Anyone building this UI on your behalf needs to understand how you want the UI to look for each of these scenarios. Rather than guess that list, use this Scenarios Scaffolding tool.
Set up your variables like this (see [config.yml](config.yml)). The order doesn't matter:
Set up your variables like this (see [config.yml](config.yml)). The `headers` is important – it must come first – the rest don't matter:
headers:
- account_type
- revenue
- favourited
- layout
- privacy
account_type:
- viewer
- subscriber
- contributer
- viewer|0
- subscriber|5
- contributer|20
favourited:
- favourite
......@@ -44,13 +51,16 @@ Set up your variables like this (see [config.yml](config.yml)). The order doesn'
- public
- private
## Notice the `|`?
That allows you to configure extra rows in your columns. For example, you might not want to multiply every scenario by the "revenue" column but having it separate means you'll be able to filter by it later on.
When you run the project you get a `.csv` file which you can import into excel or Google Sheets to process further. It looks like this:
account_type,favourited,layout,privacy
viewer,favourite,small,public
subscriber,favourite,small,public
contributer,favourite,small,public
viewer,not-favourited,small,public
account_type,revenue,favourited,layout,privacy
viewer,0,favourite,small,public
subscriber,5,favourite,small,public
contributer,20,favourite,small,public
...
......
headers:
- device
- form
- platform
- orientation
- screen
- size
- account_type
- revenue
- favourited
- layout
- privacy
devices:
- iPhone 6|mobile|iOS|portrait
- iPhone 5|mobile|iOS|portrait
- Retina iPad|tablet|iOS|portrait
- Retina iPad|tablet|iOS|landscape
- Google Pixel|mobile|Android|portrait
- Nexus 10|tablet|Android|portrait
- Nexus 10|tablet|Android|landscape
account_type:
- viewer|0
- subscriber|5
- contributer|20
screens:
- Home|L
- Search|S
- Add Project|M
- Dispute|L
- favouriting|S
favourited:
- favourite
- not-favourited
layout:
- small
- medium
- large
privacy:
- public
- private
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment