Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace sendAction with modern callable methods #590

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

donaldwasserman
Copy link
Contributor

@donaldwasserman donaldwasserman commented Oct 9, 2018

This fixes #587.

CC: @buschtoens

@alexander-alvarez
Copy link
Collaborator

@donaldwasserman Awesome. Thanks for this.

I think this might technically be a breaking change since it prevents the superfluous bubbling up of events of ember yore, which maybe someone is unwittingly relying on. Either way, LGTM -- need to remember to do a major version bump though. Thoughts @buschtoens

@donaldwasserman
Copy link
Contributor Author

@alexander-alvarez Thanks for taking a look at this.

On one hand it seems sort of silly to do a major version bump for this, on the other, there is likely > 0 apps still bubbling actions, I'm sure.

I'd still like to get rid of the jQuery stuff (see #591 ) so maybe we could wrap that + any other big ticket items up into a separate branch for now.

@alexander-alvarez
Copy link
Collaborator

Yeah -- Sounds good to me. 👌

I made a branch for the 2.x stuff https://github.com/offirgolan/ember-light-table/tree/2-x if you want to change the base. And we can publish betas from there so you can use them

@donaldwasserman donaldwasserman changed the base branch from master to 2-x October 12, 2018 14:05
@donaldwasserman
Copy link
Contributor Author

Sounds good - I'm going to be on vacation next week, but I'm trying to get jQuery out of our app and this is one of the last big pieces that uses it.

So hopefully I can get that piece done shortly.

Thanks for the help!

@HenryVonfire
Copy link

@alexander-alvarez is there anything else left to merge this PR and publish a beta version?

PS. the Readme in npm still points to slack instead of discord

@alexander-alvarez alexander-alvarez merged commit 3175d84 into adopted-ember-addons:2-x Oct 25, 2018
@alexander-alvarez
Copy link
Collaborator

@HenryVonfire @donaldwasserman
published under ember-light-table@2.0.0-beta.0 and ember-light-table@next

@fran-worley
Copy link
Contributor

@HenryVonfire are you sure you got them all in this MR? I've updated to 2.0.0-beta.0 and I'm still getting a warning from onScrolledToBottom()

@fran-worley
Copy link
Contributor

It looks like this MR didn't actually make the release https://github.com/offirgolan/ember-light-table/commits/v2.0.0-beta.0

@HenryVonfire
Copy link

@alexander-alvarez seems that ember-light-table@2.0.0-beta.0 and ember-light-table@next are still based on master

@alexander-alvarez
Copy link
Collaborator

@fran-worley @HenryVonfire
Let's try again... sorry about that. Manual workflows are 👎

These should be g2g now:
ember-light-table@2.0.0-beta.1
ember-light-table@next

@fran-worley
Copy link
Contributor

@alexander-alvarez seems like beta.1 has got it covered, thanks for the quick fix!

@MichalBryxi
Copy link
Contributor

I believe there are some instances of sendAction that you probably missed: https://github.com/offirgolan/ember-light-table/blob/2-x/addon/mixins/table-header.js#L181

Maybe they are not intended to be in use, but I'm basically copy-pasting the examples from your guides and stubled upon this. I'm using your @next branch that points me to 2.0.0-beta.2

@fran-worley fran-worley added Ember Deprecation EmberJs Deprecations internal bug and removed internal labels May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Ember Deprecation EmberJs Deprecations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants