Opened 17 years ago
Closed 14 years ago
#12636 closed enhancement (fixed)
Update sample output of a custom date via ajax
| Reported by: | nacin | Owned by: | garyc40 |
|---|---|---|---|
| Priority: | lowest | Milestone: | 3.1 |
| Component: | UI | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
On Settings > General, we have instructions for users to "Click “Save Changes” to update sample output."
We should update the example via ajax when the input box that takes a PHP date string loses focus.
Attachments (1)
Change History (9)
#1
@
16 years ago
- Keywords has-patch needs-refresh added
- Milestone Awaiting Triage → 3.1
- Priority normal → lowest
- Severity normal → minor
Need to handle $_POST better in admin ajax.
#3
@
16 years ago
- Cc added
- Resolution fixed
- Severity minor → normal
- Status closed → reopened
I think we need to improve this. Now:
- The required action to have the sample output updated is not intuitive (and the UI offers not hint on what you need to do).
- More importantly, the workflow is not good.
Can’t we have the request sent after a small delay, so that you receive feedback while your cursor is still in the input box?
#4
@
16 years ago
- Keywords needs-patch added; has-patch needs-refresh removed
To be honest, I don't think the UI needs to hint. I think this is still a huge improvement over 3.0.
I don't have a problem with firing off the ajax request after a delay.
#5
@
16 years ago
- Milestone 3.1 → Future Release
Let's iterate again in 3.2 dev cycle with the delay (only if changed, obviously). Done with it for 3.1.
#7
@
16 years ago
- Owner set to
- Status reopened → assigned
Found another issue with this.
Try checking the radio box "Custom", enter a custom date / time format. Then click on another radio box (a preset format) instead of clicking randomly outside of the text input. The format inside of the text input is changed properly to that of the preset format, however, the ajax request is already sent and an invalid sample output appears.
Proof of concept.