-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #297 from paviliondev/fix_tests_and_deprecations
FIX: tests and deprecations
- Loading branch information
Showing
229 changed files
with
5,059 additions
and
9,496 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("@discourse/lint-configs/prettier"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("@discourse/lint-configs/template-lint"); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
...se/components/custom-user-selector.js.es6 → ...course/components/custom-user-selector.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ts/custom-wizard-category-selector.js.es6 → ...onents/custom-wizard-category-selector.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
...ponents/custom-wizard-composer-editor.hbs → ...ponents/custom-wizard-composer-editor.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
30 changes: 30 additions & 0 deletions
30
assets/javascripts/discourse/components/custom-wizard-date-time-input.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{{#unless this.timeFirst}} | ||
{{custom-wizard-date-input | ||
date=this.date | ||
relativeDate=this.relativeDate | ||
onChange=(action "onChangeDate") | ||
tabindex=this.dateTabindex | ||
}} | ||
{{/unless}} | ||
|
||
{{#if this.showTime}} | ||
{{custom-wizard-time-input | ||
date=this.date | ||
relativeDate=this.relativeDate | ||
onChange=(action "onChangeTime") | ||
tabindex=this.timeTabindex | ||
}} | ||
{{/if}} | ||
|
||
{{#if this.timeFirst}} | ||
{{custom-wizard-date-input | ||
date=this.date | ||
relativeDate=this.relativeDate | ||
onChange=(action "onChangeDate") | ||
tabindex=this.dateTabindex | ||
}} | ||
{{/if}} | ||
|
||
{{#if this.clearable}} | ||
{{d-button class="clear-date-time" icon="times" action=(action "onClear")}} | ||
{{/if}} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
assets/javascripts/discourse/components/custom-wizard-field-category.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{{custom-wizard-category-selector | ||
categories=this.categories | ||
class=this.fieldClass | ||
whitelist=this.field.content | ||
onChange=(action (mut this.categories)) | ||
tabindex=this.field.tabindex | ||
options=(hash maximum=this.field.limit) | ||
}} |
5 changes: 3 additions & 2 deletions
5
...nents/custom-wizard-field-category.js.es6 → ...omponents/custom-wizard-field-category.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../custom-wizard-field-composer-preview.hbs → .../custom-wizard-field-composer-preview.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<div class="wizard-composer-preview d-editor-preview-wrapper"> | ||
<div class="d-editor-preview"> | ||
{{html-safe field.preview_template}} | ||
{{html-safe this.field.preview_template}} | ||
</div> | ||
</div> |
5 changes: 3 additions & 2 deletions
5
...stom-wizard-field-composer-preview.js.es6 → ...s/custom-wizard-field-composer-preview.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.