Closed (fixed)
Project:
Views data export
Version:
8.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2023 at 08:48 UTC
Updated:
23 Sep 2026 at 10:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
malcomio commentedComment #4
malcomio commentedSee merge request 24
I've closed #3014503: Bigger CSS based button? as a duplicate - ressa should get credit here.
Comment #5
kavya n n commentedAdding patch for Increase size of download buttons
Comment #6
kavya n n commentedComment #7
kavya n n commentedComment #8
solideogloria commentedRTBC for the merge request. I didn't use the patch; I used the MR's patch file.
Very nice! I like it! Now the buttons will conform to my site's theme!
Personally, I think it'd be nice if the button text could be customized in the view settings, though I don't need to use that.
Comment #9
solideogloria commentedFor some reason it didn't apply when I used 8.x-1.3, but it did apply to dev. They should be equal right now, though...
Comment #10
ressa+1 RTBC for the Gitlab patch "MR !24". It works fine with the dev-version. (Doesn't apply with the latest release 1.4)
Comment #11
dieterholvoet commentedI'm not sure if it makes sense to style it as a regular button and to keep it in the feed icon region. Before, it matched the style of other feed icons, now not anymore.
A better solution IMO would be to add a local action (button in de top right region of the screen), but I'm not sure if this is possible in views.
Comment #12
dieterholvoet commentedComment #13
dieterholvoet commentedI created a new issue since the scope is way different than this one: #3414095: Add export links as local actions instead of feed icons.
Comment #14
ressaGreat idea @DieterHolvoet, I very much agree that the position in the lower left corner is not ideal. Perhaps this issue should even be closed, and further work done in #3414095: Add export links as local actions instead of feed icons?
Comment #15
solideogloria commentedI think the feasibility of that type of solution should be evaluated. If it's not possible for filters to be taken into account, then having the button at the bottom is preferrable.
Removing the filtering would break backwards compatibility and break the functionality for some users.
Comment #16
dieterholvoet commented@ressa While I do agree with you, we should probably leave it up to the maintainer to decide which solution to go for.
Comment #17
ressaSure, no problem :) Though, as far as I can tell, no maintainer has yet participated in this issue. It could be changed to Postponed?
Comment #18
steven jones commentedThis seems like a great change to me, but is a breaking change, so we should bump the version of the module I reckon.
Comment #20
steven jones commentedThanks everyone, fixed in 8.x-2.x.
Comment #22
skyredwangAttached patch is the backport to 1.x
Comment #23
skyredwang#22 patch wasn't created with a
--binaryflag, so it won't apply. This one works.Comment #24
skyredwangI lied again. With binary files, the patch appears to only apply when the index matches the point when the patch was created.
Comment #25
steven jones commentedSo I had a little play with at site of ours...and actually this change made the view buttons look a decent amount worse.
I've had a sort of re-think, but I think I'll continue discussion in #3414095: Add export links as local actions instead of feed icons
Comment #26
solideogloria commentedIt makes the buttons follow the site's theme and adjusts them to be themeable, so you can style them however you want. On my site, it makes the buttons look like literally every other button on the site. I do agree with your post that adding a config option would be a good idea.
Comment #27
solideogloria commented@steven jones Can you backport it to 1.x? That, or can you provide a release for 2.x? There isn't a single release for 2.x.
Comment #28
nitesh624yes i guess this should go to 1.x branch too. There is only CSS change, which is not a breaking changes IMO.
Comment #29
julien commentedRe-roll of the 8.x-1.x backport (#24) without the binary image deletions, so it applies with Composer.
#23 and #24 delete the PNGs with
GIT binary patchhunks. When the module sits inside another git checkout (the usual Composer project),git applyskips the patch and cweagans/composer-patches 1.x falls back to GNUpatch, which rejects binary diffs ("git binary diffs are not supported"), socomposer installfails. This patch carries only the CSS and template changes. The resulting files are byte-identical to the ones committed to 8.x-2.x (blobs 3266672 and 22d857e); the unused images stay in place.Applies cleanly to 8.x-1.10, with both
git apply -p1andpatch -p1.AI-Generated: Yes (used Claude Code to re-roll the committed 8.x-2.x change against 8.x-1.10; tested locally with git apply, GNU patch and a rendered export link).