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

13 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
8893e6caf1 Refactor wizard client and add tests 2022-03-16 12:33:34 +01: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
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
2046648862 various 2020-04-01 21:58:30 +11:00
Angus McLeod
ee61c1deb3 add permitted setting 2020-03-30 17:16:03 +11:00
Angus McLeod
20f605b899 Use wizard name in no access messages 2019-06-19 13:39:39 +08:00
Angus McLeod
aa7dd16827 Handle guests on wizard routes 2019-06-19 13:23:10 +08:00
Angus McLeod
9a3ae6406f Fix completed? for reused wizards && ensure users with no access can get back to site 2018-05-09 15:06:43 +10:00
Angus McLeod
0d4ecc3c90 Handle id for which there is no wizard 2017-12-03 15:57:40 +08:00
Angus McLeod
f7c1170e07 Add min trust setting 2017-11-29 17:48:49 +08:00
Angus McLeod
f6251ace06 various 2017-10-22 11:37:58 +08: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