Skip to content

Commit 6431ec8

Browse files
authored
Merge pull request #118 from easycoder/dev
Help documentation
2 parents e00502f + 5d6b9cc commit 6431ec8

File tree

12 files changed

+177
-9
lines changed

12 files changed

+177
-9
lines changed

iwsy/resources/ecs/help.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ GetPage:
5252
put empty into Page
5353
go to GetPage
5454
end
55+
put Page into storage as `.help`
5556
set the content of Container to showdown decode Content with DecoratorCallback
5657
set the elements of Link to LinkCount
5758
put 0 into N
@@ -93,7 +94,12 @@ Decorate:
9394
! Process an image, including positioning and class information
9495
ProcessImage:
9596
put the position of `:` in Data into N
96-
if N is -1 return
97+
if N is -1
98+
begin
99+
put `<img id="ec-image-` cat ImageCount cat `" src="` cat Data cat `" />` into Payload
100+
add 1 to ImageCount
101+
return
102+
end
97103
put left N of Data into Source
98104
add 1 to N
99105
put from N of Data into Data

iwsy/resources/ecs/steps.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ ReloadStepEditor:
395395
create TR in Table
396396
create TD in TR
397397
set the style of TD to `width:6em`
398-
set the content of TD to `Title:`
398+
set the content of TD to `Name:`
399399
create TD in TR
400400
index TitleInput to SelectedStep
401401
create TitleInput in TD

iwsy/resources/help/action-init.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
~page:contents:Contents~
2+
3+
# The `init` action
4+
5+
Every presentation starts with an `init` action, which defines the environment in which the presentation will run. The editor looks like this:
6+
7+
~img:resources/users/2020/160/1/images/help/editor-init.png~
8+
9+
Here there are a set of _properties_ relating to the `init` action. All these are editable. The Title is there for your convenience; it has no affect on the presentation. The properties are as follows:
10+
11+
- `aspect` `ratio` is a pair of numbers that govern the size of the display area. The width is that of the container provided to IWSY by the web page. Sometimes the height will also be defined, in which case you should clear the `aspect` `ratio` field. In most cases, though, the height is not given. You can decide what it should be in relation to the width. The default is a 16:9 widescreen format but other common choices are 4:3 (old-style TV) and 1:1 (square). On one particular laptop, 16:9 is OK but the values 160:89 work better to fill the screen exactly. Some experimentation may be needed, and once you've discovered a ratio that works for your computer you can use it in all presentations.
12+
13+
- `background` is for the entire screen. By default it has no value, making it transparent. The values you use here are standard CSS background styles, which include using images.
14+
15+
- `border` is also for the screen. A default value is provided. When you started IWSY the left-hand side of the screen will have shown this outline before the help panel replaced it.
16+
17+
- `css` is any set of global style values you wish to set up for your presentation. These will be added to the HEAD of your document. Typical uses are to set a color for headers or to adjust margins on specific elements.

iwsy/resources/help/addBlock.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
~page:contents:Contents~
2+
3+
# Adding a new block

iwsy/resources/help/addContent.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
~page:contents:Contents~
2+
3+
# Adding content

iwsy/resources/help/addStep.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
~page:contents:Contents~
2+
3+
# Adding a new step

iwsy/resources/help/contents.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
~page:iwsy:Home~
2+
3+
# Contents
4+
5+
~page:quickstart:Quick-start tutorial~ **Beginners start here!**
6+
7+
~page:users:User registration and login~
8+
9+
~page:project:The Project panel~
10+
11+
~page:start:Starting a project~
12+
13+
~page:addStep:Adding a step~
14+
15+
~page:addBlock:Adding a block~
16+
17+
~page:addContent:Adding content~
18+
19+
## Actions
20+
21+
~page:action-init:The `init` action~

iwsy/resources/help/iwsy.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
~page:contents:Contents~
2+
13
# I Wanna Show You
24

3-
I Wanna Show You (IWSY, pronounced "You-zee" as an approximation to the initials) is an online presentation package. It has the ability to deliver slideshows that either run under manual control or unattended, but instead of being a PC application that's tied to the desktop, IWSY is entirely browser-based. IWSY presentations can run here in this web app, they can be embedded in other web pages or they can run as independent web pages.
5+
I Wanna Show You (IWSY, pronounced "You-zee" as an approximation to the initials) is an online presentation package. It's built to deliver slideshows that either run under manual control or unattended, but instead of being a PC application that's tied to the desktop, IWSY is entirely browser-based. IWSY presentations can run here in this web app, they can be embedded in other web pages or they can run as independent web pages.
6+
7+
## Quick-start
8+
9+
These help pages contain everything there is to know about IWSY, but there's a lot to read. Most people just want to get started quickly, so we have a built-in ~page:quickstart:quick-start tutorial~ where you can create a simple presentation - a few slides with text and pictures - in just a few minutes. Once you've completed this first step you'll have a pretty good idea of what IWSY is all about, and the rest of the help pages won't be nearly as intimidating.
10+
11+
## Feature summary
412

513
The basic features of IWSY are:
614

@@ -12,9 +20,6 @@ The basic features of IWSY are:
1220
- User management - each user has their own account and storage area
1321
- Image management - users can create folders, upload/delete images and so on
1422
- Built-in help - what you're reading
23+
- A ~page:quickstart:quick-start tutorial~
1524

16-
The block and content editors may be an unfamiliar concept. Rather than hand-editing each slide you use blocks to define the areas of the screen that will hold text or images. Each block has a name so you can choose which ones to use for any given part of the show. Similarly, the text content is all edited separately and each item has a name.
17-
18-
All text input in IWSY is in MarkDown format, which is much simpler than HTML, being mostly plain text. All standard features of MarkDown are supported, plus some custom additions documented in these Help pages.
19-
20-
~page:start:Starting a project~
25+
~page:contents:Contents~

iwsy/resources/help/project.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
~page:contents:Contents~
2+
3+
# The Project panel
4+
5+
The right-hand side of the screen holds the Project panel. When you start up - or after you click the ~img:resources/users/2020/160/1/images/help/new.png:{width:1em}~(New) button - it looks like this:
6+
~img:resources/users/2020/160/1/images/help/project.png:100%~
7+
8+
There are 3 main sections.
9+
10+
## 1 - Steps
11+
12+
This lists the steps of your presentation. These are in some way analogous to the 'slides' of a PowerPoint presentation. A step is any action that affects the presenttion, whether it causes any visual change or not. Every presentation starts with an `init` step where you define the size and proportions of your screen. This step is already provided, with its name on a clickable button. When you click the button it opens the ~page:action-init:`init` step editor~. All the action types are documented in their own pages - see the ~page:contents:Contents~.
13+
14+
To the left of the button is a tiny ~img:/resources/icon/binoculars.png:{width:1em}~ binoculars symbol. When you click one of these the panel on the left - called the _player_ - shows you what the presentation looks like at this step.
15+
16+
To the right of the button is a ~img:/resources/icon/plus.png:{width:1em}~ plus symbol, that when clicked adds a new step to the end of the presentation. See ~page:addStep:Adding a step~.
17+
18+
## 2 - Blocks
19+
20+
This lists the blocks used in your presentation. A block is a rectangular area of the screen that can contain text, an image or some of each.
21+
22+
It's common to use the same layout for multiple slides in a presentation, and one of the problems with PowerPoint is how difficult it is to change a layout once set. Sometimes the only way is to edit the numerical coordinates of the text and other blocks on each slide; a time-consuming and error-prone task.
23+
24+
IWSY takes a different approach. You define all the different type of block that will be used, giving each one a name, then use them on as many slides as you like. To make changes you then just need to edit the block definition; all the slides that use it will take on the new size and position. See ~page:addBlock:Adding a block~.
25+
26+
## 3 - Content
27+
28+
This lists all the content text items used in your presentation. Each one is named. In the step editor you assign content to blocks by clicking names from a drop-down list. This makes it much easier to see what is where than by having the full text visible at each point.
29+
30+
All content text is written using **_MarkDown_**; a format that is mostly plain text, plus simple markup tags to define headers and other text features. IWSY provides a set of custom MarkDown extensions that define image and other attributes. These help pages are written using the same system. See ~page:addContent:Adding content~.

iwsy/resources/help/quickstart.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
~page:contents:Contents~
2+
3+
# Quickstart
4+
5+
This tutorial will quickly take you through all the steps needed to build your first IWSY presentation. Everything you need is here and everything will be explained.
6+
7+
We don't need to log into IWSY, so that's some time saved already. The first thing to do is define a _block_. This is an area of the screen having a defined position and size, to contain text and/or images.
8+
9+
## Your first block
10+
11+
Click the **Blocks** button over in the right-hand panel, then click the ~img:/resources/icon/plus.png:{width:1em}~ at the right-hand end of the title row. Now click the button titled "New Block". You should get this:
12+
13+
~img:resources/users/2020/160/1/images/quickstart/newblock.png:100%~
14+
15+
Most of these default values are fine as they are; they describe a block that occupies the whole window area. Let's just change the 'name' property to `background` and the 'background' property to `url('resources/users/2020/160/1/images/SemoigoDawn.jpg')`. The effect will be to display a full-size image.
16+
17+
The effect I want to create is for the image to fade up from the white of the screen background. So let's go to to the **Steps** editor and make that happen. But before we do so, let's save our work. Type the name `quickstart` in the **Script name** box under the main button bar, then click the ~img:/resources/icon/save.png:{width:1em}~ icon in the button bar. It's highly recommended that you click this button regularly so you don't lose your work in the event of something going wrong.
18+
19+
## Adding some steps
20+
21+
The `init` step is fine as it is so there's no need to touch it. Click the ~img:/resources/icon/plus.png:{width:1em}~ to add a new step, then click the **New step** button. You should see this:
22+
23+
~img:resources/users/2020/160/1/images/quickstart/newstep.png:100%~
24+
25+
Click in the Action box and a drop-down list appears:
26+
27+
~img:resources/users/2020/160/1/images/quickstart/actions.png:100%~
28+
29+
Choose `set content`. Now set the `name` property to `set up background`. It should now look like this:
30+
31+
~img:resources/users/2020/160/1/images/quickstart/setup-background.png:100%~
32+
33+
Click the ~img:/resources/icon/plus.png:{width:1em}~ in the `Blocks` row, then click the empty selector under the `Blocks` title. A drop-down list appears with the name of the block we created earlier:
34+
35+
~img:resources/users/2020/160/1/images/quickstart/select-background-block.png:100%~
36+
37+
so select that. The block has no text; if it did we'd choose it in the `Content` drop-down list. Click the **Save** button for this step, then click the ~img:/resources/icon/save.png:{width:1em}~ icon in the button bar.
38+
39+
## Fading up
40+
41+
Now we have a block with a background, let's fade it up. Click ~img:/resources/icon/plus.png:{width:1em}~ again or click the **Add step after** button. In the new step, open the editor, give it the name `fade up background` and select the **fade up** action. It should look like this:
42+
43+
~img:resources/users/2020/160/1/images/quickstart/fade-up-background.png:100%~
44+
45+
This action lets you fade up as many blocks as you like simultaneously, so it provides you with the means to add a list. Here we only have a single block so let's add that. Click the ~img:/resources/icon/plus.png:{width:1em}~ in the **Blocks** row, then click the empty selector in the new row and choose **background** again. Finally set the duration of the fade to a suitable value; say 2 (seconds). You can use decimal fractions here if you need to. It should now look like this:
46+
47+
~img:resources/users/2020/160/1/images/quickstart/fade-up-background2.png:100%~
48+
49+
If you haven't saved your project recently, do it now.
50+
51+
## Watch it run!
52+
53+
Now it's time to test your work. This will cause the help panel to disappear, but don't worry; you can bring it back by clicking the ~img:/resources/icon/help.png:{width:1em}~ button in the toolbar.
54+
55+
Click the ~img:/resources/icon/run.png:{width:1em}~ icon in the button bar and enjoy watching your steps run!
56+
57+
A couple of things to note. One is that as the presentation runs the steps in the editor take on green backgrounds. With only a single fade this happens too quickly to see, but in a longer presentation you can see where you are at all times.
58+
59+
Another thing is that you can click the ~img:/resources/icon/binoculars.png:{width:1em}~ icon for any step to see what the presentation looks like at that step. The program invisibly runs the entire presentation up to the step you clicked, then runs that step, giving the button a blue background.
60+
61+
in ~page:quickstart-part2:Part 2~ we'll add some text to the presentation.

iwsy/resources/help/start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
~page:iwsy:Home~
1+
~page:contents:Contents~
22

33
# Starting a project
44

iwsy/resources/help/users.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
~page:contents:Contents~
2+
3+
# User registration and login
4+
5+
IWSY can be used without registering, in which case you are an anonymous user of the system. This is OK if all you want to do is evaluate IWSY, though not all its features will be available to you. Any presentations you create will be saved to your local browser storage area and will be unavailable anywhere else. If you later decide to log in you can transfer these presentations to your own private area on the IWSY website.
6+
7+
## Registration
8+
9+
On the left-hand side of the page, above this help panel, are a row of buttons with ~img:resources/users/2020/160/1/images/help/user.png:{width:1em}~ by itself at the right-hand end. This is the login button. When you click it a panel appears:
10+
11+
~img:resources/users/2020/160/1/images/help/login.png:100%~
12+
13+
To register as a user, click the **Register** button. The panel then changes to:
14+
15+
~img:resources/users/2020/160/1/images/help/register.png:100%~
16+
17+
Fill in all the fields and click **Register**. A popup message will appear, telling you to wait for a confirmation code to arrive by email. The registration form will have gained an extra line where you can type the 6-digit code that arrives. Click **Confirm Registration** and the form will disappear. The icon in the toolbar will now show ~img:resources/users/2020/160/1/images/help/user-loggedin.png:{width:1em}~ to indicate you are registered and logged in. If you click this icon you will be logged out again.
18+
19+
~page:project:The Project panel~

0 commit comments

Comments
 (0)