0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 04:12:53 +01:00
Commit-Graph

64 Commits

Autor SHA1 Nachricht Datum
Faizaan Gagan
ca10ae797a
FEATURE: new field type Composer Preview (#130)
* WIP

* composer preview field working

* remove redundant variable

* fix linting issues

* fix rubocop

* remove unnecessary entry

* consolidate preview generation code

* add styles for onebox

* add css for @ mentions

* fixed eslint issues

* FIX: ensure oneboxes load every time

* remove unused import

* fix prettier issues

* removed unused code

* remove unused imports

* fixed prettier issue

* improve css structure

* add csrf header in all cases
2021-07-12 17:05:05 +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
angusmcleod
9c17957b43 Apply to javascripts/discourse 2021-04-12 15:10:02 +10:00
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
angusmcleod
c45e51fcb6 Various fixes
* Code formatting
* Both "type" and "name" are used to refer to the validation type. Changed all to "type".
* Added proper abstraction of realtime validation classes on server
* UI improvements in admin and wizard
2021-02-16 11:43:00 +11:00
Faizaan Gagan
ffd2101a30 added backend validation mechanism and refined code 2021-02-01 19:28:37 +05:30
Faizaan Gagan
79e2368b57 validation framework code working 2021-01-30 23:16:04 +05:30
Faizaan Gagan
5d749fe426 some changes 2021-01-27 10:38:26 +05:30
Faizaan Gagan
ba029c7973 Renamed computed property 2021-01-12 13:03:20 +05:30
Faizaan Gagan
4f7d18d193 FEATURE: added max length setting for text type fields 2020-12-08 12:44:37 +05:30
Angus McLeod
b4d956a99c Don't allow minLength input for url field 2020-11-13 11:44:19 +11:00
Angus McLeod
55d7059469 Add missing isComposer computed property 2020-10-06 20:33:19 +11:00
Angus McLeod
888072f196 Merge branch 'master' into add_date_time_inputs 2020-07-22 11:30:40 +10:00
Angus McLeod
8fb44749f5 Add create_group 2020-07-16 15:25:06 +10:00
Angus McLeod
8d9179665b Working date, time and dateTime inputs 2020-07-16 13:26:56 +10:00
Angus McLeod
802d74bab2 Add text selection and conditional input type to dropdown content options 2020-06-22 20:47:42 +10:00
Angus McLeod
8cd8c3aeaa Add field and action messages 2020-04-20 21:40:32 +10:00
Angus McLeod
32aa7cc897 Improve change handling structure 2020-04-20 19:41:13 +10:00
Angus McLeod
d194a8313a Add user field options as dropdown option 2020-04-19 21:02:14 +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
f8104eb01b Limit dropdown types 2020-04-14 22:10:42 +10:00
Angus McLeod
303c79be1f Only clear mapped properties if the field id remains the same 2020-04-14 16:06:02 +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
98f9215d65 various 2020-04-08 12:52:07 +10:00
Angus McLeod
6ced0cf13c various 2020-04-07 21:06:35 +10:00
Angus McLeod
b5fce333f6 wip 2020-04-07 17:54:30 +10:00
Angus McLeod
e3fa75597b various 2020-04-07 14:56:16 +10:00
Angus McLeod
6570e4b74b wip 2020-04-06 18:36:38 +10:00
Angus McLeod
04d7fc1c59 various 2020-04-06 11:54:16 +10:00
Angus McLeod
7b3ed54f29 various 2020-04-05 11:37:09 +10:00
Angus McLeod
0d94c1d8c6 various 2020-04-02 19:21:03 +11:00
Angus McLeod
87a53a8c85 wip 2020-04-02 16:21:57 +11:00
Angus McLeod
2046648862 various 2020-04-01 21:58:30 +11:00
Angus McLeod
3bb16f1fb5 wip 2020-04-01 16:03:26 +11:00
Angus McLeod
66bd90a56e wip 2020-03-31 19:30:53 +11:00
Angus McLeod
9a489f3b9b Merge branch 'master' into add_group_field 2020-03-31 15:53:00 +11:00
Angus McLeod
ee61c1deb3 add permitted setting 2020-03-30 17:16:03 +11:00
Angus McLeod
b212eaa2f3 wip 2020-03-30 10:53:28 +11:00
Angus McLeod
fe7283ab3c Add content conditionals 2020-03-24 20:35:46 +11:00
Robert Barrow
ce9373dd91 working url and number validation 2020-03-23 18:40:11 +00:00
Angus McLeod
3a14cb0805 wip 2020-03-23 16:41:04 +11:00
Angus McLeod
2e6ab27ea0 add prefil 2020-03-22 04:30:11 +11:00
Angus McLeod
b8369146c7 remove preset dropdown 2020-03-19 18:58:45 +11:00
Angus McLeod
e293a3f5e9 Update to select-kit-2 2020-02-02 21:42:05 +11:00
Robert Barrow
5b210c41d4 REMOVE: all national flags logic that will be moved to national flags plugin 2019-11-10 22:48:06 +00:00
Robert Barrow
1670ed4b67 NEW FEATURE: ability to request national flag update in wizard 2019-09-11 09:30:38 +01:00
Angus McLeod
0460f9342d Allow selection of category property type 2019-07-26 19:12:58 +10:00
Angus McLeod
dfe8debda7 Revert "Revert "Add category and tag selectors""
This reverts commit f8a8d5a964.
2019-07-26 18:59:21 +10:00
Angus McLeod
f8a8d5a964 Revert "Add category and tag selectors"
This reverts commit 2e5af57c26.
2019-07-26 18:23:16 +10:00