Merge pull request #742 from erictheise/doc-typos
Fix for #741; documentation typos.
This commit is contained in:
commit
4ff6352fb3
10 changed files with 29 additions and 29 deletions
18
CHANGELOG.md
18
CHANGELOG.md
|
|
@ -69,7 +69,7 @@
|
|||
## 1.9.5
|
||||
|
||||
- bug fixes
|
||||
- advanced syntaxes: various isses and regressions
|
||||
- advanced syntaxes: various issues and regressions
|
||||
- editor: preserve advanced syntaxes in `left` and `top` when pasting a widget
|
||||
|
||||
- editor
|
||||
|
|
@ -167,7 +167,7 @@
|
|||
|
||||
- editor
|
||||
- context menu: add `export` action to export a widget as a fragment file
|
||||
- show project tree if minimzed when clicking on "Show in tree"
|
||||
- show project tree if minimized when clicking on "Show in tree"
|
||||
|
||||
- widget
|
||||
- **new** `fragment` widgets (under `containers`): embedded session or fragment file with overridable properties.
|
||||
|
|
@ -308,7 +308,7 @@
|
|||
- bug fixes
|
||||
- input: prevent focus when selecting the widget for edition
|
||||
- input: submit content when leaving focus, not only when hitting `enter` or `tab` (`esc` still cancels)
|
||||
- midi: prevent midi bridge from stopping when an error occurs; provide meaningfull errors when connection fails
|
||||
- midi: prevent midi bridge from stopping when an error occurs; provide meaningful errors when connection fails
|
||||
|
||||
- editor
|
||||
- inspector: hitting ctrl+s while editing a property will submit the change before saving
|
||||
|
|
@ -335,7 +335,7 @@
|
|||
|
||||
- bug fixes
|
||||
- menu: allow manual line breaks ("`\n`") in labels / values
|
||||
- custom module: parsing issue when sending widget data using `receive()` (`type` attribute errouneously parsed as an osc typetag)
|
||||
- custom module: parsing issue when sending widget data using `receive()` (`type` attribute erroneously parsed as an osc typetag)
|
||||
|
||||
- widgets
|
||||
- html property: allow "href" attribute on "a" elements
|
||||
|
|
@ -354,7 +354,7 @@
|
|||
- file browser: layout issue with long paths
|
||||
|
||||
- custom module
|
||||
- add `nativeRequire` function (allows loading native node modules or locally installed moduled)
|
||||
- add `nativeRequire` function (allows loading native node modules or locally installed modules)
|
||||
|
||||
## 1.7.8
|
||||
|
||||
|
|
@ -677,7 +677,7 @@ As of this version, packages except the `node` package are bundled with a midi b
|
|||
- foldable sidepanels
|
||||
- removed lobby
|
||||
- added toolbar menu
|
||||
- dispay loading (spinner) in a notification instead of a modal
|
||||
- display loading (spinner) in a notification instead of a modal
|
||||
- mod + w to close window
|
||||
- context-menu now use click event to trigger actions, not mousedown/touchstart
|
||||
- no more uppercase text by default
|
||||
|
|
@ -696,7 +696,7 @@ As of this version, packages except the `node` package are bundled with a midi b
|
|||
- context menu: added "show in tree" action
|
||||
- context menu: removed "edit parent" action
|
||||
- allow copying tabs (to tab containers only)
|
||||
- shared clipboard accross all clients
|
||||
- shared clipboard across all clients
|
||||
- prevent interaction with widgets when `shift` or `ctrl` is held
|
||||
- ensure @{} bindings are always updated upon edition
|
||||
|
||||
|
|
@ -733,7 +733,7 @@ As of this version, packages except the `node` package are bundled with a midi b
|
|||
- pads, range: when `touchAddress` is set, one message per touched point is sent, in addition to the former touch state message
|
||||
- eq: removed `logScaleX` property, always draw logarithmic frequency response
|
||||
- eq: logarithmic x-axis scale fixed
|
||||
- eq: filters ared now defined with the `filters` property, leaving the `value` to its default purpose
|
||||
- eq: filters are now defined with the `filters` property, leaving the `value` to its default purpose
|
||||
- eq: added `rangeX`
|
||||
- html: allow `class`, `title` and `style` attributes
|
||||
- dropdown: close menu when receiving a value
|
||||
|
|
@ -745,7 +745,7 @@ As of this version, packages except the `node` package are bundled with a midi b
|
|||
- `push`, `toggle`: merged into `button`
|
||||
- `strip`: features now covered by `panel`
|
||||
- `meter`: duplicate of `fader` with `design` to `compact` and `interaction` to `false`
|
||||
- `switcher`, `state`, `crossfader`: removed => state managment functions added to the `script` widget
|
||||
- `switcher`, `state`, `crossfader`: removed => state management functions added to the `script` widget
|
||||
- `keys`: merged with `script`
|
||||
- `gyroscope`: not compatible since chrome 74 unless o-s-c goes HTTPS
|
||||
|
||||
|
|
|
|||
|
|
@ -39,4 +39,4 @@ Discourse provides the community forum.
|
|||
<img src="/img/sponsors/browserstack.png" width="140px"/>
|
||||
</a>
|
||||
|
||||
BrowserStack provides remote browsers for debbuging.
|
||||
BrowserStack provides remote browsers for debugging.
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ Send osc/midi message to connected clients. `host` and `port` can be specified t
|
|||
- `port` (optional): `integer` port number or `string` midi device name
|
||||
- `address`: osc address
|
||||
- `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` (objects that don't match this format will simply be turned to a JSON string).
|
||||
- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retreived from `app` events or `oscOutFilter`)
|
||||
- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retrieved from `app` events or `oscOutFilter`)
|
||||
|
||||
----
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
## Browser inspector
|
||||
|
||||
|
||||
Hit ++f12++ to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon () and click on a element in the interface to reveal its html code.
|
||||
Hit ++f12++ to open the developers tools panel. The html/css inspector helps retrieving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon () and click on a element in the interface to reveal its html code.
|
||||
|
||||
|
||||
## Inline syntax
|
||||
|
|
@ -87,6 +87,6 @@ Media queries can also be used:
|
|||
|
||||
## CSS variables
|
||||
|
||||
[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overriden.
|
||||
[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overridden.
|
||||
|
||||
Widgets also rely on CSS variables for the style properties (colors, padding, etc). These are documented in the widgets' `css` property description.
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
The server's `midi` option accepts the following parameters, separated by spaces.
|
||||
|
||||
!!! warning ""
|
||||
If an option contains space characters, it must be enquoted.
|
||||
If an option contains space characters, it must be quoted.
|
||||
|
||||
**`list`**
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ Print the available MIDI ports to the console when the server starts. This actio
|
|||
|
||||
**`device_name:input,output`**
|
||||
|
||||
Create a virtual MIDI device that will translate OSC messsages to MIDI messages
|
||||
Create a virtual MIDI device that will translate OSC messages to MIDI messages
|
||||
|
||||
- `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)). It doesn't have to match any device's real name.
|
||||
- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive).
|
||||
|
|
@ -98,7 +98,7 @@ Enable receiving noteOff messages with a velocity and on a different address tha
|
|||
|
||||
**`path=/path/to/python`**
|
||||
|
||||
*Only use this if you know what you are doing. This option should not be set when using the officla Linux / Windows / OSX packages.*
|
||||
*Only use this if you know what you are doing. This option should not be set when using the official Linux / Windows / OSX packages.*
|
||||
|
||||
Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`).
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ Its `address` and `preArgs` properties must be set according to Open Stage Contr
|
|||
|
||||
## Debug
|
||||
|
||||
Enabling the server's `debug` options will print some extra informations (sent/received midi messages, midi setup informations, etc)
|
||||
Enabling the server's `debug` options will print some extra information (sent/received midi messages, midi setup information, etc)
|
||||
|
||||
## Example configuration
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
- Import: import a state file from the client's filesystem
|
||||
- Export: export a state file to the client's filesystem
|
||||
- Editor
|
||||
- Enable: togggle editor's state
|
||||
- Enable: toggle editor's state
|
||||
- Grid: toggle grid
|
||||
- Project tree: toggle project tree's visibility
|
||||
- Inspector: toggle inspector's visibility
|
||||
|
|
@ -40,7 +40,7 @@ It is the main component, it contains all the widgets and takes all the availabl
|
|||
|
||||
## 4. Notifications
|
||||
|
||||
Notifications appear in the lower right corner, they are usually used to convey server status informations.
|
||||
Notifications appear in the lower right corner, they are usually used to convey server status information.
|
||||
|
||||
## 5. Modals
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
- Start: start the server (hidden when started)
|
||||
- Stop: stop the server (hidden when stopped)
|
||||
- New window: open a new client window (hidden when stopped)
|
||||
- Load: load server configration from file
|
||||
- Load: load server configuration from file
|
||||
- Save / Save as: save server configuration to file
|
||||
- List MIDI devices: list available MIDI devices in the console
|
||||
- Console:
|
||||
- Clear: clear console
|
||||
- Autoscrell: enable/disable console autoscroll
|
||||
- Autoscroll: enable/disable console autoscroll
|
||||
- Check for update at startup: enable/disable this feature
|
||||
- Always on top: pin the launcher window above other the windows
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ Each server option is displayed here. When clicking on an option's label, a shor
|
|||
|
||||
## 3. Console
|
||||
|
||||
The console diplays various informations, runtime errors and server debug messages.
|
||||
The console displays various information, runtime errors and server debug messages.
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Advanced syntaxes
|
||||
|
||||
Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets' evualate the properties they're in.
|
||||
Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets' evaluate the properties they're in.
|
||||
|
||||
|
||||
## Inheritance: `@{id.property}`
|
||||
|
|
@ -11,8 +11,8 @@ The inheritance syntax returns either a widget's value or one of its properties.
|
|||
- `property`: target widget's property name. If ommitted (along with the dot), the widget's value will be returned (`@{widgetId}` is the same as `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property.
|
||||
|
||||
|
||||
!!! note "Unique indentifier"
|
||||
Each widget has a unique random identifier that can be retreived with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`).
|
||||
!!! note "Unique identifier"
|
||||
Each widget has a unique random identifier that can be retrieved with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`).
|
||||
|
||||
#### Dynamic properties
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ Some properties have much cheaper update routines and can be considered as `dyna
|
|||
|
||||
#### Object properties
|
||||
|
||||
If the retreived property is an object (`{}`), a subset can be retreived directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}`
|
||||
If the retrieved property is an object (`{}`), a subset can be retrieved directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}`
|
||||
|
||||
|
||||
#### Nesting
|
||||
|
|
|
|||
|
|
@ -738,7 +738,7 @@
|
|||
| <h6 id="knob_origin">origin<a class="headerlink" href="#knob_origin" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Defines the starting point's value of the knob's gauge |
|
||||
|
||||
??? api "<div id="encoder">encoder<a class="headerlink" href="#encoder" title="Permanent link">#</a></div>"
|
||||
A knob that sends a relative direction infomation instead of an absolute value.
|
||||
A knob that sends a relative direction information instead of an absolute value.
|
||||
|
||||
=== "style"
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ The `script` property allows widgets to run [Javascript](https://developer.mozil
|
|||
|
||||
## Touch state
|
||||
|
||||
When some widgets are touched or released, a special event can be catched to trigger custom actions.
|
||||
When some widgets are touched or released, a special event can be caught to trigger custom actions.
|
||||
|
||||
If the variable `touch` is not `undefined`, this means it holds the widget's current touch state:
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ if (touch !== undefined) {
|
|||
}
|
||||
```
|
||||
|
||||
To avoid unwanted script executions, touch state events will only be catched if the script contains the word `touch`.
|
||||
To avoid unwanted script executions, touch state events will only be caught if the script contains the word `touch`.
|
||||
|
||||
## Available variables
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue