<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Lauritz -<div><br></div><div>I am a bit indecisive when it comes to adding UI elements vs. having more code in the code pane. So here are my thoughts on that:</div><div><br></div><div>On the one hand you could argue that keeping the UI of the script editor clean and easy is a good idea looking at how browser (e.g. the SCB) do look like. But I think that you should also hide as many "implementation details" of how scripts are added and categorized/tagged, meaning that even <b>this.addScript(</b>...<b>)</b> (and therefore <b>.categorize(</b>...<b>)</b> too) is some kind of information a beginner/user should not need to see. So an additional one-line text morph for "tagging" would be a simple and nice solution.</div><div>On the other hand even the "implementation details" might be interesting for people who e.g. want to add scripts programmatically (you could argue) but this is not majority of users. So in my opinion it really only adds clutter to what you really want to see/do.</div><div>Also moving towards a system without files (and therefore no textual JS representation of scripts), this feels wrong to me.</div><div><br></div><div>So what do you think? Comments, thoughts? ;-)</div><div><br></div><div>Best,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>- Marko</div><div><br></div><div><br></div><div>PS: I also have to add that I never really saw the need for method categories and the only systems/languages (I know) that do have this are Lively and Squeak... :-/</div><div><br></div><div><br><div><div>On Nov 28, 2011, at 20:51 , Lauritz Thamsen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi.<div><br></div><div>We added script tagging to our <a href="http://www.lively-kernel.org/repository/webwerkstatt/documentation/livedoc/Tools/ObjectEditor.xhtml">Object Editor</a> (Script Editor).</div><div><br></div><div>A script might be in several categories at the same time, so we allow multiple tags. Further, we don't want the editor to have as many UI elements as our <a href="http://www.lively-kernel.org/repository/webwerkstatt/documentation/livedoc/Tools/SCB.xhtml">System Code Browser</a>. Therefore, we tag scripts like they are added. Programmatically in the editor's script pane: </div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>this.addScript(function example() {</div><div><span class="Apple-tab-span" style="white-space: pre; ">               </span>alertOK('hello');</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>}).<b>categorize(['example', 'public']);</b></div><div><b><br></b></div><div>Any feedback or comments? :-)</div><div><br></div><div>Best,</div><div>Lauritz</div></div>_______________________________________________<br>lively-kernel mailing list<br><a href="mailto:lively-kernel@hpi.uni-potsdam.de">lively-kernel@hpi.uni-potsdam.de</a><br>http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel<br></blockquote></div><br></div></body></html>