|
Implement Annotations in go env.
Annotations were added in gojuju, this branch implements them in the go environment in the GUI. Additionally, in preparation for the different entity name styles ('mysql' in pyjuju, 'service-mysql' in gojuju), the relevant model lists now have a createDisplayName method that normalizes the names for displayin in the views.
https://code.launchpad.net/~makyo/juju-gui/go-annotations-1152627/+merge/152505
(do not edit description out of merge proposal)
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+429 lines, -25 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
app/models/models.js
|
View
|
1
2
3
|
7 chunks |
+69 lines, -1 line |
0 comments
|
Download
|
 |
M |
app/store/env/go.js
|
View
|
1
|
1 chunk |
+122 lines, -0 lines |
0 comments
|
Download
|
 |
M |
app/templates/service-config.handlebars
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
app/templates/service-constraints.handlebars
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
app/templates/service-header.partial
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
app/templates/unit.handlebars
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
app/views/charm-panel.js
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
app/views/topology/service.js
|
View
|
1
2
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
app/views/unit.js
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/test_env_go.js
|
View
|
1
|
2 chunks |
+189 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/test_environment_view.js
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/test_fakebackend.js
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
test/test_model.js
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/test_service_module.js
|
View
|
1
2
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
test/test_unit_view.js
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7
|