Closed
Bug 512386
Opened 15 years ago
Closed 15 years ago
[ForumUX] Admin panel for new "Ask a question" form
Categories
(support.mozilla.org :: Forum, task, P1)
support.mozilla.org
Forum
Tracking
(Not tracked)
VERIFIED
FIXED
1.4
People
(Reporter: paulc, Assigned: jsocol)
References
()
Details
(Whiteboard: sumo_only)
Attachments
(3 files, 3 obsolete files)
36.49 KB,
patch
|
paulc
:
review+
|
Details | Diff | Splinter Review |
845 bytes,
text/plain
|
Details | |
1.43 KB,
patch
|
morgamic
:
review+
|
Details | Diff | Splinter Review |
This is for the admin panel in bug 505425. Basically, that bug will provide a fixed form, and this will add a UI for customizing that form. We should investigate the degree of customization that we want before I go ahead and implement this. From a discussion with Cheng, the basics involve: * Control over # and text of questions in step 1 (radio buttons filtering what type of problem user is having) * Control over # and text of fields in last step * Correlation between first and last step (which fields show up for which radio button/choice) Anything else?
Reporter | ||
Updated•15 years ago
|
Assignee: paul.craciunoiu → nobody
Component: General → Forum
QA Contact: general → forum
Updated•15 years ago
|
Priority: -- → P1
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → jsocol
Assignee | ||
Comment 1•15 years ago
|
||
Adds 5 files: * tiki-admin_ask_a_question.php - The actual admin panel, handles form submissions. - templates/tiki-admin_ask_a_question.tpl - the primary view - templates/tiki-admin_ask_a_question-section.tpl - detailed view for a section - templates/tiki-admin_ask_a_question-field.tpl - detailed view for a field * tiki-js-ask_a_question.php - Generates JavaScript to hand this configuration to the form.
Attachment #399639 -
Flags: review?(laura)
Assignee | ||
Updated•15 years ago
|
Attachment #399639 -
Flags: review?(paul.craciunoiu)
Assignee | ||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
Comment on attachment 399639 [details] [diff] [review] patch, v1, adding 5 files Oops. I don't see a questionlib.php file in this patch?
Assignee | ||
Comment 4•15 years ago
|
||
As Paul pointed out, there should actually be _six_ files.
Attachment #399639 -
Attachment is obsolete: true
Attachment #399943 -
Flags: review?(paul.craciunoiu)
Attachment #399639 -
Flags: review?(paul.craciunoiu)
Attachment #399639 -
Flags: review?(laura)
Reporter | ||
Comment 5•15 years ago
|
||
Comment on attachment 399943 [details] [diff] [review] patch, v2 Some broken things: * Adding new field doesn't save values for "Value" and "Weight" * Editing field doesn't save values for "Value" * Listing fields for a section (option) lists the value of "Weight" under the "Value" column (the actual "Value" should be listed) * Can you order fields with same weight by name? The rest looks great though :)
Attachment #399943 -
Flags: review?(paul.craciunoiu) → review-
Assignee | ||
Comment 6•15 years ago
|
||
* Fixed * Fixed * Fixed * Wontfix
Attachment #399943 -
Attachment is obsolete: true
Attachment #400107 -
Flags: review?(paul.craciunoiu)
Assignee | ||
Comment 7•15 years ago
|
||
Attachment #399640 -
Attachment is obsolete: true
Reporter | ||
Comment 8•15 years ago
|
||
Comment on attachment 400107 [details] [diff] [review] patch, v3 Looks good.
Attachment #400107 -
Flags: review?(paul.craciunoiu) → review+
Assignee | ||
Comment 9•15 years ago
|
||
r51329 / r51331
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•15 years ago
|
||
Woot!!
Does this need SQL to be run? https://support-stage.mozilla.org/tiki-admin_ask_a_question.php gives me: Context: File tiki-admin_ask_a_question.php Url tiki-admin_ask_a_question.php Query: SELECT id FROM tiki_question_sections ORDER BY weight; Values: Message: Table 'support_wiki.tiki_question_sections' doesn't exist Built query was probably: SELECT id FROM tiki_question_sections ORDER BY weight;
Updated•15 years ago
|
Comment 12•15 years ago
|
||
yeah. We'll need to add the tables.
Comment 13•15 years ago
|
||
that's https://bugzilla.mozilla.org/attachment.cgi?id=400108
When SQL needs to be run before QA can verify, please add a dependency (depends on bug xxx); thanks!
Depends on: 400108
Comment 15•15 years ago
|
||
when editing a field on this page https://support-stage.mozilla.org/tiki-admin_ask_a_question.php, if you put a new value for weight and hit 'Save Changes' , it does not save the new value. The old value sticks.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 16•15 years ago
|
||
Fixes the error discovered in comment 15.
Attachment #401356 -
Flags: review?(morgamic)
Comment 17•15 years ago
|
||
Comment on attachment 401356 [details] [diff] [review] patch to patch 3 Not sure why 10 is hard-coded as a default weight. Might make sense to have a default in a constants file somewhere and use that instead. That said, rest looks good.
Attachment #401356 -
Flags: review?(morgamic) → review+
Assignee | ||
Updated•15 years ago
|
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•