0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-15 22:32:54 +01:00
Commit-Graph

28 Commits

Autor SHA1 Nachricht Datum
Faizaan Gagan
310a3b0328 fixed linting 2021-06-01 11:19:39 +05:30
Faizaan Gagan
28094ab17b modified docs according to new field model structure 2021-06-01 10:57:49 +05:30
Faizaan Gagan
f9f67c09e8 dynamically generate permitted params for admin wizard save 2021-05-24 07:03:30 +05:30
Faizaan Gagan
ce705d32da simple framework to compute field attributes at runtime 2021-05-23 23:11:46 +05:30
Faizaan Gagan
4b559fb74e specify serializable attributes in field model 2021-05-17 01:21:55 +05:30
Faizaan Gagan
442f096940 fix naming and structure 2021-05-16 17:26:27 +05:30
Faizaan Gagan
343f594f18 dynamically set field attributes based on static list 2021-05-16 17:22:46 +05:30
Faizaan Gagan
887de25833 FIX: set checkbox field default value as false 2021-04-30 22:59:06 +05:30
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
3bb244be79 Add .jpeg to list of default upload extensions 2021-03-12 21:12:26 +11:00
Angus McLeod
4edb40e526
Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
Faizaan Gagan
79e2368b57 validation framework code working 2021-01-30 23:16:04 +05:30
Faizaan Gagan
57b51c2972 Added a wizard setting to toggle displaying character counter 2021-01-12 16:16:24 +05:30
Faizaan Gagan
49f82b4014 fixed formatting 2020-12-08 13:19:31 +05:30
Faizaan Gagan
4f7d18d193 FEATURE: added max length setting for text type fields 2020-12-08 12:44:37 +05:30
Angus McLeod
fc7c5b9b34 Complete tests 2020-11-03 11:24:20 +11:00
Angus McLeod
888072f196 Merge branch 'master' into add_date_time_inputs 2020-07-22 11:30:40 +10:00
Angus McLeod
1e4348b67a Complete new group category actions 2020-07-16 17:50:09 +10:00
Angus McLeod
8d9179665b Working date, time and dateTime inputs 2020-07-16 13:26:56 +10:00
Angus McLeod
1f7f17ee30 Add date field 2020-07-02 15:25:17 +10:00
Angus McLeod
d26744cf56 Schema handling updates
- support custom field types
- move client schema to seperate helper
- handle schema defaults properly
2020-04-16 12:04:27 +10:00
Angus McLeod
d8fd5cb258 various 2020-04-11 16:22:12 +10:00
Angus McLeod
3c8dc540c8 wip 2020-04-10 17:57:49 +10:00
Angus McLeod
9a489f3b9b Merge branch 'master' into add_group_field 2020-03-31 15:53:00 +11:00
Robert Barrow
ce9373dd91 working url and number validation 2020-03-23 18:40:11 +00:00
Robert Barrow
f2d7f57bb6 first feature commit 2020-03-23 14:49:39 +00:00
Angus McLeod
2e6ab27ea0 add prefil 2020-03-22 04:30:11 +11:00
Angus McLeod
f1fdc37a21 Add enabled setting && tests && file restructure 2019-12-05 17:48:32 +11:00
Umbenannt von lib/field.rb (Weiter browsen)