{"action":"created","issue":{"url":"https://api.github.com/repos/uikit/uikit/issues/1666","repository_url":"https://api.github.com/repos/uikit/uikit","labels_url":"https://api.github.com/repos/uikit/uikit/issues/1666/labels{/name}","comments_url":"https://api.github.com/repos/uikit/uikit/issues/1666/comments","events_url":"https://api.github.com/repos/uikit/uikit/issues/1666/events","html_url":"https://github.com/uikit/uikit/issues/1666","id":121749940,"node_id":"MDU6SXNzdWUxMjE3NDk5NDA=","number":1666,"title":"Feature request: Custom button label for modals.","user":{"login":"tranduyhung","id":503262,"node_id":"MDQ6VXNlcjUwMzI2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/503262?v=4","gravatar_id":"","url":"https://api.github.com/users/tranduyhung","html_url":"https://github.com/tranduyhung","followers_url":"https://api.github.com/users/tranduyhung/followers","following_url":"https://api.github.com/users/tranduyhung/following{/other_user}","gists_url":"https://api.github.com/users/tranduyhung/gists{/gist_id}","starred_url":"https://api.github.com/users/tranduyhung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranduyhung/subscriptions","organizations_url":"https://api.github.com/users/tranduyhung/orgs","repos_url":"https://api.github.com/users/tranduyhung/repos","events_url":"https://api.github.com/users/tranduyhung/events{/privacy}","received_events_url":"https://api.github.com/users/tranduyhung/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-12-11T16:57:52Z","updated_at":"2018-12-23T20:39:12Z","closed_at":"2015-12-11T17:18:12Z","author_association":"NONE","body":"At the present time we have Cancel and Ok buttons for Prompt and Confirm dialogs.\n\nI think it is better if we have options to set our own button labels for closing the dialog (Cancel) and process (Ok).\n\nI prefer the Yes and No answers for the question \"Are you sure?\", instead of \"Ok\" and \"Cancel\", or clicking \"Process\" or \"Submit\" button after I enter my name in Prompt dialog instead of clicking \"Ok\" button.\n\nYes, we can build own old modals, but why not make all of this possible with just 1 line of JavaScript code instead of many lines of HTML for UI and many lines of JavaScript for handling the events?\n\nThank you for considering this feature!\n"},"comment":{"url":"https://api.github.com/repos/uikit/uikit/issues/comments/449661975","html_url":"https://github.com/uikit/uikit/issues/1666#issuecomment-449661975","issue_url":"https://api.github.com/repos/uikit/uikit/issues/1666","id":449661975,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTY2MTk3NQ==","user":{"login":"htkcodes","id":26159611,"node_id":"MDQ6VXNlcjI2MTU5NjEx","avatar_url":"https://avatars1.githubusercontent.com/u/26159611?v=4","gravatar_id":"","url":"https://api.github.com/users/htkcodes","html_url":"https://github.com/htkcodes","followers_url":"https://api.github.com/users/htkcodes/followers","following_url":"https://api.github.com/users/htkcodes/following{/other_user}","gists_url":"https://api.github.com/users/htkcodes/gists{/gist_id}","starred_url":"https://api.github.com/users/htkcodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htkcodes/subscriptions","organizations_url":"https://api.github.com/users/htkcodes/orgs","repos_url":"https://api.github.com/users/htkcodes/repos","events_url":"https://api.github.com/users/htkcodes/events{/privacy}","received_events_url":"https://api.github.com/users/htkcodes/received_events","type":"User","site_admin":false},"created_at":"2018-12-23T20:39:12Z","updated_at":"2018-12-23T20:39:12Z","author_association":"NONE","body":"UIKIT 2 Documentation is lacking for this. Thank you."}}
{"actor":{"display_login":"htkcodes"}}