Skip to content

Commit 208aba9

Browse files
committed
Added "solution status" field with dynamic field plugin. Hide "has patch" and "patch needs improvement".
1 parent 5d50a34 commit 208aba9

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

trac-env/conf/trac.ini

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ max_diff_files = 0
1010
wiki_format_messages = enabled
1111

1212
[components]
13+
dynfields.* = enabled
1314
trac.about.* = disabled
1415
trac.admin.web_ui.PluginAdminPanel = disabled
1516
trac.ticket.query.* = enabled
@@ -208,26 +209,29 @@ restrict_owner = disabled
208209
easy = checkbox
209210
easy.label = Easy pickings
210211
easy.order = 60
211-
has_patch = checkbox
212-
has_patch.label = Has patch
213-
has_patch.order = 20
214-
needs_better_patch = checkbox
215-
needs_better_patch.label = Patch needs improvement
216-
needs_better_patch.order = 50
217-
needs_better_patch.value = 0
218212
needs_docs = checkbox
219213
needs_docs.label = Needs documentation
220214
needs_docs.order = 30
221215
needs_docs.value = 0
216+
needs_docs.show_when_solution_status = Needs Improvement
222217
needs_tests = checkbox
223218
needs_tests.label = Needs tests
224-
needs_tests.order = 40
219+
needs_tests.order = 50
225220
needs_tests.value = 0
221+
needs_tests.show_when_solution_status = Needs Improvement
226222
stage = select
227223
stage.label = Triage Stage
228224
stage.options = Unreviewed|Accepted|Ready for checkin|Someday/Maybe
229225
stage.order = 10
230226
stage.value = 0
227+
solution_status = select
228+
solution_status.show_when_stage = Accepted
229+
solution_status.label = Solution Status
230+
solution_status.options = |Needs Patch|Needs Review|Needs Improvement
231+
solution_status.order = 40
232+
solution_status.value =
233+
solution_status.invalid_if =
234+
solution_status.clear_on_hide = true
231235
ui_ux = checkbox
232236
ui_ux.label = UI/UX
233237
ui_ux.order = 70

0 commit comments

Comments
 (0)