0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-20 07:41:11 +02:00
Commit-Graph

10 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
a19a1fa3b1 Refactor wizard client and add tests 2022-06-15 08:03:38 +02:00
Angus McLeod
ceef3f4bc9
Step and field conditionality (#87)
* Re structure builder logic to allow for step conditionality

Concerns
- Performance. Look at whether the additional build in the steps controller can be reduced
- Does not work if applied to the last step.
- Certain conditions will not work with the first step(?)
- How should this be scoped to known functionality?

* Add indexes and conditions to steps and fields

* Complete and add spec

* Complete backend

* Complete step conditionality and field indexing

* Fix failing spec

* Update coverage

* Apply rubocop

* Apply prettier

* Apply prettier to wizard js

* Fix schema issues created in merge

* Remove setting label for force_final

* Improve client wizard cache naming

* Improve steps controller and spec conditionality

* Improve final step attribute naming

* Fix failing spec

* Linting

* Add one more final step test

* Linting

* Fix eslint issues

* Apply prettier

* Linting, syntax, merge and copy cleanups

* Update wizard-admin.scss

* Fix template linting

* Rubocop fixes
2021-04-20 23:28:19 +05:30
Faizaan Gagan
0205d8ccb5
fixed linting issues for javascripts/wizard folder (#94)
* ran eslint and fixes linting issues for javascripts/wizard folder

* ran prettier
2021-04-12 11:56:22 +05:30
Angus McLeod
cf50a7deb3
Apply prettier 💄 (#80)
* Apply prettier

* applied prettier for similar-topics-validator

Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2021-03-28 14:36:49 +05:30
Angus McLeod
3bff13492f Allow wizard i18n to be overridden by wizard theme i18n 2020-11-26 16:45:30 +11:00
Angus McLeod
f28bde5206 I18n is now imported 2020-05-14 13:42:11 +10:00
Angus McLeod
802f7d1fd5 Add required data message 2019-07-27 17:01:29 +10:00
Angus McLeod
650dc498a4 Add required data && permitted params to steps 2019-07-02 14:49:14 +10:00
Angus McLeod
e859e3efa2 various 2017-10-13 21:02:34 +08:00
Angus McLeod
f8848d2b93 Custom forms display steps, just don't save data yet 2017-09-29 19:27:03 +08:00