Closed (fixed)
Project:
Drupal core
Version:
8.0.0
Component:
views_ui.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Nov 2012 at 02:23 UTC
Updated:
20 Jul 2016 at 15:58 UTC
Jump to comment: Most recent, Most recent file



Comments
Comment #0.0
technicka commentedadding in images inline
Comment #0.1
technicka commentedgot rid of big images
Comment #1
Bojhan commentedTo append to this, we found this in two studies and it severely interrupted the process to the point that people exited the screen without actually saving and with that having the feeling it didn't work, and creating a new one.
I definitely think this is a major, it occurred in two studies and had a severe impact on the workflow. It is also a bug because it stopped people in their tracks, I am not sure if there was no guidance if people would have understood how to resolve this.
I helped technika in formulating this issue, this proposal outlines a idea on how to solve this. We think this is likely the direction it needs to take, to really create a noticeable save button and changing the layout is part of this as it requires a more holistic change.
Comment #2
technicka commentedcropped versions of original screenshots to show focus
Comment #2.0
technicka commentedcopy
Comment #2.1
technicka commentedadded back images
Comment #2.2
technicka commentedadded explanation for advanced
Comment #3
Bojhan commentedAlright, so I have spend a bit talking this through with @dawhner and @damiankliop.
They mentioned that it will be hard to hide all of this functionality under "Advanced" as its a common thing to use if you have contextual filters and disabling/enabling preview is something you then do often.
I suggested the following:
Another thing for consideration is unchecking "Auto-preview" when you filled out a contextual filter value, since it won't auto update?
Comment #4
Bojhan commentedThis could use some code! :) ?
Comment #5
dawehnerMaybe i should have better stopped at the first contact with css, maybe this is still helpful for someone else :)
Comment #6
dead_armPostponing on #1840896: Views UI CSS Cleanup which is almost, because it updates some of the preview styling. Once that is in I would be happy to work on the CSS portion dawehner!
Comment #7
tim.plunkettThis issue has two parts:
The second one is blocked by #1840896: Views UI CSS Cleanup, but the first is separate, and unblocked.
It could be moved to a separate issue.
Comment #8
dead_armComment #9
dead_armSelf-assigning to finish up.
Comment #10
dead_armChanges from #5 with CSS clean up.
Chrome preview
Firefox preview
Comment #12
dead_armFor good measure adding before-patch screenshots.
Chrome preview before
Firefox preview before
Comment #13
dead_armI'll update the patch to fix the test failures.
Comment #14
dead_armUpdated the tests to be able to find and click the preview button.
Comment #15
dawehnerCan't review the css side of it, but especially the missing flickering is great!
From the PHP side it looks RTBC beside that single point here
This seems to duplicate just existing code.
Comment #16
Bojhan commentedThis still needs the box like styling, the header of view config has.
Comment #17
jessebeach commentedxjm, tim.plunkett, dwehner, jessebeach and dmistry discussed and concluded that the Save button will be placed in the bottom left, following the standard Drupal pattern. The save button in the top right will be removed.
Comment #18
tim.plunkettIn addition, the Save button will be persistent. Currently it is only visible if the view has been modified.
Comment #19
Bojhan commentedI am +1 to this, keep in mind though that the "distinguish" part isn't solved by this.
Comment #20
Bojhan commentedtagging
Comment #21
damiankloip commentedRerolled. dead_arm - goodluck.
Comment #23
klonoshuh?
Comment #24
tim.plunkettwhat?
Comment #25
klonos#22 says the patch failed testing while the patch in #21 is green. ???
Comment #26
tim.plunkettI retested it from qa.d.o
Comment #27
dead_armPatch attached includes styling (#16 and #19) on the preview section in order to address the visual differentiation portion of this task.
Currently:
With patch applied:
Comment #28
dead_armCreated a new issue, #2003440: Change the location of the save button, for the save button portion of this task, as #7 recommended it previously and the patches thus far have addressed the distinguishing areas portion only.
Comment #29
dead_armAdd #27 to queue for testing.
Comment #31
dead_arm#29: 1831894-27.patch queued for re-testing.
Comment #33
dead_arm#29: 1831894-27.patch queued for re-testing.
Comment #35
dead_armRe-rolled patch.
Comment #36
dead_armPostponing on #1983164: Entity Forms in ajax requests don't find the route until Preview is working again, as we need all of the elements present in order to apply new styling correctly.
Comment #37
dead_armPreview is working, so the changes can be tested. The patch needed to be re-rolled. I got some of the styling further along, but the form markup isn't ideal to make all the changes requested, namely aligning the preview button with the field and having both of those be part of the preview header.
Currently:
With patch:
Comment #38
Bojhan commentedThis doesn't install on simplytest.me
It really looks good though, can we get a reroll?
Comment #39
dawehnerRerolled.
Comment #40
Bojhan commented@dawehner Did you check it? There are some wierd things happening.
Comment #40.0
Bojhan commentedrelocate text
Comment #41
Bojhan commentedOk, needs a little bit of work
Comment #42
dawehnerHei, everyone should be able to work on it :)
Comment #43
idebr commentedRerolled patch attached. Can confirm it does not look good.
Comment #44
idebr commentedIt appears the Views UI had some updates since the last patch:
Screenshot before:

Screenshot after:

Comment #45
dawehnerThese screenshots look alright for me.
@Bojhan @yoroy
Is it okay to not tackle the argument part for now but just care about the save button area?
Comment #46
Bojhan commentedSure, we can go ahead and remove that silly text too "Click on an item... blababa"
Comment #47
dawehner+1
Comment #48
idebr commentedI have updated the Views edit form to remove the silly text. As mentioned in my previous comment, there is a separate issue for the exposed filter styling in the View preview: #2396465: Views UI: Exposed Filter css is not applied
Screenshot after:

Comment #49
dawehnerLooks fine for me.
Comment #50
jibranCan we have a RTL screenshot?
Comment #51
idebr commentedThanks jibran for reminding me to add RTL css :)
Screenshot after (LTR):

Screenshot after (RTL):

Comment #52
dawehnerStill looks fine :)
Comment #53
alexpottThis issue addresses a major bug and is a prioritised change (usability) as per https://www.drupal.org/core/beta-changes. Committed ab94733 and pushed to 8.0.x. Thanks!
Comment #55
Bojhan commentedWhooo!
Comment #57
gábor hojtsyThanks, removing from UX sprint now.