Closed Bejoty closed 10 years ago
I figure doing the pages in order makes most logical sense. I'm still getting the last function scripted, which will make all the form manipulation correctly submit back to the server.
Are you familiar with how that's parsed with Ruby? It should already be set up to take dynamic form submission (variable categories with variable steps with variable options, all filled with data).
I've looked over the code that @kcorman wrote for the commission settings page if that's what you mean. I think the code there is already defined pretty well to handle the different variants. Is there something new that the server side isn't paying attention to yet?
Does that code take into account the final step? It was added around the time we presented the beta, so there's a good chance it's set, but double checking.
The final step is accounted for in the commission request page with it's own special parsing to put the step at the top of the json such that it's accessible via @commission.commission_current["final"]. I added the jquery to display that in what's now views/commissions/_new_commission_request.js
The commission settings page I don't think necessarily has to deal with the final step, unless there was some way we wanted to have the artist customize it.
Cool cool. And I know Kenny has a catch for category name changes with the form name "cat_name", so I'll use that assuming I manage to make that functional tonight.
The issue post has the current list of fixes for this page, but they're nonessential for the flow (with the major exception of the form name updating that I'm still fixing up). A few of them should hopefully be taken care of tonight, but let's make sure the rest fits in first, eh?
Ah, I see what you're doing in the javascript for the commission setting on the final step... I'll see what I can do about getting that in there without too much trouble.
Oh, yes the final step for the settings page I figured can be a prompt to display to the customer precisely how to fill in the final step at the request stage.
Sounds good.
How do you want to retrieve that description from the front end? Via another step in the json or as another top level object in the json?
Alrighty, if this is stable, next up is the request page! #223
Updated file: c1aaebd42ec48ddb8d9e8b5bf64f349c8c70e9f9
Just linking to #225
be044d66612b8b061c6c8337661b0f6a2adf921b
How is the status on this?
Now that the form inputs are updating correctly, I think all that this page is missing is the art uploads, and the bug issues I linked above. If all that's left are the other issues' issues, then I'll close down this 'hub issue'.
Putting the finishing touches on the commission settings view.
Preview button requires functionality(nixed)Code Review: commission template category overwrite fixForm input name corrections after page manipulationStyling needs fixing (since the merge)Cancel button requires functionality(nixed)Display and submit artist prompt form inputSettings Request Review Revision (Payment) Progress