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

Update Ember and octanify all the things #202

Merged
merged 8 commits into from
Apr 1, 2020
Merged

Conversation

galfert
Copy link
Contributor

@galfert galfert commented Mar 31, 2020

Closes #184

This updates Ember to the latest stable version (3.17) and updates the whole codebase to use the latest and greatest of Ember Octane (e.g. native JS classes, decorators, angle bracket components, ...)

@galfert galfert changed the title Update Ember and Octanify all the things Update Ember and octanify all the things Mar 31, 2020
@raucao
Copy link
Member

raucao commented Mar 31, 2020

Wow, this one is massive. 👀

@raucao
Copy link
Member

raucao commented Mar 31, 2020

Everything regarding chat itself seems to be working perfectly fine. However, I get an exception when trying to add a space from a preset:

Error: Assertion Failed: You must pass a function as the `fn` helpers first argument, you passed saveSpace

I remember that I tried upgrading the settings to Octane and then gave up, because I couldn't make it work. I'm not sure if we should spend much time on fixing the current settings, which are basically just a hack so that you can add more spaces at all. So maybe we should rather talk about how we want them to actually work and then spend time on a new implementation immediately.

I definitely have a lot of thoughts on this that I haven't documented yet. @galfert Happy to jump on a call about it anytime.

This fixes some errors that were missed in the Octane upgrade orgy.
@galfert
Copy link
Contributor Author

galfert commented Apr 1, 2020

The error itself was pretty easy to fix. I hadn't tried that part of the app myself yet, so I found a few other mistakes and fixed those as well. Now it should at least work the same as before.

That doesn't prevent us from talking about your thoughts on better settings of course :)

@raucao
Copy link
Member

raucao commented Apr 1, 2020

OK, great!

@raucao
Copy link
Member

raucao commented Apr 1, 2020

5d15fca4_Screenshot from 2020-04-01 11-36-55

Hooray!

@raucao raucao merged commit a1afc93 into master Apr 1, 2020
@raucao raucao deleted the feature/update_ember branch April 1, 2020 16:50
@raucao
Copy link
Member

raucao commented Apr 1, 2020

Missed one thing here still. ^^

galfert added a commit that referenced this pull request Apr 3, 2020
Fixes #202

After the Octane upgrade, all observers were broken. Replacing them with render modifiers fixed the issues and also removed the last remaining deprecation warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade codebase to Ember Octane
2 participants