Title: Improve UX of disabled auto-start/stop · Issue #3463 · coder/coder · GitHub
Open Graph Title: Improve UX of disabled auto-start/stop · Issue #3463 · coder/coder
X Title: Improve UX of disabled auto-start/stop · Issue #3463 · coder/coder
Description: Problem #3358 introduces the ability to disable the auto-start or auto-stop section of the workspace schedule form. For ease of use, your most recently entered values are held in the form even when you disable it, so that if you re-enabl...
Open Graph Description: Problem #3358 introduces the ability to disable the auto-start or auto-stop section of the workspace schedule form. For ease of use, your most recently entered values are held in the form even when...
X Description: Problem #3358 introduces the ability to disable the auto-start or auto-stop section of the workspace schedule form. For ease of use, your most recently entered values are held in the form even when...
Opengraph URL: https://github.com/coder/coder/issues/3463
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve UX of disabled auto-start/stop","articleBody":"## Problem\r\n#3358 introduces the ability to disable the auto-start or auto-stop section of the workspace schedule form. For ease of use, your most recently entered values are held in the form even when you disable it, so that if you re-enable it, you don't have to re-enter them. However, they are cleared when you submit the form (this is necessary because the backend uses empty values to signify disabled; the switch is only on the frontend). Thus, a disabled section has misleading helper text that tells you when your workspace will stop or start, but in reality, if you submit the form with switches off, no automatic starting or stopping will happen. \r\n\r\nThis helper text is lying to you:\r\n\u003cimg width=\"451\" alt=\"Screen Shot 2022-08-10 at 10 45 35 AM\" src=\"https://user-images.githubusercontent.com/1290996/184012394-39a1f464-01a8-43d2-86b6-7f922270394d.png\">\r\n\r\n## Definition of Done:\r\nIt's clear to the user what values will be saved when they submit the form. \r\n\r\n## Possible solutions:\r\n- do not persist form values (clear the values when a section is disabled)\r\n- hide helper text when a section is disabled (probably requires editing `getFormHelpers` in order to preserve the decision between showing helper text and error text)\r\n- add helper text to the switches to make it more obvious that if the switch is off, all bets are off\r\n- ???","author":{"url":"https://github.com/presleyp","@type":"Person","name":"presleyp"},"datePublished":"2022-08-10T20:17:11Z","url":"https://github.com/coder/coder/issues/3463"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:41a6db3b-5102-cb5e-137f-237754426d8a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CBE6:6365:2622B6E:32ED458:6B01AA80 |
| html-safe-nonce | 801170a2723ae37b426141d4f7f3ad8819b3f48f36a050fd349479fe3d0a949e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkU2OjYzNjU6MjYyMkI2RTozMkVENDU4OjZCMDFBQTgwIiwidmlzaXRvcl9pZCI6IjY2MTE0MzAwMzQ1NTUxMjAyNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a7254d77d85f906465b360d4a6fb1e863d0cc0c5b369649804949a233370fbbe |
| hovercard-subject-tag | issue:1335154079 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/3463/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0c486cdead3870e1ece1802d62520a1537e48e4160f548a6998f1fdd109e9356/coder/coder/issues/3463 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c486cdead3870e1ece1802d62520a1537e48e4160f548a6998f1fdd109e9356/coder/coder/issues/3463 |
| og:image:alt | Problem #3358 introduces the ability to disable the auto-start or auto-stop section of the workspace schedule form. For ease of use, your most recently entered values are held in the form even when... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | presleyp |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width