Closed Bug 874989 Opened 11 years ago Closed 11 years ago

clean up dashboard intergration

Categories

(Webmaker Graveyard :: Login, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: michiel, Assigned: michiel)

References

Details

(Whiteboard: c=thimble s=2013w21 u=dev p=1)

Attachments

(1 file)

the code we added on monday to get the /myprojects link to work in Thimble is very hacky and needs to be taken out ASAP.

I'd recommend we turn this into a node module (similar to webmaker-loginapi) that gives any app a /myprojects route, which -when accessed- contacts webmaker.org for the dashboard page content. That way requests are always local as far as the browser is concerned, and we can do DOM manipulation (ajax-inject the resulting page, etc) as much as we like.
So would that mean that this ought to live in webmaker.org and be a generalized bit of code?
I was thinking we make it part of the userbar, since that sets up the HTML where this will live. Since it's universal functionality, the part that shows 'my makes' would be in login.webmaker.org, and the page that we pull up comes from webmaker.org/myprojects
Component: Thimble → Login
finished this up specifically for thimble, this is ready for moving into login/webmaker
Assignee: nobody → pomax
Status: NEW → ASSIGNED
Attachment #753368 - Flags: review?(scott)
Attachment #753368 - Flags: review?(ross)
Comment on attachment 753368 [details] [review]
https://github.com/mozilla/login.webmaker.org/pull/69

Nice and simple, I like simple
Attachment #753368 - Flags: review?(ross) → review+
forgot to update the README, so I'll add that and do a quick re-r+ request.
Comment on attachment 753368 [details] [review]
https://github.com/mozilla/login.webmaker.org/pull/69

forgot the README.
Attachment #753368 - Flags: review+ → review?(ross)
Blocks: 875420
Comment on attachment 753368 [details] [review]
https://github.com/mozilla/login.webmaker.org/pull/69

Sort out the gruntfile (comment in github) and this is good to go
Attachment #753368 - Flags: review?(ross) → review+
Attachment #753368 - Flags: review?(scott) → review+
landed.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: