1
0
Fork 0

Merge branch 'main' into admin-acceptance-tests

Dieser Commit ist enthalten in:
jumagura 2023-05-11 01:47:58 -04:00
Commit 02a3c426c0
4 geänderte Dateien mit 19 neuen und 12 gelöschten Zeilen

Datei anzeigen

@ -4,22 +4,24 @@ The Custom Wizard Plugin lets you make forms for your Discourse forum. Better us
<img src="https://camo.githubusercontent.com/593432f1fc9658ffca104065668cc88fa21dffcd3002cb78ffd50c71f33a2523/68747470733a2f2f706176696c696f6e2d6173736574732e6e7963332e63646e2e6469676974616c6f6365616e7370616365732e636f6d2f706c7567696e732f77697a6172642d7265706f7369746f72792d62616e6e65722e706e67" alt="" data-canonical-src="https://pavilion-assets.nyc3.cdn.digitaloceanspaces.com/plugins/wizard-repository-banner.png" style="max-width: 100%;" width="400"> <img src="https://camo.githubusercontent.com/593432f1fc9658ffca104065668cc88fa21dffcd3002cb78ffd50c71f33a2523/68747470733a2f2f706176696c696f6e2d6173736574732e6e7963332e63646e2e6469676974616c6f6365616e7370616365732e636f6d2f706c7567696e732f77697a6172642d7265706f7369746f72792d62616e6e65722e706e67" alt="" data-canonical-src="https://pavilion-assets.nyc3.cdn.digitaloceanspaces.com/plugins/wizard-repository-banner.png" style="max-width: 100%;" width="400">
👋 Looking to report an issue? We're managing issues for this plugin using our [bug report wizard](https://coop.pavilion.tech/w/bug-report).
## Install ## Install
If you're not sure how to install a plugin in Discourse, please follow the [plugin installation guide](https://meta.discourse.org/t/install-a-plugin/19157) or contact your Discourse hosting provider. If you're not sure how to install a plugin in Discourse, please follow the [plugin installation guide](https://meta.discourse.org/t/install-a-plugin/19157) or contact your Discourse hosting provider.
## Documentation ## Documentation
[Read the full documentation here](https://discourse.pluginmanager.org/c/discourse-custom-wizard/documentation), or go directly to the relevant section [Read the full documentation here](https://coop.pavilion.tech/c/82), or go directly to the relevant section
- [Wizard Administration](https://discourse.pluginmanager.org/t/wizard-administration) - [Wizard Administration](https://coop.pavilion.tech/t/1602)
- [Wizard Settings](https://discourse.pluginmanager.org/t/wizard-settings) - [Wizard Settings](https://coop.pavilion.tech/t/1614)
- [Step Settings](https://discourse.pluginmanager.org/t/step-settings) - [Step Settings](https://coop.pavilion.tech/t/1735)
- [Field Settings](https://discourse.pluginmanager.org/t/field-settings) - [Field Settings](https://coop.pavilion.tech/t/1580)
- [Conditional Settings](https://discourse.pluginmanager.org/t/conditional-settings) - [Conditional Settings](https://coop.pavilion.tech/t/1673)
- [Field Interpolation](https://discourse.pluginmanager.org/t/field-interpolation) - [Field Interpolation](https://coop.pavilion.tech/t/1557)
- [Wizard Examples and Templates](https://discourse.pluginmanager.org/t/wizard-examples-and-templates) - [Handling Dates and Times](https://coop.pavilion.tech/t/1708)
## Support ## Support
- [Report a bug](https://discourse.pluginmanager.org/w/bug-report) - [Report an issue](https://coop.pavilion.tech/w/bug-report)

Datei anzeigen

@ -244,6 +244,7 @@ const custom_field = {
export function buildFieldTypes(types) { export function buildFieldTypes(types) {
wizardSchema.field.types = types; wizardSchema.field.types = types;
wizardSchema.field.type = Object.keys(types);
} }
field.type = Object.keys(field.types); field.type = Object.keys(field.types);

Datei anzeigen

@ -65,13 +65,16 @@
</div> </div>
<div class="setting-value"> <div class="setting-value">
{{combo-box {{wizard-subscription-selector
value=field.type value=field.type
content=fieldTypes feature="field"
attribute="type"
onChange=(action "changeType") onChange=(action "changeType")
wizard=wizard
options=(hash options=(hash
none="admin.wizard.select_type" none="admin.wizard.select_type"
)}} )
}}
</div> </div>
</div> </div>

Datei anzeigen

@ -117,6 +117,7 @@
{{wizard-custom-field {{wizard-custom-field
field=field field=field
step=step step=step
wizard=wizard
currentFieldId=currentField.id currentFieldId=currentField.id
fieldTypes=fieldTypes fieldTypes=fieldTypes
removeField="removeField" removeField="removeField"