Closed zhizhangchen closed 12 years ago
Fixed all the problems @grgustaf mentioned and other problems.
I still see problems #1 and #2 that I mentioned above. Also, #9 which is a one-line fix. I haven't looked at #10 yet. #3-#8 appear to be fixed, that's great! The others are minor enough that they won't prevent me from taking this.
A new one I notice:
We probably should fix that before merging. I do like the fact that the list patch seems to restore the tightness of the button groups and stuff, I don't know if that's intentional or if some of the work you did to make collapsibles sort better in accordion has been lost?
I still haven't dug into the code at all, and I need to leave early today so I'll save that for Monday.
Looking good though. I'd be willing to take this, it would be good to have it in preview 2.
Fixed problem 1, 2, 9 and 11. Please review.
[12] If I type a bogus name for an icon like "alert", the app hangs for a few seconds. So that's probably an issue in the filesystem area. But then the worse problem is that every time I change another property it seems to go search for the bogus file again, so it keeps getting these hangs and starts making the app unusable. To compound this, even if I know that's the problem, I can't fix it because the "Icon" field is now empty and won't let me fix the incorrect value.
Maybe we should pop up an error message when it's not found and clear the field so we won't get this problem?
Actually I would still consider taking the patchset finally but again it's very late when I'm getting to this so I will probably leave before doing so.
I will try to start with this tomorrow to give it a really good chance of finally going in. :)
[13] Please also move the Image widget above lists in the palette. [14] Please move the generic stuff (list item, list divider) to the top of the List widgets in the palette.
Did you run rib locally or on a remote server? The browser is trying to access the URL you input when rendering the image. That's why it blocks for a few seconds, which I think shouldn't be, as browser should access the image from a separate thread. Maybe it's caused by the way we generate document for layoutView.
After further testing, I found that if there are many widgets in layout view, changing any property becomes very slow. So I think this problem maybe is related to the refresh mechanism of layoutView(or other views). I think maybe it's time to change the refreshing mechanism of layout view. Of course it's after the preview 2 release:)
Because of the url-uploadable problem, I am committing this to a "lists" branch upstream, which I will plan to keep synced with master. Please try to fix that tonight and I'll be able to merge this. Maybe i'll do so anyway. :)
Also, I modified the "Icon Source" patch to use that for the property label instead of renaming iconsrc to icon.
Fixed [object Object] problem is #274.
OK, I really like the progress here. I love that you collapsed the two levels of items, and the text items are still selectable. Great! Playing a bit I do find some issues though.
Text List - I drop in a text list and see these things:
From what I can tell, functionally... we are getting really close to an acceptable solution. I really appreciate that you've stuck with this and made the needed improvements. Thank you, let's push on a little farther and get this merged.