Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The new Views 3 UI was developed with Seven as the admin theme, which looks great.
There are some obvious issues with Bartik which can be fixed.
However, if we clean it up in Stark first, there will be better defaults for both Seven/Bartik, and other contrib admin themes.
Comment | File | Size | Author |
---|---|---|---|
#49 | views-ui-1098052-5.patch | 16.75 KB | jessebeach |
#43 | stark-edit.png | 37.35 KB | merlinofchaos |
#43 | stark-list.png | 7.12 KB | merlinofchaos |
#41 | views-ui-1098052-4.patch | 13.81 KB | jessebeach |
#14 | rubik_views_ui_header.png | 18.32 KB | 3rdLOF |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commented+1000
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedMy +1000 got eaten somehow.
Comment #3
3rdLOF CreditAttribution: 3rdLOF commentedViews 3 on Rubik is kaput.
Comment #4
dgastudio CreditAttribution: dgastudio commentedsub.
Comment #5
lelizondo CreditAttribution: lelizondo commentedHere is an initial patch fixing most of the problems when adding a view (before editing).
Still needs a lot of work.
Comment #6
jessebeach CreditAttribution: jessebeach commentedsubscribe
Comment #7
jessebeach CreditAttribution: jessebeach commentedIn the changes to views-admin.ctools.css, I don't see why the !importants are necessary:
Can you provide an example where there's a style the won't be overridden without them?
Comment #8
lelizondo CreditAttribution: lelizondo commentedThat line affects the new links menu on admin/structure/views. The ones with edit, disable, clone and export.
But you're right, it can be done in another way.
Here is the patch that fixes that.
Comment #9
lelizondo CreditAttribution: lelizondo commentedHere is a working patch that fixes all evident issues. This need some testing with other themes and specially test it to check if nothing got broken with Seven.
Comment #10
lelizondo CreditAttribution: lelizondo commenteduse this patch since the previous one broke some things in seven.
Comment #11
3rdLOF CreditAttribution: 3rdLOF commentedLtest update (prior and after these patches) leaves the Views edit UI themeless and empty, even using Seven.
Comment #12
3rdLOF CreditAttribution: 3rdLOF commentedCorrection: It appears this happens ONLY some custom made views, not default ones.
Comment #13
lelizondo CreditAttribution: lelizondo commentedThat's weird. This is just pure CSS, if it looks like that is because some files are not loading.
Comment #14
3rdLOF CreditAttribution: 3rdLOF commentedComment #15
lelizondo CreditAttribution: lelizondo commentedI enabled Rubik and Tao from git and I'm getting tons of errors, I can't fix this if Tao/Rubik are not working properly.
Comment #16
3rdLOF CreditAttribution: 3rdLOF commentedComment #17
lelizondo CreditAttribution: lelizondo commentedCan you please post what versions are you using?
Comment #18
3rdLOF CreditAttribution: 3rdLOF commentedComment #19
lelizondo CreditAttribution: lelizondo commentedI'm sorry, I'm using those versions and all I get is a WSOD.
Comment #20
3rdLOF CreditAttribution: 3rdLOF commentedComment #21
tim.plunkettAny WSOD from Rubik and Tao are almost certainly unrelated to Views, please let's stay on topic here.
Comment #22
3rdLOF CreditAttribution: 3rdLOF commentedShould we post any issues with any admin themes at all? Just asking so as not to pollute the thread
Comment #23
tim.plunkettIssues relating to improving the CSS of the new Views 3 UI, yes. Once again, working towards Stark here, not every contrib admin theme.
Comment #24
3rdLOF CreditAttribution: 3rdLOF commentedI removed all references to Rubik and Tao.
Comment #25
merlinofchaos CreditAttribution: merlinofchaos commentedYes. It needs to look good in Stark first. In theory, if the base CSS looks good in stark, then anything else is going to be adjusting for quirks in the CSS and we can let admin themes handle that.
Now, major problems with major themes we can deal with, *if* it's sensible to do so.
Comment #26
lelizondo CreditAttribution: lelizondo commentedCan anyone please review #10 with Stark, Bartik and Seven and report issues..
Comment #27
3rdLOF CreditAttribution: 3rdLOF commentedJust a quick note for those folks who happen to wonder in here with issues with Rubik. I slapped together a temp CSS file that should solve most of the issues with the latest Views 3 Dev version and Rubik. Not a permanent fix but it should hold them over for the time being until things get cleaned up.
I hope that is ok to post this, my apologies if it is not. I figure it could save everyone some headaches:
http://drupal.org/node/1101086
Comment #28
riyasmtpm CreditAttribution: riyasmtpm commentedComment #29
bojanz CreditAttribution: bojanz commented@riyasmtpm
Don't abduct issues. Nobody will help you here. You need to open a new issue with your question, and wait there.
Comment #30
Shadlington CreditAttribution: Shadlington commentedRemoving irrelevant tag as an excuse to sub :)
Comment #31
lelizondo CreditAttribution: lelizondo commented@kannary what's the difference between the patches in this issue and the one in http://drupal.org/node/1101086
Comment #32
3rdLOF CreditAttribution: 3rdLOF commented@lelizondo:
It is not a patch. It is simply a temporary CSS for people using Rubik that do not want / cannot switch to Seven for whatever reason. (my case)
Patches here are for Seven and Stark.
If you have any questions post them in the issue at that link, not here.
Comment #33
joachim CreditAttribution: joachim commentedSubscribe.
On Garland, the main problems are:
- buttons are far too big
- dividing lines are faint to the point of being invisible
Will test the patch when I have time :)
Comment #34
jessebeach CreditAttribution: jessebeach commented@lelizondo I'm verifying #10
Comment #35
jessebeach CreditAttribution: jessebeach commented@lelizondo I'm having trouble applying your patches. I need to go through them and remove the a/ and b/ characters in the paths e.g.
Are you creating the patches from the root of your views module?
To apply, I cd to the root of my views module, then run
Comment #36
bojanz CreditAttribution: bojanz commented@jesse
When the patch has a/ and b/ (which is the new default patch format), you apply the patch with "patch -p1 < file.patch" (from the root directory)
Comment #37
lelizondo CreditAttribution: lelizondo commented@jessebeach there are multiple files affected in the patch, that's way you should apply the patch from the views root directory
Comment #38
jessebeach CreditAttribution: jessebeach commented@bojanz and @lelizondo, got it, thanks for clarifying. @lelizondo, sorry to imply you were doing something incorrectly. I should have added the caveat that it was most likely something I was doing, which ended up being the case.
Comment #39
lelizondo CreditAttribution: lelizondo commentedno problem @jessebeach
please report back with issues you find with the patch.
Comment #40
joachim CreditAttribution: joachim commentedPatch fixes the button size for me, but it doesn't change the faintness of the lines.
Also, display name hover is funny on Garland.
Comment #41
jessebeach CreditAttribution: jessebeach commentedThis patch incorporates @lelizondo's changes and extends them. I moved as much presentation code from views-admin.theme.css to views-admin.seven.css as I felt I could without completely gutting .theme.css. Views should have a basic look and feel. For example, the rounded corners on buttons and font colors were moved to .seven.css, but the colors for borders were not, since these are sufficiently agnostic to a particular admin theme. The borders also chunk the ui up visually and make it easier to use.
Comment #42
jessebeach CreditAttribution: jessebeach commentedchanging the title of the issue to reflect that these changes affect Stark only.
Comment #43
merlinofchaos CreditAttribution: merlinofchaos commentedList page
Edit page
All in all that's not many complaints.
Comment #44
merlinofchaos CreditAttribution: merlinofchaos commentedHmm. Scratch that.
I applied then unapplied the patch and things changed.
Despite that I cleared caches and shift reloaded multiple times., (*&)(*&)(*ing Chrome.
Comment #45
merlinofchaos CreditAttribution: merlinofchaos commentedOk, the buttons are normal.
Modal text still oddly large, UI still oddly wide, bucket titles still all-capsed.
Comment #46
merlinofchaos CreditAttribution: merlinofchaos commentedThe UI seems to be getting pushed wide by the query in pre.
Comment #47
merlinofchaos CreditAttribution: merlinofchaos commentedCrosspost killed title.
Comment #48
jessebeach CreditAttribution: jessebeach commented@merlinofchaos, I think that when you say the Ui is oddly wide, you mean that the content (tables, right?) are busting out of the viewport width, not that that the page fills the viewport 100%.
Comment #49
jessebeach CreditAttribution: jessebeach commentedThis patch incorporates changes for these issues:
Comment #50
merlinofchaos CreditAttribution: merlinofchaos commentedSeriously rockin' work on this! The UI is usable on Stark. And yes, it was busting out of the viewport because of the long query. A little wrapping helps, though I think there's still a bigger problem that I want to see if we can deal with.
Comment #51
jessebeach CreditAttribution: jessebeach commented@merlinofchaos, I added white-space:pre-wrap to the <pre> elements. They shouldn't be busting the page wide any more. A wide table though, would still bust the page width.
Comment #52
merlinofchaos CreditAttribution: merlinofchaos commentedYeah. I would like to separate the preview and the main UI so that can't happen. I'm going to create a separate issue for that.
That's here: http://drupal.org/node/1104204