Active
Project:
SimpleViews
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2008 at 22:15 UTC
Updated:
28 Jul 2010 at 05:09 UTC
I've been playing with SimpleViews: I think it will help us scratch some itches our clients have. This concern doesn't apply to them. I, however, have just wanted to use it as a tool to save a few moments of grunt work to have a view that I can play with in the regular Views UI. What would be lovely, however, would be if the view names were more descriptive.
Specifically, I'd love to see path based view names (paths seem safe, since they are guaranteed unique). If my path is foo/bar, could my view name be simpleviews_foo_bar instead of simpleviews_2?
I know this is an edge case, and perhaps the cons outweight the pros, but I thought I'd throw it out there.
Comments
Comment #1
eaton commentedI considered this during development, but I was concerned about the implications of changing the View's name -- its unique identifier for other code -- whenever the path changed. If a user were to override a Simpleview in Views UI, then change the path in Simpleviews, they'd end up with two separate views...
I'm undecided, I think -- I lean towards consistency, but would definitely like additional input before pushing forward. Anyone else have thoughts on this?
Comment #2
davideads commentedI hadn't thought about changing the path. I think given the goals of SimpleViews, I suspect allowing the user to change the path is more important than a more developer friendly view name.
Comment #3
zilla commentedi think a simple annotation beyond the actual unique view name would handle this, like adding a description during creation?
Comment #4
Scott J commentedI like the names created by ticking "Make a listing page for this content type" which follow the format of simpleviews_content-type.
Nice.