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

Cookies #4

Closed
bdougie opened this issue Jan 17, 2017 · 4 comments
Closed

Cookies #4

bdougie opened this issue Jan 17, 2017 · 4 comments

Comments

@bdougie
Copy link
Contributor

bdougie commented Jan 17, 2017

@imdoingotherthings try to open issues when there are some. It is much easier to assist this way than through slack messages.

I tried out ember-cookies and it has a complicated setup. I recommend using ember-cookie-monster instead. You be able to create a new component for the cookie checking like so ember g component cookie-store and populate it with the boilerplate you see in the cookie monster description.

@bdougie
Copy link
Contributor Author

bdougie commented Jan 19, 2017

@imdoingotherthings let me know if you were able to mirror the code from #5 and get the word no to render on the page.

Let me know so I can guide you on the next part which is setting the username in the cookie.

@imdoingotherthings
Copy link
Owner

@bdougie I just pushed this branch up to have something to work with. I did mirror your PR and if you'll see here, this is what I get on the page localhost:4200/rooms.

text prompt

Although I have the cookies PR mirrored, I can't seem to get no to show up on the landing page. So I'll be working on this now.

@bdougie
Copy link
Contributor Author

bdougie commented Jan 20, 2017

It should be cookie-store not cookie.store https://github.com/imdoingotherthings/bloc-chat-ember/blob/username/app/templates/application.hbs#L11

There are errors in your code preventing me from spinning up the server. 790d8ca

@bdougie
Copy link
Contributor Author

bdougie commented Jan 21, 2017

@asai I didn't see a response my comment above. Do you have time Saturday or Sunday evening to go through the next steps together? I would like to pair program to finish off this project

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

No branches or pull requests

2 participants