Request expert feature#77
Conversation
7e8b4da to
64bb316
Compare
|
Looks like a good start, just a few comments:
|
|
Hi,
|
03dcfc5 to
8da08e5
Compare
|
In the logout view, why dont we just call |
|
Good point. There's no reason to not call clear. Only downside is clearing On Wednesday, May 18, 2016, Paulo Cheque notifications@github.com wrote:
|
|
Sounds good. Upgrading isn't a problem I was just curious if there was a On Wednesday, May 18, 2016, Paulo Cheque notifications@github.com wrote:
|
|
I guess the feature has been done. You can check on the dev env. Important ConsiderationsNew env vars:To deploy in a new environment (including the production), we need to define the new env vars on Heroku: Authorization / ConfigWe only configured the staging env for a while. Before deploying for production, we need to configure hack.hands() for the new env. StorageI am using Redis to store this information. I setted the |
9cb3938 to
91a6a70
Compare
| @app.route('/hackhands_login') | ||
| def hackhands_login(): | ||
| """hack.hands() oauth2 authorization""" | ||
| return remote.hackhands.authorize(callback='http://guides-dev.herokuapp.com/auth/hackhands', _external=True) |
There was a problem hiding this comment.
We should use url_for here so we don't hard-code the domain, etc.
|
I looked through this and looks good. I've added 1 comment to the diff: |
|
I think we should hold off on this feature until the new design is pushed to production and fully tested. I don't think this feature will change once the new design is in place, but it's easier to integrate one big change at a time. Also, we can rebase this feature after the new design changes are in and re-test everything. |
|
Nice catch! Fixed. |
95fc64e to
f617154
Compare
dc5bfbf to
dba0169
Compare
|
Is your test site running this version? If so, how do I attempt to hook up the hack hands feature? |
|
We need to consider the workflow for this once we roll it into production. Maybe we could put a link at the top of the profile page to link a hackhands account? This way each time a user logs in they see the link, but it's not intrusive. Of course, the link should only show up if the user is viewing their own profile page. |
|
I deployed into the test site this feature. Right now, I added a link into the navbar. I can move the link to another place after feedbacks. |
|
@paulocheque Thanks for deploying it for testing! Just for historical reference here's what the feature looks like now: I vote we move the 'connect with hackhands link' to the dropdown menu under the users' avatar when they are logged in. So that menu will then have 'my guides', 'connect to hackhands', and 'logout'. We should also add a link to 'connect to hackhands' on the profile page in the following case:
We could add this link at the top of the profile 'body' and use something like the CSS class |
|
Looks great. Let's finish up the design changes, rebase this branch, and then double-check the button colors. Thanks! |
0a95cf0 to
a43cb75
Compare
|
Rebased and fixed the button layout. |
…on view function.
…ink to hack.hands profile page. Fixed session information/login/logout.
…ar dropdown menu and in the profile page for the current user.
a43cb75 to
9a7bd2e
Compare
|
Rebased to origin/master |

This PR is not complete yet. I am still working on it.