-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
Ember: Upgrade through 43 minor versions, 2 majors, and 2 paradigm shifts #2209
Conversation
…, and comes with routig by default
I was trying to run this in a codespace but the build keeps crashing. Either Webpack hangs forever
or it eventually spits this out
|
If you use node 20 or node 18.18, you'll have that issue. Issue report here: nodejs/node#49911 If you use node > 16 && < 18.18, you'll have success. |
I was messing with this tonight to test out the Firefox framework detector stuff. Here's some issues I found
|
@tcjr any other changes you'd like to see? |
I added some tests! |
Here is the actual implementation, removing all the boilerplate, if folks want to have something a bit more reviewable: NullVoxPopuli/todomvc-ember-polaris-tests-only#1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
@service repo; | ||
|
||
// TODO: we should use a <form> instead of this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, this would be a larger refactor though, since the template as well as the styles package would need to change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but it would be a correct change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolutely!
@FadySamirSadek - I know we talked about a11y changes (globally).
Is there already an issue filed? If not, I can file one in the next few days ..
</footer> | ||
|
||
{{!-- | ||
Looks like the latest todoMVC styles are broken? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: what's broken? I think as long as the app looks consistent with the other apps it should be ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk, I'll remove this comment -- it's been too long
did you update my remote? the work is done git log should show you:
to run:
to build for production
I've removed a comment that I didn't have enough context on, so your git log should show
To run the production / built assets that are pushed in the dist directory cd examples/emberjs/todomvc/dist
npx http-server # visit http://localhost:8080 |
thanks @NullVoxPopuli for the instructions on how to run! 🙏 |
@NullVoxPopuli - app looks great and your instructions helped! |
what's supposed to be the behavior when clicking the toggle-all button when on the completed view? |
I think the list of displayed todo items should update.
This is maybe just my opinion and not necessarily the correct one 🤷 |
…nging the todos, except for the All page -- now all pages update the todos
@flashdesignory thanks! I believe I've fixed it now |
Updates the ember version of the todo app to the latest ember conventions.
there are some a11y issues, like a lack of
<form>
when we have form-like behavior, but I don't know how much flexibility the provided CSS gives usI tried to run the tests according to
these docs: https://github.com/tastejs/todomvc/tree/master/tests
but I got this error:
did I do something wrong? as todomvc too out of date? 😅
(like, do I need super old node?)