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

1066 Commits

Autor SHA1 Nachricht Datum
Faizaan Gagan
c1481e2ad4 Merge branch 'main' into wizard-permissions 2021-10-30 14:29:32 +05:30
angusmcleod
b9b80ecc63 FIX: use object property shorthand to make linter happy 2021-10-28 09:55:50 +08:00
Angus McLeod
c2864b9790
Merge pull request #153 from paviliondev/conditionality_fix
Conditionality Fix
2021-10-28 09:46:14 +08:00
angusmcleod
a9af086252 bump version: patch
@fzngagan I don't think this qualifies as a new feature, as it's a bugfix plus a related UI update to make the UX of an existing feature clearer
2021-10-20 22:03:42 +08:00
angusmcleod
ede6752619 Apply prettier 2021-10-20 22:00:30 +08:00
angusmcleod
5abc0f4a4c IMPROVE: Add value type to mapper selector 2021-10-20 21:56:34 +08:00
angusmcleod
f908e5ec9d Add spec for fix 2021-10-20 21:19:21 +08:00
angusmcleod
805e934fdf FIX: cast both key and value as boolean if operator is `is:[true|false]` 2021-10-20 20:48:38 +08:00
angusmcleod
774cf70efc IMPROVE: remove custom paragraph line-height 2021-10-19 15:16:54 +08:00
Angus McLeod
69153a7379
IMPROVE: Add plugin metadata workflow with version check (#149)
* IMPROVE: Add plugin metadata workflow with version check

* Update error message

* Fix workflow keys

* Update plugin-metadata.yml

* Update plugin-metadata.yml

* Update plugin-metadata.yml

* bump version

* Update plugin-metadata.yml

* Update plugin-metadata.yml

* Use npm semver to compare versions

* Fix syntax

* Add semver to package.json

* Update npm usage

* Update plugin-metadata.yml

* Update plugin-metadata.yml

* purposefully fail test

* Pass test
2021-10-19 09:11:16 +05:30
Faizaan Gagan
687c3530b3 WIP 2021-10-19 09:05:55 +05:30
Faizaan Gagan
d9d4c7d8fa WIP 2021-10-14 18:27:18 +05:30
Angus McLeod
538d618ff3
FEATURE: Add mentionables integration (#148)
* Add mentionables integration

* fix linting issues

* bump version

* FIX: Use wizard site model

* FIX: apply prettier
2021-10-06 17:25:50 +05:30
angusmcleod
d4c25d406b DEV: add stable to github workflows 2021-10-05 14:33:27 +08:00
angusmcleod
1edfcca78b DEV: remove group log settings change from create_group action 2021-10-05 10:23:48 +08:00
Faizaan Gagan
2678ee153d
FEATURE: add resume wizard popup (#146)
* FEATURE: add resume wizard popup

* code cleanup, copy edits

* FIX: address functionality, setting and copy issues

@fzngagan a few issues fixed

1. The resume button wasn't working (old reference to ``resumeDialog`` remained in callback.
2. This needs a wizard setting
3. It's not necessary to serialize the first step separately. We have all the steps in ``steps`` and steps have indexes.
4. Button copy

* Fix linting

* Ensure aa submission exists

* Apply prettier

Co-authored-by: angusmcleod <angus@mcleod.org.au>
2021-09-22 13:52:05 +05:30
Faizaan Gagan
11192182e7
DEV: bump version according to latest calculation (#141)
* bump version according to latest calculation

* bumped version for the current PR
2021-09-09 19:06:01 +05:30
angusmcleod
15668d37dc COMPATIBILITY: add new click-trap vendor 2021-09-09 15:13:02 +08:00
angusmcleod
2cd02a15fe COMPATIBILITY: remove removed vendor 2021-09-09 14:39:36 +08:00
angusmcleod
61f7cf64af COMPATIBILITY: add new vendor require 2021-09-07 11:11:59 +08:00
angusmcleod
208cb1229a FIX: Minor bugfixes in manager and create_group action 2021-09-07 11:11:29 +08:00
angusmcleod
8ddff9873d Merge branch 'master' of https://github.com/angusmcleod/discourse-custom-wizard 2021-09-06 10:57:44 +08:00
angusmcleod
1d70232952 COMPATIBILITY: update stable commit after rebase 2021-09-06 10:53:53 +08:00
angusmcleod
4b20542251 COMPATIBILITY: pin current stable prior to tests-passed compatibility changes 2021-09-06 10:52:32 +08:00
angusmcleod
a5b0cf95ba COMPATIBILITY: Add new textarea-text-manipulation mixin 2021-09-06 10:52:32 +08:00
angusmcleod
9db8ce908a COMPATIBILITY: Add new composer-upload mixin 2021-09-06 10:52:32 +08:00
angusmcleod
e07a57e398 IMPROVE: by default every tag should be available in admin tag selector 2021-09-06 10:52:32 +08:00
angusmcleod
2362478c9c IMPROVE: by default every tag should be available in tag field 2021-09-06 10:52:32 +08:00
angusmcleod
481e9e668c IMPROVE: by default every tag should be available in admin tag selector 2021-09-06 10:45:41 +08:00
angusmcleod
8911862320 COMPATIBILITY: pin current stable prior to tests-passed compatibility changes 2021-09-06 10:30:04 +08:00
angusmcleod
65e269c71f IMPROVE: by default every tag should be available in tag field 2021-09-03 09:41:11 +08:00
angusmcleod
d5f8c46f2c COMPATIBILITY: Add new textarea-text-manipulation mixin 2021-09-01 19:49:44 +08:00
angusmcleod
8eced70f60 COMPATIBILITY: Add new composer-upload mixin 2021-08-31 11:25:06 +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
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
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
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