custom fields
Review Request #8765 — Created Feb. 19, 2017 and discarded
The custome fields allow extension writters to write extensions with custom fields!
Which include:
Date field
Time field
Datetime field
Dropdown field
Checkbox field
Radiobutton field
Javascript unit test for the fields listed above have been done.
Test includes:
Correctly disable the fields when changes are not allowed.
Triggers "saveDraft" event when changes are made.
Description | From | Last Updated |
---|---|---|
Col: 1 E303 too many blank lines (4) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 31 W291 trailing whitespace |
reviewbot | |
Col: 1 E303 too many blank lines (3) |
reviewbot | |
undefined name '_populated' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 1 E303 too many blank lines (4) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 31 W291 trailing whitespace |
reviewbot | |
Col: 1 E303 too many blank lines (3) |
reviewbot | |
undefined name '_populated' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 1 E303 too many blank lines (4) |
reviewbot | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. Ex: 'Return the … |
RK rkdhatt | |
Need blank line between 939 and 940. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
Need blank line between 1020 and 1021. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
Need blank line between 1089 and 1090. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
Need blank line between 1158 and 1159. |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
Col: 31 W291 trailing whitespace |
reviewbot | |
blank line between 1169 and 1170. |
RK rkdhatt | |
Blank line between 1172 and 1173. |
RK rkdhatt | |
Blank line needed above this line. |
RK rkdhatt | |
Blank line needed above this line. |
RK rkdhatt | |
Blank line needed above this line. |
RK rkdhatt | |
Blank line needed above this line. |
RK rkdhatt | |
Blank line needed above this line. |
RK rkdhatt | |
Col: 1 E303 too many blank lines (3) |
reviewbot | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
undefined name '_populated' |
reviewbot | |
No need for blank line here? |
RK rkdhatt | |
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. |
RK rkdhatt | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Remove one extra blank line here |
RK rkdhatt | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 45 Expected '===' and instead saw '=='. |
reviewbot | |
Col: 50 Expected '===' and instead saw '=='. |
reviewbot | |
Col: 50 Expected '===' and instead saw '=='. |
reviewbot | |
Col: 50 Expected '===' and instead saw '=='. |
reviewbot | |
Col: 13 'model' is defined but never used. |
reviewbot | |
Col: 27 Expected '!==' and instead saw '!='. |
reviewbot | |
Col: 31 Missing semicolon. |
reviewbot | |
Col: 43 Expected '!==' and instead saw '!='. |
reviewbot | |
Col: 65 ['hour'] is better written in dot notation. |
reviewbot | |
Col: 62 ['period'] is better written in dot notation. |
reviewbot | |
Col: 18 '_saveDatetimeIfChanged' was used before it was defined. |
reviewbot | |
Col: 18 '_readDatetime' was used before it was defined. |
reviewbot | |
Col: 19 '_toAMPM' was used before it was defined. |
reviewbot | |
Col: 50 Missing semicolon. |
reviewbot | |
Col: 46 Missing semicolon. |
reviewbot | |
Col: 18 '_pad' was used before it was defined. |
reviewbot | |
Col: 35 Missing semicolon. |
reviewbot | |
Col: 3 Missing semicolon. |
reviewbot | |
Col: 3 Missing semicolon. |
reviewbot | |
Col: 3 Missing semicolon. |
reviewbot | |
Col: 3 Missing semicolon. |
reviewbot | |
Col: 3 Missing semicolon. |
reviewbot | |
Col: 44 Expected '!==' and instead saw '!='. |
reviewbot | |
Col: 65 ['hour'] is better written in dot notation. |
reviewbot | |
Col: 62 ['period'] is better written in dot notation. |
reviewbot | |
Col: 66 ['hour'] is better written in dot notation. |
reviewbot | |
Col: 62 ['period'] is better written in dot notation. |
reviewbot | |
Col: 11 Missing semicolon. |
reviewbot | |
Col: 18 '_toAMPM' was used before it was defined. |
reviewbot | |
Col: 50 Missing semicolon. |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 13 'model' is defined but never used. |
reviewbot | |
Col: 27 Expected '!==' and instead saw '!='. |
reviewbot | |
Col: 43 Expected '!==' and instead saw '!='. |
reviewbot | |
Col: 65 ['hour'] is better written in dot notation. |
reviewbot | |
Col: 62 ['period'] is better written in dot notation. |
reviewbot | |
Col: 18 '_saveDatetimeIfChanged' was used before it was defined. |
reviewbot | |
Col: 18 '_readDatetime' was used before it was defined. |
reviewbot | |
Col: 19 '_toAMPM' was used before it was defined. |
reviewbot | |
Col: 50 Missing semicolon. |
reviewbot | |
Col: 46 Missing semicolon. |
reviewbot | |
Col: 18 '_pad' was used before it was defined. |
reviewbot | |
Col: 5 'TextFieldView' is defined but never used. |
reviewbot | |
Col: 20 'AutoCompleteView' is defined but never used. |
reviewbot | |
Col: 38 'MarkdownCapableView' is defined but never used. |
reviewbot | |
Col: 1 'RadioButtonFieldView' is defined but never used. |
reviewbot | |
Col: 23 'CheckboxFieldView' is defined but never used. |
reviewbot | |
Col: 42 'DataTimeFieldView' is defined but never used. |
reviewbot | |
Col: 1 'DropdownFieldView' is defined but never used. |
reviewbot | |
Col: 35 Missing semicolon. |
reviewbot | |
Col: 3 Missing semicolon. |
reviewbot | |
Col: 13 'options' is already defined. |
reviewbot | |
Col: 15 Missing semicolon. |
reviewbot | |
Col: 50 Missing semicolon. |
reviewbot | |
Col: 46 Missing semicolon. |
reviewbot | |
Col: 11 Missing semicolon. |
reviewbot | |
Col: 10 Unnecessary semicolon. |
reviewbot | |
Col: 15 Missing semicolon. |
reviewbot | |
Col: 50 Missing semicolon. |
reviewbot | |
Col: 46 Missing semicolon. |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 13 'f_options' is defined but never used. |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 13 'f_options' is defined but never used. |
reviewbot | |
Col: 18 '_pad' was used before it was defined. |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 13 'f_options' is defined but never used. |
reviewbot | |
Col: 18 '_pad' was used before it was defined. |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 13 'f_options' is defined but never used. |
reviewbot | |
Col: 18 '_pad' was used before it was defined. |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
undefined name '_all_fields' |
reviewbot | |
Col: 13 'f_options' is defined but never used. |
reviewbot |
-
Tool: Pyflakes Processed Files: reviewboard/reviews/fields.py reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/views/reviewRequestFieldView.js reviewboard/static/rb/js/views/reviewRequestEditorView.js Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/fields.py reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/views/reviewRequestFieldView.js reviewboard/static/rb/js/views/reviewRequestEditorView.js
-
-
-
-
-
-
-
-
- Description:
-
~ The extension related to this is not posted yet.
~ The extension related to this is not posted yet.
+ CheckboxField and RadioButtonField are good now. + DateTimeField and DropdownButtonField should not be too bad. + It's text field which is troublesome... - Commit:
-
9a8c8671ad60ea95042230f31b0f26c4ab426bdcc546272c896ddc874e70d1d64f148886731d3e1f
-
Tool: Pyflakes Processed Files: reviewboard/reviews/fields.py reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/views/reviewRequestFieldView.js reviewboard/static/rb/js/views/reviewRequestEditorView.js Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/fields.py reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/views/reviewRequestFieldView.js reviewboard/static/rb/js/views/reviewRequestEditorView.js
-
-
-
-
-
-
-
-
-
Hey! Just thought I'd review your code! Looks great, it's mostly blank line and doc stuff. :)
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood. Ex: 'Return the default...' instead of 'Returns the default...'
This applies to the rest of your function docs! :)
-
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
-
-
-
-
-
-
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
-
For all your one-line summaries in your docs, the sentence has to be present tense/ imperative mood.
-
- Change Summary:
-
Right I forgot to publish change.....
- Commit:
-
c546272c896ddc874e70d1d64f148886731d3e1fe3080b24a94eafe1fbb2d78c6c150328eea831c9
Checks run (2 failed, 1 failed with error)
JSHint
-
Warning: Showing 30 of 41 failures.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Pyflakes
- Commit:
-
e3080b24a94eafe1fbb2d78c6c150328eea831c95c7e47d9bf78a92f5d461b61429fc96fcb2c9ddc
Checks run (2 failed, 1 failed with error)
JSHint
Pyflakes
- Description:
-
The extension related to this is not posted yet.
~ CheckboxField and RadioButtonField are good now. ~ DateTimeField and DropdownButtonField should not be too bad. ~ The timezone for timefield are not yet implemented (so now they are just like a formatted text) ~ Text fields are still not done! - It's text field which is troublesome... - Commit:
-
5c7e47d9bf78a92f5d461b61429fc96fcb2c9ddcde2731152f5a53485d519912158913c338089e88
- Summary:
-
[WIP] custom fieldscustom fields
- Description:
-
The extension related to this is not posted yet.
~ The timezone for timefield are not yet implemented (so now they are just like a formatted text) ~ All fields except text fields should be working - Text fields are still not done! - Commit:
-
de2731152f5a53485d519912158913c338089e88c82eb8d413e4950d24210c88546a6ba58ee3adf5
- Change Summary:
-
This is close to the final one! But not yet!
- Description:
-
~ The extension related to this is not posted yet.
~ All fields except text fields should be working ~ The custome fields allow extension writters to write extensions with custom fields!
~ Which include: + Date field + Time field + Datetime field + Dropdown field + Checkbox field + Radiobutton field - Testing Done:
-
+ Javascript unit test for the fields listed above have been done.
+ Test includes: + Correctly disable the fields when changes are not allowed. + Triggers "saveDraft" event when changes are made. - Commit:
-
c82eb8d413e4950d24210c88546a6ba58ee3adf5792721f4ef429946831128af68e09d342d82a9c8