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

2594 Commits

Autor SHA1 Nachricht Datum
Faizaan Gagan
873b30ac65 improved code structure 2021-03-25 11:33:12 +05:30
Faizaan Gagan
ee613d74c8 minor fix 2021-03-25 11:30:57 +05:30
Faizaan Gagan
c62f1ac96f IMPR: added a state for insufficient characters 2021-03-25 11:18:33 +05:30
Faizaan Gagan
04b2b87ea2
FIX: lookup for assets in the wizard specified theme (#79) 2021-03-19 01:14:57 +05:30
Penar Musaraj
fa73a18363
Ensure SCSS compilation compatibility with core (#77)
* WIP: Fix for new Discourse

* Ensure SCSS compilation compatibility with core

Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2021-03-13 13:27:18 +05:30
angus
3bb244be79 Add .jpeg to list of default upload extensions 2021-03-12 21:12:26 +11:00
angus
e7a1472a1c Handle when permitted is set as "everyone" 2021-03-12 21:02:42 +11:00
angus
6a469b2e50 Remove user fields that can't be interpolated 2021-03-12 19:50:03 +11:00
angus
2d93313aab Make start check boolean 2021-03-12 18:38:50 +11:00
angus
1396314660 BUGFIX: Wizard serializer guest protections logic issue 2021-03-12 18:29:09 +11:00
angus
ac15ed8983 COMPATIBILITY: core autofocus does not work with custom wizard DOM structure 2021-03-12 18:02:50 +11:00
Angus McLeod
4edb40e526
Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
Angus McLeod
065bc17929
Update plugin_helper.rb (#75) 2021-03-11 11:08:12 +05:30
angus
a86942df2e Add contact email to plugin metadata 2021-03-10 20:45:45 +11:00
Angus McLeod
3758fa3324
Merge pull request #74 from paviliondev/similar-topics-setting
IMPR: implemented a relative time based filtering for similar topics
2021-02-26 15:29:18 +11:00
Faizaan Gagan
cced7a8d25 minor formatting 2021-02-26 09:53:39 +05:30
Faizaan Gagan
33e457a5c9 simplified the conditional 2021-02-26 09:46:23 +05:30
Faizaan Gagan
6754d744f0 renamed setting's copy to Max Topic Age 2021-02-25 17:10:02 +05:30
Faizaan Gagan
bc2cc85804 rename n_value to time_n_value 2021-02-25 15:59:42 +05:30
Faizaan Gagan
c54273b94a implemented a relative time based filtering for similar topics 2021-02-25 15:36:43 +05:30
angusmcleod
c01055bf04 Update README.md 2021-02-24 16:07:50 +11:00
Faizaan Gagan
3d9a564d63
IMPR: simplified similar topics template (#73)
* IMPR: simplified similar topics template

* renamed label to key

* minor formatting

* added dasherize logic for classnames
2021-02-22 16:25:47 +05:30
Faizaan Gagan
19cc7a7365
FIX: prevent error if no categories are passed (#72) 2021-02-22 14:41:18 +05:30
angusmcleod
fed1beb4ed Update knowledgebase url 2021-02-20 18:19:05 +11:00
angusmcleod
4e7b13ffe3 Version bump 2021-02-20 18:18:27 +11:00
angusmcleod
5794349244 Ensure url field validates properly and accepts empty inputs 2021-02-20 17:59:41 +11:00
angus
2bca82a159 Fix admin style issues 2021-02-19 17:18:30 +11:00
angus
1a175b4d2b Ensure prompt completion works as intended
- Users who have completed should never see prompt
- Add rspec test for this case
2021-02-19 17:10:59 +11:00
Faizaan Gagan
38a68c07e2
FIX: table styles for wizard composer preview (#70)
* copied over markdown table styles from discourse

* added a description comment
2021-02-18 18:20:40 +05:30
angusmcleod
b8a21eefe2 Position loading spinner in bottom right of composer 2021-02-18 14:57:16 +11:00
angusmcleod
13525261ad Fix out of date open composer spec 2021-02-18 14:44:14 +11:00
angusmcleod
5e09d067bc Display category badge if similar topics is scoped to category 2021-02-18 14:40:59 +11:00
Angus McLeod
7f021791f5
Merge pull request #69 from paviliondev/realtime-validation
FEATURE: Implemented realtime validation framework
2021-02-17 15:50:39 +11:00
angusmcleod
41be645c17 Improve show/hide of similar topics results 2021-02-17 15:49:20 +11:00
angusmcleod
db17a7d1ca Fix z-index issue 2021-02-17 14:57:42 +11:00
angusmcleod
9587dfd488 Update .last_run.json 2021-02-17 14:42:02 +11:00
angusmcleod
8d72aee4fc Fix failing test (not RV related) 2021-02-17 14:40:04 +11:00
angusmcleod
4036313e75 Fix relative path 2021-02-17 14:36:54 +11:00
Faizaan Gagan
d68967c63f added plugin helper 2021-02-17 00:15:48 +05:30
Faizaan Gagan
c1b04eaaec added tests for required_params 2021-02-16 23:43:16 +05:30
Faizaan Gagan
40a2380775 added specs for CustomWizard::RealtimeValidationsController 2021-02-16 21:54:42 +05:30
Faizaan Gagan
47019664b1 removed context block 2021-02-16 20:06:05 +05:30
Faizaan Gagan
c5ad11c0a4 added tests for CustomWizard::RealtimeValidation::SimilarTopics class 2021-02-16 19:59:23 +05:30
Faizaan Gagan
c196c4fee7 added tests for CustomWizard::RealtimeValidation class 2021-02-16 19:58:43 +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
8a6b240b46 removed extra newline 2021-02-15 19:03:01 +05:30
Faizaan Gagan
7ef7b4b8e0 fixed formatting 2021-02-15 19:02:11 +05:30
Faizaan Gagan
69ce09bdf7 moved serialization logic to the controller 2021-02-15 18:12:32 +05:30
Faizaan Gagan
20c8d8493e fixed code formatting for realtime_validation class 2021-02-15 17:57:15 +05:30
Faizaan Gagan
aeadef9aa5 improved wizard settings UX 2021-02-15 17:21:59 +05:30