#24553 closed defect (bug) (fixed)
"{user} is currently editing" messages on post listing screen causes items on screen to move around
Reported by: | johnbillion | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 3.6 | Priority: | high |
Severity: | normal | Version: | 3.6 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
A seemingly innocuous feature that could get very annoying for users.
When a user is editing a post, the post listing screen displays a "{user} is currently editing" message below the post to other users.
The appearance and disappearance of this message on each post (which happens periodically via Heartbeat) causes the table row height to change significantly.
Imagine a site with several editors working simultaneously. The post listing screen can jump around enough that it can cause people to mis-click a link if one of the messages appears or disappears just as you go to click a link.
I've already mis-clicked once and I'm only working on a test site with two dummy users. UI elements that cause other elements to move around when their state changes is bad.
Not sure how we can address this. The message is a sizable UI element that we can't really reserve space for. Suggestions?
Attachments (5)
Change History (20)
#2
@
11 years ago
- Milestone changed from Awaiting Review to 3.6
No current idea that is accessible+touch friendly, but I agree that this is bad.
#3
@
11 years ago
Let's slide it in, slowly, instead of just popping it in and making everything suddenly shift.
#4
@
11 years ago
24553.patch introduces a slide up/down effect when the message is added/removed, but the effect is not smooth because of a slight jump due to padding/margin being applied/removed. Improvements welcome.
@
11 years ago
Trying a CSS3-based approach, which will work in everything but IE<10 and requires less JS.
#6
@
11 years ago
A video roughly showing what I did with CSS3: https://dl.dropboxusercontent.com/u/7464197/LockSlideInOut.mov (one or two minor tweaks out-of-date, but representative of the overall effect).
I haven't fully tested this cross-browser, and the actual styles used for the transition are up for debate, but it's my understanding that the jQuery team is recommending the use of CSS3 for minor animations such as this.
Height on the lock icon was adjusted to make the box model height of its container match between the locked and unlocked states.
#7
@
11 years ago
- Owner set to markjaquith
- Resolution set to fixed
- Status changed from new to closed
In 24576:
#9
@
11 years ago
- Priority changed from normal to high
- Resolution fixed deleted
- Status changed from closed to reopened
height: auto;
(24553.3.patch) seems to fix the overlap, needs some more testing to confirm it doesn't interfere with the transition.
Perhaps the {username is currently editing} message could instead be displayed when the user hovers over the Lock icon.