#41887 closed enhancement (fixed)
Code Editor: Error disables the Update File button.
Reported by: | paaljoachim | Owned by: | melchoyce |
---|---|---|---|
Milestone: | 4.9 | Priority: | high |
Severity: | normal | Version: | |
Component: | General | Keywords: | ux-feedback needs-patch |
Focuses: | Cc: |
Description
When there is an error in the code the Update File button is disabled.
It would be better to find another approach.
Such as giving a warning about saving the file etc... Leaving it up to the user to decide on saving the file.
Attachments (1)
Change History (14)
This ticket was mentioned in Slack in #core-customize by paaljoachim. View the logs.
7 years ago
#2
@
7 years ago
- Keywords ux-feedback added
- Milestone changed from Awaiting Review to 4.9
- Owner set to melchoyce
- Status changed from new to assigned
#3
@
7 years ago
- Summary changed from Better Code Editing: Error disables the Update File button. to Code Editor: Error disables the Update File button.
#4
@
7 years ago
- Priority changed from normal to high
Bumping priority to high for visibility and alignment with 4.9 goals, and given proximity to beta 1 deadline.
This ticket was mentioned in Slack in #design by karmatosed. View the logs.
7 years ago
#6
@
7 years ago
Let's disable save locking for CSS errors — the only way you're going to whitescreen your site is if you display:none
everything, haha.
Working on an override design for php/js files.
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
7 years ago
#9
@
7 years ago
update-despite-errors.png introduces a checkbox to toggle on saving.
Some notes:
- When you click the checkbox, the disabled button becomes enabled.
- Let's save this setting by default, so the next time someone makes an error the checkbox is already selected.
- On smaller screens, the checkbox will wrap underneath the notice. The update button will wrap underneath that, so it goes Notice > Checkbox > Button.
- I've changed "save" in the notice to "update this file," to match the label on the primary button.
- The editor's been moved down a bit to give it some space between it and the header.
- Likewise, I've moved down the template files in the right side of the screen so it lines up with the top of the editor.
- I've also moved the documentation to the top of the screen, so it's not grouped with the update settings.
There could be an “I understand” override checkbox similar to when supplying an insecure password. Or rather, instead of having a separate checkbox the error notification itself could simply be made dismissible, and once dismissed then the ability to save would be restored. This could be integrated into Custom CSS, Custom HTML widget, and file editor.