e00dan / ember-link-action Goto Github PK
View Code? Open in Web Editor NEWFire an action when LinkTo component transition happens
License: MIT License
Fire an action when LinkTo component transition happens
License: MIT License
Branch | Build failing π¨ |
---|---|
Dependency | ember-cli-babel |
Current Version | 6.2.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
ember-cli-babel is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
how to give the action params?
It seems that ember's builtin LinkTo
should not be mutated anymore.
Please see:
ember-template-lint/ember-template-lint#1820 (comment)
https://github.com/emberjs/rfcs/blob/master/text/0671-modernize-built-in-components-1.md
Branch | Build failing π¨ |
---|---|
Dependency | ember-cli-htmlbars |
Current Version | 1.3.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As ember-cli-htmlbars is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 4 commits0.
b57f711
v1.3.2
f95d971
Update yarn.lock.
6e86a6d
Merge pull request #110 from ember-cli/fix-it
f206486
Fix incorrect call to assertAbove
.
false
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Starting with Ember 3.27, ember-cli-babel versions prior to 7.26.6 will cause following deprecation warning:
"Prior to v7.26.6, ember-cli-babel sometimes transpiled imports into the equivalent Ember Global API, potentially triggering this deprecation message indirectly, even when you did not observe these deprecated usages in your code."
I am trying to fix all deprecation notes and one comes from ember-link-action as I am using the latest release (0.0.34). Why there is no release tag for the version that we can fetch from master? I don't want to depend on master branch as it will most probably change in future, also adding hash commit in package.json sucks. We definitely need 0.0.35 release.
Would it be hard to abort the transition when false is returned from the action?
use case:
{{#link-to 'orders' invokeAction=(action 'onOrderRemove' model)}}CANCEL ORDER{{/link-to}}
actions: {
onOrderRemove: function (order) {
let confirmed = confirm('Are you sure you want to cancel?');
if (confirmed) {
order.destroyRecord();
return true;
} else {
return false;
}
}
}
if you get a chance to make this read the actions on the router it would be great. Current;y my global actions (Login, Logout) are on the application router. The ember input and link-to can use them.
Branch | Build failing π¨ |
---|---|
Dependency | ember-cli-babel |
Current Version | 6.1.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
ember-cli-babel is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
3.1.1
to 3.1.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
ember-ajax is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 5 commits.
f5d3245
chore(release): 3.1.2
55cbc7c
chore(deps): install standard-version
101c357
fix: is*Error type definitions
fe518dc
fix: skip instead of returning url when namespace is present in url
975724d
fix: bump typescript to get working d.ts
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I noticed this just now as I updated to 3.4 ember-source
Hi, would it be possible to extend Ember.LinkComponent
with a new LinkToAction
component instead of reopening? I made a quick failed attemptβ¦
This would be to not pollute an already heavy LinkComponent.
Branch | Build failing π¨ |
---|---|
Dependency | ember-resolver |
Current Version | 4.1.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As ember-resolver is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 13 commits.
218f83c
v4.2.0
dd8a476
Merge pull request #199 from ember-cli/ember-cli
d041f7c
Bump ember-cli (w/o eslint)
6614e68
Merge pull request #198 from ember-cli/pass-referrer-v2
5f425d6
Normalize referrer and lookupString, add config flag
d153cc8
Merge pull request #192 from 201-created/defaultType
aec0059
defaultType support, mv partials code to resolver
9dec996
Merge pull request #190 from 201-created/no-normalize
8d97d8b
Assert against get, not normalize
d87ce8e
Merge pull request #186 from ember-cli/typo
d0ad411
fix file name typo
8ae3114
Merge pull request #184 from acorncom/patch-1
5c20636
Fixes a small typo
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | ember-disable-prototype-extensions |
Current Version | 1.1.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As ember-disable-prototype-extensions is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 7 commits.
11e41e5
release v1.1.2 π
7cbd03c
release v1.1.1 π
e345d11
Merge pull request #10 from ember-cli/upgrade
37248ad
add travis badge
2374b13
add appveyor
07de228
upgrade
599396e
Update README.md
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | ember-cli-htmlbars-inline-precompile |
Current Version | 0.4.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As ember-cli-htmlbars-inline-precompile is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 7 commits0.
79d934d
v0.4.3
c2e6b20
Merge pull request #81 from rwjblue/fix-version-check
88484a6
Use fork of ember-cli-coffeescript (that uses compatible version checker).
d9d92d7
Update ember-cli-htmlbars version to be compatible with ember-cli-version-checker@2.
5a032cd
Update ember-cli-version-checker to be aware of nested packages.
80cccc9
Add yarn.lock.
e772ee6
Update CHANGELOG for 0.4.2.
false
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@glimmer/component
, @glimmer/tracking
)These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
ember-cli-babel 7.26.6
ember-cli-htmlbars 5.7.1
@ember/optional-features 2.0.0
@ember/test-helpers 2.2.6
@embroider/test-setup 0.41.0
@glimmer/component 1.0.4
@glimmer/tracking 1.0.4
babel-eslint 10.1.0
broccoli-asset-rev 3.0.0
ember-auto-import 1.11.3
ember-cli 3.26.1
ember-cli-dependency-checker 3.2.0
ember-cli-inject-live-reload 2.1.0
ember-cli-sri 2.1.1
ember-cli-terser 4.0.2
ember-disable-prototype-extensions 1.1.3
ember-export-application-global 2.0.1
ember-load-initializers 2.1.2
ember-maybe-import-regenerator 0.1.6
ember-qunit 5.1.4
ember-resolver 8.0.2
ember-source 3.26.1
ember-source-channel-url 3.0.0
ember-template-lint 3.4.2
ember-try 1.4.0
eslint 7.28.0
eslint-plugin-ember 10.5.0
eslint-plugin-node 11.1.0
loader.js 4.7.0
npm-run-all 4.1.5
qunit 2.16.0
qunit-dom 1.6.0
node 10.* || >= 12
.travis.yml
node 12
ember-link-action/addon/mixins/link-action.js
8: didInitAttrs() {
9 this._super(...arguments);
should be
init() {
this._super(...arguments);
http://emberjs.com/deprecations/v2.x/#toc_ember-component-didinitattrs
error:
DEPRECATION: [DEPRECATED] didInitAttrs called in <ember@component:link-to::ember1095>. [deprecation id: ember-views.did-init-attrs] See http://emberjs.com/deprecations/v2.x#toc_ember-component-didinitattrs for more details.
Branch | Build failing π¨ |
---|---|
Dependency | ember-cli-babel |
Current Version | 6.4.1 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
ember-cli-babel is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
The new version differs by 5 commits.
bf126fe
v6.4.2
3f9f223
Merge pull request #158 from dwickern/sourcemaps
8119645
Respect babel sourceMaps option
90cde9e
Merge pull request #157 from rwjblue/add-plugin-info
b5aa0b3
Add info on adding custom plugins.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | ember-cli-babel |
Current Version | 6.4.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
ember-cli-babel is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
The new version differs by 6 commits.
63045ce
v6.4.1
6e8bc39
Merge pull request #154 from rwjblue/provide-annotation-to-babel-transpiler
465353d
Refactor README.
79e5604
Update babel-plugin-debug-macros to avoid message building when test passes.
c53b873
Add convienient broccoli debug tooling.
4e523f5
Provide annotation to broccoli-babel-transpiler.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | loader.js |
Current Version | 4.4.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As loader.js is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 7 commits.
094e20b
release v4.5.0 π
db2f6a6
Merge pull request #126 from ember-cli/moduleId
204838b
rename mod.name => mod.id
4fa0fe0
add require.moduleId to allow a module to know its ID
f62bc54
Merge pull request #121 from ember-cli/define-exports
d963886
Update README.md
928e18f
add define.exports
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
The transition happens normally, but the action is not triggered. This is the template:
<li>{{#link-to "logout" invokeAction="invalidateSession"}}<i class="fa fa-sign-out"></i> LOGOUT{{/link-to}}</li>
The action is defined on the application route:
import Ember from 'ember';
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin';
export default Ember.Route.extend(ApplicationRouteMixin, {
session: Ember.inject.service('session'),
actions: {
invalidateSession: function() {
this.get('session').invalidate();
}
}
});
The action is working fine with:
<li><a href="#" {{action 'invalidateSession'}}><i class="fa fa-sign-out"></i> LOGOUT</a></li>
But with that I loose the link-to functionality, of course. Specifically, the whole application is reloaded (because the a
tells the browser to navigate to another page I guess, even though I am using href="#"
)
I am running [email protected]. I have installed [email protected]. I am not sure ember-cli is automatically picking it up. Normally the
var app = new EmberApp(defaults, {
// Add options here
});
should automatically package the necessary modules, right? (btw: what heuristics is EmberApp
using to decide what to package?)
How can I verify if the ember-link-action package is included in the application?
Im having issue with the internal link not working while source target is dic with Id
{{#link-to fragment='#section1' invokeAction=(action "selectPanal" 'section1')
class="nav-link" }} {{t "nav-section.population-detail"}} {{/link-to}}
I'm pretty sure this breaks with 2.9.0-beta.1
. I will do some further investigations.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.