It doesn’t, technically. It only overlays (or rather, underlays) all the default properties for that element underneath each custom set. This allows you to quickly see what properties you can change in that custom set, without having to toggle back and forth between the default and the custom set. Properties in green are default properties that are overridden in the custom set; properties in purple are properties that are not in the default, but in the custom set.
It looks like the current model has all properties in all sets.
(and a small hit in storage, speed, and efficiency).Nope. Only the new or overridden properties are stored in the database.
If we do keep the full sets, the "remove property" popup should be disabled when editing a custom setFair enough, but only for default properties, not new ones.
and when editing the default set, it should give a warning that the property will be deleted from all sets.Ah, but it won’t be - when a property is deleted from the default, it wont be deleted in custom sets - we decided not to do this because this might cause problems for upgradability, degradation, etc.
I can fix that.
It’s a fantastic feature. I hope people will be able to understand it without a lot of extra help. It’s confusing that the colors don’t show (in FF anyway) until after the set is saved.
You think users would be able to distinguish between gray and black? Maybe bold - I’ll try it out today.
I think it might work better if the default properties (or the custom properties) were set off more clearly. Maybe render the defaults in a lighter gray (italic?) and then change them to solid black or Bold when they’re overrides and blue when they’re added properties not in the default set.
It would also help, IMO, if there was a different background color for all properties actually *in* the custom set. Part of the problem is that we’re already using red and green for yes/no values on the right side so the user has to remember what the colors mean *and* which side of the grid they’re supposed to be looking at. If they change a yes/no value in a custom set, they’ll see a color change on the right and another one on the left after they save the properties. It would help users get the concept if the difference between the custom and default items went all the way across the grid. It seems conceptually wrong to toggle just the color of the text in the name field.Rendering-wise, that gets really difficult to do. I’ll keep that in mind.
Fair enough.
It’s also confusing that you can remove properties from a custom set by right-clicking on them and selecting "remove property." They disappear as you expect them to, but when you save the properties it looks like they’ve come back. How about making remove available only for added properties (in the custom set but not the default set)?
It will automatically save the set. Save Custom Set only saves the set, while Save saves both the element and the set.
Also, the "save properties" button scrolls off the screen with a long list of properties, but the "save" button is still visible. I’m not sure what happens (or should happen) if you click on an element’s "save" button when editing a custom property set and then navigate away.
BTW, what about making it so there was no way to edit or delete the properties in the actual default set? It would be easy to edit them by accident and have no way to get back to the real defaults. Since we’ve gone this way (custom property sets), I don’t see the need to edit the default properties. It would be *really* nice as a developer to know that the properties I set as defaults were still all there and unchanged when it was time to upgrade. And it would be useful to be able to tell users to set everything back the the default values and know for sure what would happen. Otherwise, I’d expect a lot of support questions based on problems caused by users editing the default properties (and claiming they haven’t) that will be a real pain to get to the bottom of.While that sounds like a good idea, I have one concern - what about people who are trying to create a snippet from inside the manager? How would they go about adding and removing default properties? That concept works good for downloaded packages, but not for snippets made in the manager alone.
Anything you can put in JIRA is a good thing.
Let me know if you want any of all of these ideas in Jira and whether you want them as separate issues or as subtasks.
I’ll just close or resolve stuff that’s already done or not applicable.
BTW, what about making it so there was no way to edit or delete the properties in the actual default set? It would be easy to edit them by accident and have no way to get back to the real defaults. Since we’ve gone this way (custom property sets), I don’t see the need to edit the default properties. It would be *really* nice as a developer to know that the properties I set as defaults were still all there and unchanged when it was time to upgrade. And it would be useful to be able to tell users to set everything back the the default values and know for sure what would happen. Otherwise, I’d expect a lot of support questions based on problems caused by users editing the default properties (and claiming they haven’t) that will be a real pain to get to the bottom of.While that sounds like a good idea, I have one concern - what about people who are trying to create a snippet from inside the manager? How would they go about adding and removing default properties? That concept works good for downloaded packages, but not for snippets made in the manager alone.
Good point. I hadn’t thought of that. What about bringing back the old "lock" checkbox? That would help keep us from changing them accidentally and it would let us keep non-admin manager users from changing the default set while letting them edit the custom ones.
Quote from: BobRay at Dec 19, 2008, 11:41 AM
Good point. I hadn’t thought of that. What about bringing back the old "lock" checkbox? That would help keep us from changing them accidentally and it would let us keep non-admin manager users from changing the default set while letting them edit the custom ones.
Sounds like a JIRA feature request. . .