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

879 Commits

Autor SHA1 Nachricht Datum
Faizaan Gagan
800795047a added wizard- prefix to component name 2021-02-11 12:45:54 +05:30
angusmcleod
d339130c34 Switch to using category_id instead of slug for open_composer
See further https://thepavilion.io/t/category-is-not-working-in-open-composer-action/3979/2
2021-02-08 21:06:28 +11:00
angusmcleod
6849c368f0 Support discourse client theme color schemes
This allows for color scheme switching via theme switching (e.g. for user selected dark modes). See further https://thepavilion.io/t/allow-wizard-themes-to-support-default-dark-mode-variables/3710
2021-02-08 13:07:21 +11:00
Faizaan Gagan
77ca946745 completed categories and date after filters 2021-02-05 18:29:30 +05:30
Faizaan Gagan
ffd2101a30 added backend validation mechanism and refined code 2021-02-01 19:28:37 +05:30
Faizaan Gagan
fa57bb8a5b Merge branch 'master' into realtime-validation 2021-01-30 23:18:43 +05:30
Faizaan Gagan
79e2368b57 validation framework code working 2021-01-30 23:16:04 +05:30
Faizaan Gagan
2681fe21ad
FIX: wizard composer size should be consistent accross broswers (#68) 2021-01-27 11:43:09 +05:30
Faizaan Gagan
e7635b632c
added dynamic attributes that can be targetted via css (#67) 2021-01-27 10:48:22 +05:30
Faizaan Gagan
5d749fe426 some changes 2021-01-27 10:38:26 +05:30
Faizaan Gagan
3cc45fa714 frontend validator apis 2021-01-26 13:35:10 +05:30
Angus McLeod
505043922e
Merge pull request #65 from paviliondev/text-counter
FEATURE: text length counter for text type fields
2021-01-20 19:59:04 +11:00
Faizaan Gagan
7bc7c4013e simplified pluralization logic 2021-01-20 14:22:52 +05:30
Angus McLeod
d85ee726d4 Update wizard-date-input.hbs 2021-01-20 19:34:51 +11:00
Faizaan Gagan
cdfd699491 resolved conflicts with latest code 2021-01-20 13:07:44 +05:30
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