Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
e8c3654e
Commit
e8c3654e
authored
Apr 24, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: updated bug posting (added fields)
parent
216de49b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
100 additions
and
17 deletions
+100
-17
data/bug_posting_dump.json
data/bug_posting_dump.json
+10
-0
data/bug_posting_fieldlist.json
data/bug_posting_fieldlist.json
+73
-14
data/bug_posting_file.json
data/bug_posting_file.json
+4
-2
data/bug_posting_sample.json
data/bug_posting_sample.json
+13
-1
No files found.
data/bug_posting_dump.json
0 → 100644
View file @
e8c3654e
{
"portal_type_source"
:
"Bug Posting"
,
"portal_type_title"
:
"bug_posting"
,
"initial_query"
:
{
"include_docs"
:
true
},
"property_dict"
:
{
"no_content"
:
true
},
"scheme"
:
[],
"children"
:
[]
}
data/bug_posting_fieldlist.json
View file @
e8c3654e
...
...
@@ -3,9 +3,7 @@
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"_id"
,
"title"
:
"ID"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict._id.title"
,
"description"
:
"The id of this ticket."
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict._id.description"
,
"alternate_name"
:
"_id"
,
"default_value"
:
null
,
...
...
@@ -40,9 +38,7 @@
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"bug_title"
,
"title"
:
"Ticket Title"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_title.title"
,
"description"
:
"The title of this bug."
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_title.description"
,
"alternate_name"
:
"bug_title"
,
"default_value"
:
null
,
...
...
@@ -77,9 +73,7 @@
"type"
:
"DateTimeField"
,
"widget"
:
{
"id"
:
"bug_created"
,
"title"
:
"Created"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_created.title"
,
"description"
:
"The date this ticket was filed."
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_created.description"
,
"alternate_name"
:
"bug_created"
,
"default_value"
:
null
,
...
...
@@ -128,9 +122,7 @@
"type"
:
"TextareaField"
,
"widget"
:
{
"id"
:
"bug_description"
,
"title"
:
"Ticket Description"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_description.title"
,
"description"
:
"The description of this bug."
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_description.description"
,
"alternate_name"
:
"bug_description"
,
"css_class"
:
null
,
...
...
@@ -177,9 +169,7 @@
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"bug_filed_by_name"
,
"title"
:
"Filed by"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_filed_by_name.title"
,
"description"
:
"The person who filed this bug."
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_filed_by_name.description"
,
"alternate_name"
:
"bug_filed_by_name"
,
"default_value"
:
null
,
...
...
@@ -214,9 +204,7 @@
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"bug_filed_by_email"
,
"title"
:
"Contact Email"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_filed_by_email.title"
,
"description"
:
"The email address of the person who filed the bug."
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_filed_by_email.description"
,
"alternate_name"
:
"bug_filed_by_email"
,
"default_value"
:
null
,
...
...
@@ -251,9 +239,7 @@
"type"
:
"RadioField"
,
"widget"
:
{
"id"
:
"bug_priority"
,
"title"
:
"Priority"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_priority.title"
,
"description"
:
"The priority of this bug."
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_priority.description"
,
"alternate_name"
:
"bug_priority"
,
"css_class"
:
null
,
...
...
@@ -285,6 +271,79 @@
"i18n"
:
"validation_dict.option_not_available"
}
}
},
"ticket_status"
:
{
"type"
:
"RadioField"
,
"widget"
:
{
"id"
:
"ticket_status"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.ticket_status.title"
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.ticket_status.description"
,
"alternate_name"
:
"ticket_status"
,
"css_class"
:
null
,
"default_value"
:
null
,
"hidden"
:
null
,
"items"
:
"getStatus"
,
"select_first_item"
:
true
,
"extra_per_item"
:
null
,
"extra"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"unknown_selection"
:
{
"message"
:
"You selected on option not on the menu"
,
"i18n"
:
"validation_dict.option_not_available"
}
}
},
"bug_icon"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"bug_icon"
,
"title_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_icon.title"
,
"description_i18n"
:
"portal_type_dict.bug_posting_dict.field_dict.bug_icon.description"
,
"alternate_name"
:
"bug_icon"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
"maximum_input"
:
null
,
"extra"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"message"
:
{
"required_not_found"
:
{
"message"
:
"Input required but not found."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input give."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
}
}
data/bug_posting_file.json
View file @
e8c3654e
...
...
@@ -4,7 +4,7 @@
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:[
0
,
1
]},
"property_dict"
:
{
"initial_query_url_identifier"
:
"_id"
,
"
allow
_new"
:
true
,
"
force
_new"
:
true
,
"skip_total_records"
:
true
,
"submit_to"
:
"#bug_report_module"
,
"wrap_gadget"
:
1
...
...
@@ -16,7 +16,9 @@
{
"field"
:
"bug_priority"
},
{
"type"
:
"hr"
,
"direct"
:
{
"className"
:
"ui-hr ui-hr-active"
}},
{
"field"
:
"bug_filed_by_name"
},
{
"field"
:
"bug_filed_by_email"
}
{
"field"
:
"bug_filed_by_email"
},
{
"field"
:
"bug_icon"
,
"overrides"
:
{
"widget"
:
{
"hidden"
:
true
,
"default_value"
:
"bug"
}}},
{
"field"
:
"ticket_status"
,
"overrides"
:
{
"widget"
:
{
"hidden"
:
true
,
"default_value"
:
"open"
}}}
]
},
{
"position"
:
"right"
,
...
...
data/bug_posting_sample.json
View file @
e8c3654e
[]
\ No newline at end of file
[
{
"_id"
:
"ticket001"
,
"bug_title"
:
"Site does not load"
,
"bug_description"
:
"When I open www.foo.bar, I don't see anything.
\n
How can this be?"
,
"bug_filed_by_name"
:
"John Doe"
,
"bug_filed_by_email"
:
"john@doe.com"
,
"bug_priority"
:
"4"
,
"bug_created"
:
"2014/04/10"
,
"bug_icon"
:
"bug"
,
"ticket_status"
:
"Open"
}
]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment