Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
It would be very helpful to see details about views that have broken fields in them on the list of views provided by listing the views at /admin/build/views. I've written code to show in red, to the right of the list of Displays, the fields/relationships/arguments/etc that are broken. I'm posting this here to see if there is interest in this functionality. If I posted a patch file, is there a possibility it would be incorporated into the code?
Comment | File | Size | Author |
---|---|---|---|
#1 | views-Display_details_about_broken_fields_on_the_administrative_list_of_all_views-1832988-1.patch | 3.82 KB | DarrellDuane |
Comments
Comment #1
DarrellDuane CreditAttribution: DarrellDuane commentedHere is a patch that provides this functionality. I'm hopeful that someone can use it to provide the same functionality in 7.x-3.x, as I imagine it will need to be put there first and then backported.
One slight issue with this patch is that there is a bit of a gap of space that appears in the listing of the display types that the view uses. It doesn't break functionality, just makes it a little less pretty. I haven't been able to figure out how to remove this space, perhaps someone with more experience with CSS/theming can figure out what is missing to clean this up.
The list of broken views appears to the right of the list of display types in an area on the screen that wasn't being used, so the addition of this functionality won't take up any more space on the screen once this issue I mention above is fixed.
Comment #2
MustangGB CreditAttribution: MustangGB commentedComment #3
DarrellDuane CreditAttribution: DarrellDuane commentedHi MustangGB,
Could you say more about why you would not accept this bug fix?
Comment #4
MustangGB CreditAttribution: MustangGB commentedOnly that the maintainers said 6.x isn't having any new features.
From the steadily declining install base (https://www.drupal.org/project/usage/views) it this doesn't seem like there is much point to keep this open.
Comment #5
DarrellDuane CreditAttribution: DarrellDuane as a volunteer commentedoh, right, I didn't realize I had made this for 6.x. If I adapted it for 7.x would you consider adding it?
Comment #6
MustangGB CreditAttribution: MustangGB commentedI have no say on what features will or won't be accepted, but it does seem like a sensible feature request to me.
By all means feel free to port your code to 7.x/8.x and re-open if you wish, this issue was just a victim of a bigger 6.x issue queue clean-up.