chore: 🤖 add refreshRouteOnChange option to resource filters (#1289)
This commit is contained in:
1 parent
2614b311a1
commit
3ff89279e6
14 files changed
+92
-54
No files matched your search
@@ -1,8 +1,9 @@
|
||||
<a
|
||||
class="doc-link"
|
||||
class='doc-link'
|
||||
href={{(doc-url @doc)}}
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
title={{t "actions.get-topic-help"}}>
|
||||
<Rose::Icon @name="flight-icons/svg/help-24" @size={{@iconSize}} />
|
||||
</a>
|
||||
target='_blank'
|
||||
rel='noreferrer noopener'
|
||||
title={{t 'actions.get-topic-help'}}
|
||||
>
|
||||
<Rose::Icon @name='flight-icons/svg/help-24' @size={{@iconSize}} />
|
||||
</a>
|
||||
@@ -1,10 +1,13 @@
|
||||
<Rose::Message
|
||||
@title={{t (concat "errors." this.messageCode ".title")}}
|
||||
@subtitle={{concat (t "errors.generic.title") " " @status}}
|
||||
@title={{t (concat 'errors.' this.messageCode '.title')}}
|
||||
@subtitle={{concat (t 'errors.generic.title') ' ' @status}}
|
||||
@icon={{this.icon}}
|
||||
as |message|>
|
||||
<message.description>{{t (concat "errors." this.messageCode ".description")}}</message.description>
|
||||
as |message|
|
||||
>
|
||||
<message.description>{{t
|
||||
(concat 'errors.' this.messageCode '.description')
|
||||
}}</message.description>
|
||||
{{#if this.helpRoute}}
|
||||
<message.link @route={{this.helpRoute}}>{{t "actions.help"}}</message.link>
|
||||
<message.link @route={{this.helpRoute}}>{{t 'actions.help'}}</message.link>
|
||||
{{/if}}
|
||||
</Rose::Message>
|
||||
</Rose::Message>
|
||||
@@ -1,9 +1,10 @@
|
||||
{{!-- //TODO fix the issue and delete disabling the rule --}}
|
||||
{{!-- template-lint-disable no-passed-in-event-handlers --}}
|
||||
{{! //TODO fix the issue and delete disabling the rule }}
|
||||
{{! template-lint-disable no-passed-in-event-handlers }}
|
||||
{{#if @model.type}}
|
||||
{{component (concat "form/authenticate/" @model.type)
|
||||
{{component
|
||||
(concat 'form/authenticate/' @model.type)
|
||||
submit=@submit
|
||||
cancel=false
|
||||
disabled=@disabled
|
||||
}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
@@ -1,5 +1,5 @@
|
||||
<Rose::Form
|
||||
class="full-width"
|
||||
class='full-width'
|
||||
@onSubmit={{@submit}}
|
||||
@cancel={{false}}
|
||||
@disabled={{@disabled}}
|
||||
@@ -7,7 +7,8 @@
|
||||
>
|
||||
|
||||
<form.actions
|
||||
@submitText={{t "actions.authenticate"}}
|
||||
@showCancel={{false}} />
|
||||
@submitText={{t 'actions.authenticate'}}
|
||||
@showCancel={{false}}
|
||||
/>
|
||||
|
||||
</Rose::Form>
|
||||
</Rose::Form>
|
||||
@@ -1,28 +1,32 @@
|
||||
<Rose::Form
|
||||
class="full-width"
|
||||
@onSubmit={{fn this.submit @submit (hash
|
||||
identification=this.identification
|
||||
password=this.password
|
||||
)}}
|
||||
class='full-width'
|
||||
@onSubmit={{fn
|
||||
this.submit
|
||||
@submit
|
||||
(hash identification=this.identification password=this.password)
|
||||
}}
|
||||
@cancel={{false}}
|
||||
@disabled={{@disabled}}
|
||||
as |form|
|
||||
>
|
||||
|
||||
<form.input
|
||||
@name="identification"
|
||||
@type="text"
|
||||
@name='identification'
|
||||
@type='text'
|
||||
@value={{this.identification}}
|
||||
@label={{t "form.login_name.label"}} />
|
||||
@label={{t 'form.login_name.label'}}
|
||||
/>
|
||||
|
||||
<form.input
|
||||
@name="password"
|
||||
@type="password"
|
||||
@name='password'
|
||||
@type='password'
|
||||
@value={{this.password}}
|
||||
@label={{t "form.password.label"}} />
|
||||
@label={{t 'form.password.label'}}
|
||||
/>
|
||||
|
||||
<form.actions
|
||||
@submitText={{t "actions.authenticate"}}
|
||||
@showCancel={{false}} />
|
||||
@submitText={{t 'actions.authenticate'}}
|
||||
@showCancel={{false}}
|
||||
/>
|
||||
|
||||
</Rose::Form>
|
||||
</Rose::Form>
|
||||
@@ -6,13 +6,9 @@
|
||||
'flight-icons/svg/loading-16'
|
||||
'flight-icons/svg/reload-16'
|
||||
}}
|
||||
class={{if
|
||||
this.isLoading
|
||||
'loading-button is-loading'
|
||||
'loading-button'
|
||||
}}
|
||||
class={{if this.isLoading 'loading-button is-loading' 'loading-button'}}
|
||||
@disabled={{this.isLoading}}
|
||||
{{on 'click' this.toggleRefresh}}
|
||||
>
|
||||
{{yield}}
|
||||
</Rose::Button>
|
||||
</Rose::Button>
|
||||
@@ -2,5 +2,6 @@
|
||||
{{yield
|
||||
confirmation
|
||||
(fn this.accept confirmation)
|
||||
(fn this.deny confirmation)}}
|
||||
{{/each}}
|
||||
(fn this.deny confirmation)
|
||||
}}
|
||||
{{/each}}
|
||||
@@ -6,4 +6,4 @@
|
||||
|
||||
<LoadingButton @onClick={{this.onClick}}>
|
||||
{{t 'actions.refresh'}}
|
||||
</LoadingButton>
|
||||
</LoadingButton>
|
||||
Reference in new issue
Block a user