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

860 Commits

Autor SHA1 Nachricht Datum
angusmcleod
9c17957b43 Apply to javascripts/discourse 2021-04-12 15:10:02 +10:00
Angus McLeod
cb930a27bb
Merge pull request #92 from paviliondev/jquery-timepicker-2
Remove jquery timepicker from wizard client
2021-04-12 15:05:22 +10:00
angusmcleod
0a23172fa9 Remove jquery timepicker from wizard client 2021-04-12 15:05:04 +10:00
Angus McLeod
f26176b7ab
Merge pull request #91 from paviliondev/move_vendor_assets
Remove jquery timepicker
2021-04-12 14:57:23 +10:00
angusmcleod
88a0846842 Remove jquery timepicker 2021-04-12 14:56:48 +10:00
Faizaan Gagan
9289439cbd
added gems folder to gitignore (#90) 2021-04-12 10:19:37 +05:30
Faizaan Gagan
105fc46774
FEATURE: added liquid based templating (#83)
* FEATURE: added liquid based templating

* templating should be false by default

* added rspec tests for mapper templating

* wrapped templating tests in a context block

* added a custom liquid filter and tests

* ran rubocop on changed files

* DEV: minor variable and naming changes

* minor code formatting

* improved overall structure and tightened spec for custom filter

* added a spec template: false

* define method at the top of spec file

* naming convention

* removed extra space
2021-04-09 11:04:42 +05:30
Faizaan Gagan
dadac11c1e
FIX: use wizard-i18n helper to support theme translation overrides (#88) 2021-04-07 10:49:48 +05:30
Faizaan Gagan
2fe3aa53b1
disable autocomplete when similar-topics validation is enabled (#85) 2021-04-02 19:21:33 +05:30
Faizaan Gagan
369ceb8584 FIX: set similarTopics to null when searching 2021-03-31 11:54:29 +05:30
Angus McLeod
d3e34a5be2
Merge pull request #84 from paviliondev/fix-theme-i18n
FIX: explicitly lookup for translation overrides in wizard theme
2021-03-30 22:03:16 +11:00
Faizaan Gagan
e79458f6ce FIX: explicitly lookup for translation overrides in wizard theme 2021-03-30 13:04:52 +05:30
Angus McLeod
cf50a7deb3
Apply prettier 💄 (#80)
* Apply prettier

* applied prettier for similar-topics-validator

Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2021-03-28 14:36:49 +05:30
Faizaan Gagan
94a02157af
FIX: hide similar topics if the field becomes empty (#82) 2021-03-25 16:31:26 +05:30
Angus McLeod
87675c1bfa
Merge pull request #81 from paviliondev/similar-topics-impr
IMPR: added a state for insufficient characters
2021-03-25 19:11:55 +11:00
Faizaan Gagan
9d0a061099 removed unused computed property 2021-03-25 11:38:53 +05:30
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