Jasonette / Jasonette/JASONETTE-iOS
app should never return empty fields with {{template}}
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 347
- PR merge metrics
- No merged PRs in 30d
Description
I have to pepper my code with lots of bits like and similar to this to check for empty user fields. makes things more complex that they have to be.
jasonette should return empty fields and not let code percolate to the back-end app.
```ruby
check = [@event.title, @event.password, @event.host].map{|s| s =~ /{{/ }.compact
if check.size > 0
# some of the elements have "{{$get.xxx_yyy}}" in them, means they are empty!
render json: {}, status: :unprocessable_entity
return
end
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by reproducing a template containing empty user fields and trace where those fields are handled before reaching the backend; done means empty fields are handled by the app without requiring callers to add checks like the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, ruby
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100