-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add partials views and client views #103
Conversation
@alxngyn How did you populate the DB with dummy data? The script keeps breaking (as you point out it will). |
Did the code not work for you? (I mentioned that the script keeps breaking?) |
@alxngyn This looks like the error you were describing in the last checkbox for this PR. I mis-interpreted what you meant by that, but the point still stands.
|
@ElijahCaine Oops my fault, you need to run |
<th>Client Name</th> | ||
<th>Contact Name</th> | ||
<th>Contact Email</th> |
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.
What's up with the spacing here?
@alxngyn Feedback:
All-in-all this PR is awesome. Bootstrap is a good choice, it's very easy to navigate. Once we finish all of the endpoints there might be some polish to make it even more user-friendly, but right now I'm just impressed. +1 |
@ElijahCaine |
@alxngyn Awesome. The OSL doesn't really do any automated browser testing, and it isn't entirely necessary for this project, but that may also be something to explore. But like... don't worry about it too much. Any testing is just better than no testing. |
Added needs work label b/c there's no delete tests / we need to figure out how to deal with deleting stuff. (As per the un-checked checkbox in the PR) |
@ElijahCaine |
I think rather than having a delete functionality, we should have an active flag and be able to turn clients (and projects) 'off' for purposes of viewing them in the interface |
@Kennric |
now that #131 is merged into develop. I can rework the views to 'hide' the data if the active flag is turned off. |
</tr> | ||
</thead> | ||
<tbody> | ||
<% for @project in @projects %> |
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.
Whitespace problems here too
…client-view Conflicts: routes/clients.rb
I reworked the views/routing to incorporate the active flags now |
<thead> | ||
<tr> | ||
<th>id</th> | ||
<th>project Name</th> |
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.
Project should be capitalized
@alxngyn What are the 'link link link..' in the footer going to be linking to? Should they have a name? |
@hsolorza those are just place holders for now. I don't think we had any feedback or requirements on the header/footer stuff yet. |
Everything looks good +1 |
Are there still whitespace issues in views? |
@Kennric Only took 4 commits but i fixed the white space and it should show up fixed on Github |
This is a good start, but we'll need to do some serious cleanup with @subnomo to get this to be usable. It's still pretty rough around the edges. |
PR 1 of 3: clients
Related issue: #102
This is a prototype view of the clients endpoint.
Changes in this PR.
Testing this PR.
sudo docker-compose run --service-ports dev bash
rake migrate
to setup the DB schemahttp://localhost:4567/clients
Expected Output.
n/a