Temechon Posted April 7, 2017 Share Posted April 7, 2017 Hello community!As you know, the playground is a very valuable tool if you want to try, experiment and share your Babylon scenes. You can even search for a specific word in the whole snippet database from the documentation website, that make it easy to find and discover a new snippet.And because we know it's a very powerful tool, we worked hard last month with @Deltakosh on a better user experience when searching for playground. From now on, when saving a new playground, you'll have to fill several information: a title, a description and some tags. It will be asked only once at the playground creation, and all next iterations of this PG will share these metadata. You won't be able to redefine it afterwards. For all PG that don't have any metadata, you will be asked to fill it only once.The search has also been improved. You can search for a word in the PG code like usual, but you can also search for a word into a PG title/description, or a specific tag. The overall quality of search had also been improved (ou can now search with several words, that will return all PG that contain these words, and several bugs have been fixed).All this work couldn't have been done without @Jaskar and @DeathSoul who wrote all the code (back and front-end), and @Deltakosh of course So go try it : http://doc.babylonjs.com/playground Please helps us by reporting all bugs you can have in this thread Thank you very much !! javalang, Vousk-prod., hunts and 16 others 19 Quote Link to comment Share on other sites More sharing options...
Raggar Posted April 7, 2017 Share Posted April 7, 2017 Oh shit. Showing the relevant code of your search query, before having to open the PG is a very welcomed feature. I didn't request it. Heck, I didn't even even know I needed it. But it makes searching the Playground a hell of a lot easier and quicker, too. Awesome Jaskar, DeathSoul and davrous 3 Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 7, 2017 Author Share Posted April 7, 2017 I totally forgot to tell this, but yes, some lines of code are shown Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 7, 2017 Share Posted April 7, 2017 perhaps adding a screenshot in your post? NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 8, 2017 Share Posted April 8, 2017 WONDERFUL WONDERFUL WONDERFUL!!!!! Wow! hahahaha. NOW we got some "beef", huh? OMG! NoobTube 1.0! Jet-powered BJS learning curve, baby! (Wingy dances-around like an idiot) Nice nice NICE job, you guys! Phew. How cool is THIS? Yum! Temechon and davrous 2 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted April 8, 2017 Share Posted April 8, 2017 very nice you r the best @Temechon Temechon 1 Quote Link to comment Share on other sites More sharing options...
javalang Posted April 8, 2017 Share Posted April 8, 2017 @Temechon I agree, very helpful, the best functionality is that you see the hotspots and you don't have to load the the PG! Today I've found PG's which I had never detected before!! Thank you! Temechon 1 Quote Link to comment Share on other sites More sharing options...
iiceman Posted April 8, 2017 Share Posted April 8, 2017 Awesome! Updated one of my old playgrounds right away to try things out and found it right away with the new search (search performance is really good, too!) Temechon, Jaskar and davrous 3 Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 8, 2017 Author Share Posted April 8, 2017 We still have some small issues on the GUI, but I'm very happy that you're happy Jaskar 1 Quote Link to comment Share on other sites More sharing options...
javalang Posted April 8, 2017 Share Posted April 8, 2017 Searching the PG by creation-date would be also a great feature, are there any plans? And one suggestion more: searching in code is sadly not working inbetween comments and shader-code, can this be enabled? Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 9, 2017 Author Share Posted April 9, 2017 12 hours ago, javalang said: Searching the PG by creation-date would be also a great feature, are there any plans? We don't have any date information for a playground, so if we do it now it would work only for newer playground. And the use-case is not very clear on my side... 12 hours ago, javalang said: searching in code is sadly not working inbetween comments and shader-code, can this be enabled? I don't understand what you're trying to say... Can you give me an example ? Quote Link to comment Share on other sites More sharing options...
javalang Posted April 9, 2017 Share Posted April 9, 2017 well, maybe I'm wrong, but if I have no search results if I search a word that exists in the PG, but is quoted. This concerns all comments, urls, ressource-identifiers (imagenames etc.) and shader-code, which is also qouted. Again, maybe I'm wrong, but on my machine I have either no hits or I'm falling in a timeout. Quote Link to comment Share on other sites More sharing options...
javalang Posted April 9, 2017 Share Posted April 9, 2017 @Temechon Quote And the use-case is not very clear on my side a use-case could be "restrict my search to the last year / month.. " or "give me the latest playgrounds first". But anyway, better more hits than too less PS: I made some searches again and I still can't find out what the problem could be. Sometimes there is a quick match, even in comments. But search words like "worldViewProjection", "texture2D". "uniform", "sampler2D" , "precision" are never returning with a result (endless loop), but they exist in PG's see #1HWOMR#0 for example Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 9, 2017 Share Posted April 9, 2017 Aww, these guys will have filtering options by the tons, come month-end. Regexp, pattern-matching, wildcards, coming soon, I'm sure. (Wingy wipes some faerie dust away from his eyes). Hey Javalang... you know you have a "TV face", yes? People with faces like yours... always play the cop, rookie stock car driver, country music singer, or family doctor... in TV shows. Need a second career? Ya got the face for it. (boy is THAT off-topic, huh?) My github repo name is wingnutt. I can code-search for wingnutt, and find all uses of my github url. So, THAT "within-quotes" test... is working. Haven't tried searching within shader strings, or searching for multiple words within quotes... yet. Soon. I'm losing some playgrounds, here and there. That has me a bit worried... but I'm sure things will smooth-out. I think I will backup my "hot" playgrounds to .js files on the localdrive, temporarily, just in case. Make a 'get .zip' pile, perhaps. Jaskar 1 Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 9, 2017 Author Share Posted April 9, 2017 6 hours ago, javalang said: PS: I made some searches again and I still can't find out what the problem could be. Ok I can reproduce this problem, it's linked to another issue... I'll check it this Monday. 1 hour ago, Wingnut said: I'm losing some playgrounds, here and there. It should not happen. Could you point me few PG that are not available anymore ? Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 9, 2017 Share Posted April 9, 2017 Hi T, good to see you. http://www.babylonjs-playground.com/#13TVWJ#4 That one was used to help a user in this thread, and I think it had metadata added. This morning, it's gone or broken. It appears that the user got the help... before the PG evaporated. About 2 hours later, I created http://www.babylonjs-playground.com/#11YE88#18 Later in the day, it was lost. (see comments timestamps in that thread) Notice the crossed-out text? #18 WAS "just a sphere" (with all other mesh disabled) The replacement version had all mesh enabled. In other words, I had to adjust the comment. Same symptom. It tried to load/display #18, but PG reverted to default PG scene. When I re-saved that (modified #17) PG (without metadata) within that same series, the PG app saved it as #18 (again). (as if it had never saved an earlier version of #18). I believe the ORIGINAL #18 was the first PG to which I added metadata). I think... both times (maybe 3 times) that I entered metadata during a save, the PG still claimed it had no metadata (after the save). I KNOW I added metadata to one of the bobsled saves from yesterday, too. I remember giggling at the "title" field. Wingnut Bobsled (how cutesy, eh?). But still, the latest version says "no metadata found"... so... THAT metadata save apparently didn't "take" or "carry over" its metadata, it seems. I think I remember losing a bobsled save, yesterday... but I have so many... that I probably just quickly fixed and re-saved without metadata. ALSO... had a "BJS2.5 version" PG fail, about 14 hours ago. See here. I believe that was attempted WITHOUT metadata. So, it APPEARS that there might be a problem with the PG saves that include metaD. Firefox spoken here. I'll give you more info as I find it... thx for investigating. Should I open a Q&A thread? Or perhaps a bug thread? *shrug* Temechon 1 Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 9, 2017 Author Share Posted April 9, 2017 Thank you for your help. It's ok, I will investigate all of this on Monday. Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 11, 2017 Author Share Posted April 11, 2017 Hello everybody ! New features part 2: - You can now search any word or part of word (inside/outside of quotes) - You can ALSO search for shaders available in CYOS ! In this case, results will be displayed in red, and a link will forward to CYOS. - A version dropdown is available. By default, the link will forward to the last available iteration, but you can change that by selecting another version. - All bugs for some research (no results, impossible to read the code...) should be fixed now. Please report it if you still have some. @Wingnut, the PG was under migration on Friday, so it may be possible some PG didn't made it to the new database. If so, please send me the PG ID/iteration in PM and I'll try to recover it.> Wingnut, adam, javalang and 1 other 4 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 11, 2017 Share Posted April 11, 2017 Thanks T! I had a problem with BJS 2.5 saves yesterday, still, but I tested one this morning... with mDATA, and it seemed to work PERFECT. Also, "no metadata" notification is gone, so that is good. MetaData button works fine, and previously-entered metadata was found within. PERFECT! NICE!!! Thanks again... we're fartin' thru silk, now! And thanks for the standing-offer for PG recovery-attempts... that's very kind/cool of you. I'm pretty excited about these new features! They ROCK! I've already noticed a 50% efficiency increase... in Q&A custodian ops. It feels like I have new wizard powers... and I do. Temechon, Jaskar and GameMonetize 3 Quote Link to comment Share on other sites More sharing options...
javalang Posted April 13, 2017 Share Posted April 13, 2017 Be careful with search terms like "setBlaBla(" (opening paranthesis) => searching will not return. Not dramatically but good to know Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 13, 2017 Author Share Posted April 13, 2017 Thanks, I will check it tomorrow. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 17, 2017 Share Posted April 17, 2017 Hey PG Search Team, I have a feature request, if you are entertaining such things. See the little magnifying glasses on the RIGHT side of each field? Well... perhaps a little < button on the left sides. Its action? IF there was a previous search in this input field, (re-)place THAT text back-into the field, and focus. (for... oops, typing/spelling mistake - got 0 returns) IF there was no previous search done in this field, clear the field and focus there (just like clicking on the textArea itself). Generally, I'm seeking a quick/easy way to "edit" my 0-hits due-to-typing-mistake... issues. The < would indicate "put LAST search-text into field, and focus() there". Sort-of like a BACK button. Other ideas welcome, of course. Thx for consids, guys! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 17, 2017 Share Posted April 17, 2017 I leave these ones to @Temechon In the meantime he updated the UI of the PG! Temechon 1 Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 17, 2017 Author Share Posted April 17, 2017 Why do you think of this : the last search is always displayed in the corresponding field, ONLY if the search results are 0... Instead of a button not easy to understand at first sight. Thoughts ? Wingnut and GameMonetize 2 Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 17, 2017 Author Share Posted April 17, 2017 And there is a light theme as well ! GameMonetize, Wingnut and Dad72 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.