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

2614 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
b5a6d15c9d Add wizard field tabindex relative to field order 2021-01-19 18:50:37 +11:00
Faizaan Gagan
36094d70d6 fixed formatting for composer field type 2021-01-19 12:21:37 +05:30
Faizaan Gagan
5f121215d5 serialize max length attribute for wizard fields 2021-01-19 12:17:54 +05:30
Faizaan Gagan
f27ca60d24 updated char counter logic 2021-01-19 12:17:07 +05:30
Faizaan Gagan
4f70aea729 character count should be regular text 2021-01-16 17:34:37 +05:30
Faizaan Gagan
b2cdc1c29e REFACTOR: used new syntax for computed property 2021-01-16 17:27:38 +05:30
Angus McLeod
94456fd797 Merge branch 'master' into text-counter 2021-01-14 16:52:48 +11:00
Angus McLeod
0960dda2d3 Add theme "Header" html support 2021-01-14 16:41:08 +11:00
Angus McLeod
69f35e2e7d Revert "Remove out of date require"
This reverts commit ffc0d0e8bf.
2021-01-12 21:52:42 +11:00
Faizaan Gagan
57b51c2972 Added a wizard setting to toggle displaying character counter 2021-01-12 16:16:24 +05:30
Faizaan Gagan
ba029c7973 Renamed computed property 2021-01-12 13:03:20 +05:30
Faizaan Gagan
54acbc18d1 Merge branch 'master' into text-counter 2021-01-12 13:02:12 +05:30
Angus McLeod
ffc0d0e8bf Remove out of date require 2021-01-12 15:16:06 +11:00
Faizaan Gagan
25021edd82 added a computed property 2021-01-08 12:42:58 +05:30
Faizaan Gagan
ea5b420253 code formatting 2021-01-08 12:24:51 +05:30
Faizaan Gagan
10f80709c2 FEATURE: text length counter for text type fields 2021-01-08 12:20:57 +05:30
Angus McLeod
7389afe239
Merge pull request #64 from romanrizzi/debounce_wrapper
Use the new discourseDebounce function wrapper.
2021-01-04 14:24:08 +08:00
Angus McLeod
78dad97dc8 Use ember debounce until discourseDebounce hits stable 2021-01-04 14:22:43 +08:00
romanrizzi
11ff364cbe
Use the new discourseDebounce function wrapper.
We recently merged a Discourse core's PR to replace usages of Ember's debounce and discourseDebounce with a new debounce wrapper. The new wrapper works exactly like Ember's debounce but internally calls "run" when called in test mode.

This PR replaces all usages of other debounce functions with the new wrapper and fallbacks to Ember's debounce for backward-compatibility.
2020-12-22 11:06:13 -03:00
Angus McLeod
909f82095f Encode each query param seperately using Addressable 2020-12-19 10:16:12 +11:00
Angus McLeod
1962388501 Fix missing banner import 2020-12-18 19:25:04 +11:00
Angus McLeod
2177f8e837
Merge pull request #63 from paviliondev/max-length
FEATURE: added max length setting for text type fields
2020-12-14 21:47:45 +11:00
Angus McLeod
4aa040474f Update coverage 2020-12-14 21:40:14 +11:00
Faizaan Gagan
efaa0c5915 FIX: broke down the max length test into different cases 2020-12-14 12:16:32 +05:30
Faizaan Gagan
9c6f6d0db2 Reverted a formatting change 2020-12-08 13:41:45 +05:30
Faizaan Gagan
e12faad1f5 added positive test for max length check 2020-12-08 13:29:36 +05:30
Faizaan Gagan
49f82b4014 fixed formatting 2020-12-08 13:19:31 +05:30
Faizaan Gagan
3c3e67684f fixed html code formatting 2020-12-08 12:49:08 +05:30
Faizaan Gagan
4f7d18d193 FEATURE: added max length setting for text type fields 2020-12-08 12:44:37 +05:30
Angus McLeod
cb3821c7d8 Update locale spec to reflect new non_access handling 2020-12-08 13:30:44 +11:00
Angus McLeod
6dfd9e36c2 FIX: no access locale and svg icon 2020-12-08 13:27:19 +11:00
Angus McLeod
be204c1cb6 Clean up tests 2020-12-04 18:06:33 +11:00
Angus McLeod
d453d97df3 Add custom-wizard-specific caching system
Initially for use with registered custom fields
2020-12-04 18:05:56 +11:00
Angus McLeod
8a2a143ea8 Invalidate cache before checking enabled? 2020-12-04 09:45:28 +11:00
Angus McLeod
61dfa9b2aa Update url encoding in actions to handle deprecation 2020-12-04 09:38:01 +11:00
Angus McLeod
39ce7248a8 Add enabled? wrapper for CustomField extensions 2020-12-01 18:20:02 +11:00
Angus McLeod
f6f77547d7 Use explicit file loading for tests coverage 2020-12-01 08:20:10 +11:00
Angus McLeod
8274884505 Remove step_template from field validator arguments 2020-11-30 11:05:52 +11:00
Angus McLeod
96ac100602 version bump 2020-11-26 18:52:33 +11:00
Angus McLeod
3bff13492f Allow wizard i18n to be overridden by wizard theme i18n 2020-11-26 16:45:30 +11:00
Angus McLeod
f31054f75d Isolate and specify template and update validation 2020-11-26 14:05:50 +11:00
Angus McLeod
4be7349d99 Improve input error styles
- Use outline instead of border
- Remove unecessary padding and margin
2020-11-25 12:58:20 +11:00
Angus McLeod
80080e0cf1 Use dynamic time in after_time tests 2020-11-23 11:40:46 +11:00
Angus McLeod
63a3115dda Return wizard locales according to wizard permissions 2020-11-23 11:11:13 +11:00
Angus McLeod
e066ee4b00 Revert "Remove unused ExtraLocaleController extension"
This reverts commit 37c18ff324.
2020-11-23 10:11:45 +11:00
Angus McLeod
542195a0e0
Merge pull request #60 from OrbitalOwen/bug-fix/min-length-composer
Add composer to valid text fields for min length option
2020-11-13 13:02:03 +11:00
Angus McLeod
4b3efb2e1b Merge branch 'master' of https://github.com/angusmcleod/discourse-custom-wizard 2020-11-13 11:44:28 +11:00
Angus McLeod
b4d956a99c Don't allow minLength input for url field 2020-11-13 11:44:19 +11:00
Angus McLeod
5a7d8ea355 Add spec to ensure min_length applied to all text fields 2020-11-13 11:39:59 +11:00
Angus McLeod
26b3797159
Merge pull request #59 from paviliondev/composer-drop
FIX: confine the wizard composer's dropZone
2020-11-13 11:22:13 +11:00