loadsys / loadsys/ember-demo

New empty element in posts list

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I see that if you click on Create Post and than without write anything in the form you will return to the Posts list, ember create a new empty post element. You'll not see it if you have a post list with h3 tag but you will see if you have a view like this one

``` javascript

<h2>All Posts View</h2>
<ul>
{{#each post in controller}}
<li><a {{action viewPost post href=true}}>{{post.title}}</a></li>
{{/each}}
</ul>

```

I'm sorry but I do not know how to fix it

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by opening Create Post, submitting the empty form, and returning to the Posts list. Inspect the provided posts template and the create-post flow; done means an empty post does not produce an empty list element when the list is rendered with the shown ul/li view.

Written by the indexing model from the issue text.

Assessment

Tech stack
handlebars, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.