0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00
Commit-Graph

833 Commits

Autor SHA1 Nachricht Datum
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
Faizaan Gagan
3f4b8afb55 fixed code formatting 2021-02-15 13:58:27 +05:30
Faizaan Gagan
eb29193d8b fixed formatting for main validator component 2021-02-15 13:49:14 +05:30
Faizaan Gagan
4e12e872be removed unused code 2021-02-15 13:47:37 +05:30
Faizaan Gagan
afbc4e1f57 fixed similar topics validator formatting 2021-02-15 13:46:19 +05:30
Faizaan Gagan
70cc20a919 remove unused keys 2021-02-15 13:44:46 +05:30
Faizaan Gagan
3de3ea44d0 fixed formatting for field-validators component 2021-02-15 13:41:58 +05:30
Faizaan Gagan
b74526ae4f fixed formatting 2021-02-15 13:39:37 +05:30
angusmcleod
4ca82b9f4d Style updates (WIP)
See further comments on thepavilion.io
2021-02-13 12:51:37 +11:00
angusmcleod
b8671cef74 Remove redundant use of "settings" 2021-02-13 11:58:38 +11:00
Faizaan Gagan
17ba3f9d77 removed the widgets framework 2021-02-11 22:38:22 +05:30
Faizaan Gagan
4883d85d56 renamed the validator 2021-02-11 22:35:04 +05:30