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

Implement 404 page #70

Open
serenaf opened this issue Feb 14, 2018 · 9 comments
Open

Implement 404 page #70

serenaf opened this issue Feb 14, 2018 · 9 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@serenaf
Copy link
Collaborator

serenaf commented Feb 14, 2018

screen shot 2018-02-14 at 22 38 04

@serenaf serenaf created this issue from a note in Post-Release Phase (To do) Feb 14, 2018
@serenaf serenaf added the good first issue Good for newcomers label Feb 14, 2018
@mansona
Copy link
Member

mansona commented Feb 15, 2018

If anyone wants to pick this up they might want to check out how we do this in the guides-app https://github.com/ember-learn/guides-app/blob/master/app/templates/error.hbs 👍

@sivakumar-kailasam
Copy link
Member

We should consider consuming the template from ember style guide app. ie everyone gets 404 page for free when using the add-on.

@mansona
Copy link
Member

mansona commented Feb 15, 2018

@sivakumar-kailasam does that exist? or is your suggestion "add the 404 to the ember-styleguide and then add it to deprecation-app"?

@sivakumar-kailasam
Copy link
Member

I'm unsure if it exists. My suggestion is to add anything that's going to be required across ember apps to go directly into style guide going forward and have consuming apps get it because they all point to styleguide's master

@amyrlam
Copy link
Member

amyrlam commented Mar 12, 2018

very rough wip: https://github.com/ember-learn/deprecation-app/compare/master...amyrlam:serena-amy/404?expand=1

followed this https://discuss.emberjs.com/t/how-to-make-a-404-router/11349 unsure what the route handler should do?

me and @serenaf can keep working on this

@mansona
Copy link
Member

mansona commented Mar 15, 2018

@amyrlam thanks for taking a stab a this and sorry for not getting back to you before now 😖

If you take a look at what is happening in the guides app https://github.com/ember-learn/guides-app/blob/master/app/templates/error.hbs we're not actually adding any route to the router to get the 404 implementation to work (i.e. I would start on removing this line)

What we're making use of is the default/standard error substate: https://guides.emberjs.com/v3.0.0/routing/loading-and-error-substates/#toc_code-error-code-substates. We had a long discussion on the merits of both approaches in the Guides App and ultimately opted for the error substate for overall simplicity and more consistency with what we are teaching in the Guides.

Let me know if you would like any help exploring this option 👍

@amyrlam
Copy link
Member

amyrlam commented Mar 23, 2018

sorry for the delay - that makes sense, can pick this back up with serena, just took a look at this pr https://github.com/ember-learn/guides-app/pull/24/files

@RobbieTheWagner
Copy link
Member

@serenaf @amyrlam @mansona is anyone working on this? Happy to take a look if you would like.

@amyrlam
Copy link
Member

amyrlam commented Apr 23, 2020

@rwwagner90 Thanks - please go ahead, this is pretty stale. I haven't been in this repo in some time

@RobbieTheWagner RobbieTheWagner self-assigned this Apr 24, 2020
@locks locks added the help wanted Extra attention is needed label May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
Development

No branches or pull requests

6 participants