Closed Bug 881598 Opened 11 years ago Closed 11 years ago

Set the URL in finalizeProject so we can get make details later

Categories

(Webmaker Graveyard :: Thimble, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kate, Assigned: kate)

Details

Attachments

(1 file)

Right now we don't have a way to reliably search for thimble makes inside of make details, so let's restructure the URL creation logic so we have it before we render it.
Comment on attachment 760742 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/107

you can already get the make details, because we publish the make after we already have the published URL. If this solves a different problem, please update the ticket title/explanation.
Attachment #760742 - Flags: review?(pomax) → review-
Comment on attachment 760742 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/107

I updated with some comments and a little clearer path, also included the appName variable
Attachment #760742 - Flags: review- → review?(pomax)
Comment on attachment 760742 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/107

comments in the pull request, mostly we can turn the generateUrls function into a middleware function now, that we can simply stick in the route's middleware cascade.
Attachment #760742 - Flags: review?(pomax) → review-
Attachment #760742 - Flags: review? → review?(pomax)
Comment on attachment 760742 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/107

small nit, to turn a require into a one-time require, rather than making it rerequire on every call
Attachment #760742 - Flags: review?(pomax) → review-
Attachment #760742 - Flags: review- → review?
Attachment #760742 - Flags: review? → review?(pomax)
this landed.
Status: NEW → 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

Created:
Updated:
Size: