angusmcleod
03fb7b7ada
WIP: update field data handling to support column toggling
2021-08-25 09:59:24 +08:00
Angus McLeod
e865516f48
Merge pull request #138 from paviliondev/maybe_later_bug
...
FIX: clear submission if skipped by user
2021-08-23 14:12:48 +08:00
Faizaan Gagan
0b20c6ff81
removed redundant method
2021-08-23 10:38:02 +05:30
Faizaan Gagan
1916335fa9
FIX: use class method as alias for instance method
2021-08-23 03:00:14 +05:30
angusmcleod
a810155f91
Clean up pro constants
2021-08-18 14:59:43 +08:00
angusmcleod
eadc40bdae
Add CustomWizard class protections and pro feature restrictions
2021-08-18 14:11:00 +08:00
angusmcleod
eff1d2c7d2
Merge branch 'master' into pro-features
2021-08-17 19:35:10 +08:00
Faizaan Gagan
e260241dea
group specs related to skip
functionality in a context
2021-08-13 18:58:41 +05:30
Faizaan Gagan
3c70b712bf
remove redundant reset method
2021-08-13 18:57:20 +05:30
Faizaan Gagan
4578cb0a24
use existing method to reset user's progress
2021-08-13 18:56:38 +05:30
Faizaan Gagan
61c92ec768
FIX: reset user's progress on wizard skip
2021-08-13 17:49:31 +05:30
Faizaan Gagan
bfa190e98b
Revert "FIX: reset step progress on wizard skip"
...
This reverts commit 0d2f3d1cb5
.
2021-08-13 02:55:25 +05:30
Faizaan Gagan
0d2f3d1cb5
FIX: reset step progress on wizard skip
2021-08-12 20:02:04 +05:30
Faizaan Gagan
249cda4de6
Merge branch 'master' into maybe_later_bug
2021-08-12 19:57:38 +05:30
Faizaan Gagan
973cffee26
FIX: disable string caching in Oj
gem while running specs ( #139 )
2021-08-12 19:56:17 +05:30
Faizaan Gagan
89f733ae32
added spec to verify functionality
2021-08-12 17:11:58 +05:30
angusmcleod
e81b773512
Move pro conditions out of advanced section
2021-08-10 17:18:49 +08:00
Faizaan Gagan
dee3691cd0
fix formatting
2021-08-10 14:35:56 +05:30
Faizaan Gagan
c1fc2fd0e4
FIX: clear submission if skipped by user
2021-08-10 14:31:59 +05:30
angusmcleod
f49f516403
Add pro restriction
2021-08-10 17:00:42 +08:00
angusmcleod
a7904a28af
Update pro admin title attributes
2021-08-10 15:32:21 +08:00
angusmcleod
a27c222dc6
Update authentication and subscription handling
2021-08-10 14:45:23 +08:00
Keegan George
ae271ce647
UX: Add support button to admin-nav ( #118 )
...
* Add support button to admin-nav
* FIX: Security vulnerabilities with _blank anchor link
* Update pro support url
* UX: Create pro button custom styling
* UX: Merge support button focus styling with hover
* DEV: Move pro support url to setting
* UX: Change support button name to Pro Support
* DEV: Format stylesheet code
* DEV: Use variables and change selector specificity for pro button
* DEV: Hardcode pro-support url in button
* DEV: Remove support url localization
* DEV: Undo formatting fixes and add pro support button strings
* DEV: Undo formatting fixes auto applied
* DEV: Add space between selectors
* DEV: Convert scss variables to CSS Custom properties
* DEV: Fix linting
* FIX: Use SCSS variables for color manipulation functions
* DEV: Fix space before i18n
* DEV: Add new line at end of file
* DEV: Add new line at end of file
* DEV: Remove name attribute in localizations
* DEV: Remove padding from new line
2021-08-09 14:44:44 -07:00
Faizaan Gagan
f00d01c50f
FIX: ensure single incomplete submission existence ( #136 )
...
* created method to fetch incomplete submissions
* added new field 'updated_at' to submission schema
* Revert "created method to fetch incomplete submissions"
This reverts commit 15c65236e7
.
* added logic to cleanup redundant incomplete submissions
* logic improvements and spec
* simplified the cleanup logic
* simplified the logic further
* early return to improve performance
* consolidated cleanup logic
* perform cleanup in wizard.update
* fixed issue
* minor fix
* use consistent naming
2021-08-02 13:01:49 +05:30
Faizaan Gagan
998757f857
FIX: apply text length validations for non-empty fields only ( #137 )
...
* apply text length validations for non-empty fields only
* consolidated logic
* fixed formatting
* fix formatting
* calculate length only for string type values
* fix assignment
* added specs
2021-07-30 16:03:48 +05:30
Faizaan Gagan
ee9e9a1d94
FIX: skip_guardian option is removed from discourse core
2021-07-28 19:01:09 +05:30
Keegan George
51038ade8a
FIX: Update help text in wizard message bar
2021-07-26 10:44:08 -07:00
angusmcleod
55b92f4256
IMPROVE: Add additional data to submission serialiser
2021-07-21 11:31:03 +08:00
Angus McLeod
911a47db28
IMPROVE: Remove sortable and add manual step and field sorting ( #135 )
...
* IMPROVE: Remove sortable and add manual step and field sorting
* Apply eslint
* Apply prettier
2021-07-20 13:02:18 +05:30
Keegan George
543b676f53
Merge branch 'pro-release' of https://github.com/paviliondev/discourse-custom-wizard into ui_conventions
2021-07-19 09:30:48 -07:00
Keegan George
5f5adf93e4
Merge pull request #134 from paviliondev/admin-ui-support
...
IMPROVE: Admin UI support
2021-07-19 09:18:28 -07:00
Keegan George
bdc4044581
Merge branch 'pro-release' of https://github.com/paviliondev/discourse-custom-wizard into ui_conventions
2021-07-19 07:11:47 -07:00
Faizaan Gagan
247f7ca466
IMPROVE: reduce field placeholder setting textarea width
2021-07-14 13:32:19 +05:30
angusmcleod
1a78b44d35
Apply rubocop
2021-07-14 14:06:54 +08:00
angusmcleod
56a1463413
Apply prettier
2021-07-14 14:05:13 +08:00
angusmcleod
34fee3729c
Add pagination to submissions
2021-07-14 14:04:19 +08:00
angusmcleod
7375c63403
Version bump
2021-07-13 12:03:11 +08:00
Angus McLeod
5aef8972ff
Merge pull request #125 from paviliondev/submission_improvements
...
Abstract and improve submission handling
2021-07-12 22:43:13 +08:00
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
angusmcleod
d602281a6a
Fix failing test
2021-07-12 16:39:37 +08:00
angusmcleod
dfd382cd8a
Apply prettier
2021-07-12 16:01:52 +08:00
angusmcleod
56f58414b3
Remove meta keys from fields attribute and update submissions ui to handle new submission structure
2021-07-12 15:53:58 +08:00
angusmcleod
20c8ec1202
Merge branch 'master' into pr/125
2021-07-12 14:05:02 +08:00
Faizaan Gagan
d88d2b7d97
converted placeholder input to a textarea ( #133 )
2021-07-10 11:33:00 +05:30
Faizaan Gagan
e4df646022
FIX: clear site model cache to prevent spec failure ( #132 )
2021-07-08 13:04:03 +05:30
Faizaan Gagan
c9f90fb8ce
FIX: text length validation bug
2021-07-07 11:50:56 +05:30
Angus McLeod
9293aaeabc
Merge pull request #131 from paviliondev/text-placeholder
...
FEATURE: placeholder setting for text type fields
2021-07-05 16:44:09 +10:00
Faizaan Gagan
d47950733d
enabled interpolation and templating
2021-07-05 11:52:29 +05:30
Faizaan Gagan
21ac87cdda
FEATURE: placeholder setting for text type fields
2021-07-03 15:41:49 +05:30
Faizaan Gagan
c2e51cba3a
FIX: hide placeholder on field focus
2021-07-03 13:23:33 +05:30