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

Updated column to glimmer. Updated yeti-table to remove most use of get/set in prep for glimmer #376

Closed

Conversation

cah-brian-gantzler
Copy link

@cah-brian-gantzler cah-brian-gantzler commented Mar 4, 2021

Updated for glimmer. #344

}
set visible(value) {
this._visible = value;
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cah-briangantzler are you aware about the @localCopy decorator of the https://github.com/pzuraq/tracked-toolbox project?

I think this is a perfect fit for these situations and get a rid of some boilerplate.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had used the @cached from toolbox, but replaced with the polyfill. Forgot about the localCopy. I did this a lot more in the yeti-table.js that will be next PR and had considered writing my own. Good call out

@cah-brian-gantzler
Copy link
Author

cah-brian-gantzler commented Mar 9, 2021

Looks like @localcopy is not compatible with 3.16, next LTS that works is 3.20. Tracked-toolbox says it is compatible with 3.8, but its ember try scenarios do not actually test that. I also found this issue tracked-tools/tracked-toolbox#17

Stick with my boiler plate code that I will improve some, or go with this and raise min level to ember 3.20?

@@ -40,7 +40,8 @@
"ember-auto-import": "^1.10.1",
"ember-cli-babel": "^7.23.1",
"ember-cli-htmlbars": "^5.3.1",
"ember-decorators": "^6.1.1"
"ember-decorators": "^6.1.1",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably drop ember-decorators at this point, right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have to wait til I convert yeti-table proper to drop ember-decorators

@miguelcobain
Copy link
Owner

miguelcobain commented Mar 10, 2021

@cah-briangantzler I wouldn't mind supporting 3.20+ or whatever tracked-toolbox supports (as I understand it, it would be 3.8+ except 3.16).

Ember 3.20 is 9 months old at this point and there are 2 LTS versions after 3.8.

Also, it seems like 3.16 is not receiving bugfixes anymore:

image

@cah-brian-gantzler
Copy link
Author

Although tracked toolbox says 3.8+ I dont believe that is correct because of 3.16 Unless there is a fix put out, 3.20+ would be the new min.

If you are fine with 3.20 Ill change the ember-try

@cah-brian-gantzler
Copy link
Author

Weird that it looked like to did an ember try on 3.16 when I removed it from the scenarios.

Going to close this PR and open a new one to see what happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants