)]}'
{"horizon/static/framework/widgets/form/modal-form.service.js":[{"author":{"_account_id":24056,"name":"wei.ying","email":"wei.ying@easystack.cn","username":"wei.ying"},"change_message_id":"e315eb85c0481594462bf0bea7814c41bd0f6c1a","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    function open(config) {"},{"line_number":51,"context_line":"      var modalConfig \u003d {"},{"line_number":52,"context_line":"        backdrop: \u0027static\u0027,"},{"line_number":53,"context_line":"        size: config.size || \u0027lg\u0027,"},{"line_number":54,"context_line":"        resolve: {"},{"line_number":55,"context_line":"          context: function() {"},{"line_number":56,"context_line":"            return {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5f93b717_9defc3e8","line":53,"range":{"start_line":53,"start_character":0,"end_line":53,"end_character":34},"updated":"2018-01-24 15:47:27.000000000","message":"If we set the $uibModal size to \"sm\", the width of the form element is really no longer wide, but the form modal width will also be small with a width of 300px, which does not look good. We should not set the size of $uibModal by default, so the form modal size will use the size of the modal-dialog class, which is the same size as the django form window with a width of 732px. Setting the width of a form element can be controlled by adding an extra bootstrap class to the form element, as you did before [1]. Actually, I think this class should write to the form component as the default width of the form element.\n\n[1] https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/keypairs/actions/create.service.js#L66","commit_id":"4126daf1b32a0c3a0f86df272b306a9f54494734"},{"author":{"_account_id":24056,"name":"wei.ying","email":"wei.ying@easystack.cn","username":"wei.ying"},"change_message_id":"67c1bc80a7cfd80e5dc2a1458e4d59ff7bce043b","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    function open(config) {"},{"line_number":51,"context_line":"      var modalConfig \u003d {"},{"line_number":52,"context_line":"        backdrop: \u0027static\u0027,"},{"line_number":53,"context_line":"        size: config.size || \u0027lg\u0027,"},{"line_number":54,"context_line":"        resolve: {"},{"line_number":55,"context_line":"          context: function() {"},{"line_number":56,"context_line":"            return {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5f93b717_39642322","line":53,"range":{"start_line":53,"start_character":0,"end_line":53,"end_character":34},"in_reply_to":"5f93b717_2e639c1c","updated":"2018-01-28 15:38:47.000000000","message":"HI Shu, thanks for your explanation, I understand your point. I revisit the horizon django form, basically every create or edit form contains a description, of course, also contains create or edit user form [1] [2], If the description is deleted, the dialog will be blank on the right.\nIMHO, I\u0027m not sure if we need to keep the same as the django form, add a description to the right of each form, also angular form size looks a bit small if angular form modal is \u0027sm\u0027 size, I\u0027m still not sure if this looks good enough .\n\n[1] https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/users/templates/users/_create.html#L4\n[2] https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/users/templates/users/_update.html#L4","commit_id":"4126daf1b32a0c3a0f86df272b306a9f54494734"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b7a62b9940fb9aa5db2a4b6bd4b78d5a296598e7","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    function open(config) {"},{"line_number":51,"context_line":"      var modalConfig \u003d {"},{"line_number":52,"context_line":"        backdrop: \u0027static\u0027,"},{"line_number":53,"context_line":"        size: config.size || \u0027lg\u0027,"},{"line_number":54,"context_line":"        resolve: {"},{"line_number":55,"context_line":"          context: function() {"},{"line_number":56,"context_line":"            return {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5f93b717_a1fd366f","line":53,"range":{"start_line":53,"start_character":0,"end_line":53,"end_character":34},"in_reply_to":"5f93b717_39642322","updated":"2018-01-30 05:49:11.000000000","message":"I have a same feeling as wei.ying. The angular form size looks a bit small (or a bit wide). IMHO it sounds reasonable to have help text in the right side of the form as we do in Django forms. In Django forms, we tend to provide too short help text but I think we can provide more reasonable information. Personally the form of creating a security group provides nice text.\n\nOur interface looks inconsistent. Workflows are different between Django and Angular version. Now Angular and Django forms are inconsistent.... we are ignoring the basic GUI design policy to make interfaces consistent :-(\n\nI think this can be  revisit and discussed in Rokcy.","commit_id":"4126daf1b32a0c3a0f86df272b306a9f54494734"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"fb4401bf42224d5be0ef29862c6237fef9b88cc2","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    function open(config) {"},{"line_number":51,"context_line":"      var modalConfig \u003d {"},{"line_number":52,"context_line":"        backdrop: \u0027static\u0027,"},{"line_number":53,"context_line":"        size: config.size || \u0027lg\u0027,"},{"line_number":54,"context_line":"        resolve: {"},{"line_number":55,"context_line":"          context: function() {"},{"line_number":56,"context_line":"            return {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5f93b717_2e639c1c","line":53,"range":{"start_line":53,"start_character":0,"end_line":53,"end_character":34},"in_reply_to":"5f93b717_9defc3e8","updated":"2018-01-26 07:13:25.000000000","message":"I think \u0027sm\u0027 is enough for Angular create/update role modal. Its content is short text and the dialog doesn\u0027t have \u0027Description:\u0027 on the right half. And \u0027col-sm-6\u0027 used in create/import keypair dialog means 50% width of parent, create/import keypair dialog has \u0027Description:\u0027 on the right half. So if we use \u0027col-sm-6\u0027 in create/update role modal, the blank space will appear on the right half of the dialog.\n\n\u0027md\u0027 that have width 732px is good for default, I think too, but the change of default size will force to confirm every Angularized dialog, including plugins. IMO, It\u0027s not good for this time, i.e. at the end of cycle.","commit_id":"4126daf1b32a0c3a0f86df272b306a9f54494734"}]}
