PDA

View Full Version : API Docs: searching for configs/properties/methods/events broken



valio
19 Sep 2016, 7:59 AM
Recently the ExtJS doc websites located at http://docs.sencha.com/ext/... have been updated.

As I'm currently migrating an old ExtJS app, I realised that it's not possible to search for configs/properties/methods/events in the docs for ExtJS 5.1.3 (but it is for 6.0.2).

I'm pretty certain that it was possible to search for configs/properties/methods/events in the old doc websites for all ExtJS versions. :-(

55123
PS: and this message board is suddenly preventing me from posting animated GIFs from screencasts and instead converts them to jpg. >:-(
Original here https://i.imgur.com/VPM3nwq.gif

mitchellsimoens
19 Sep 2016, 11:35 AM
I'm able to search in the 5.1.3 docs:

55124

valio
19 Sep 2016, 11:40 AM
Have you tried it on http://docs.sencha.com/extjs/5.1.3/Ext.html?
This doesn't work for me in either Chromium, Chrome or Firefox.

mitchellsimoens
19 Sep 2016, 11:43 AM
I see, at that page I do see the issue. Looking at our testing environment I can no longer reproduce so looks like the bug causing this has been fixed and awaiting deployment.

greg.barry
20 Sep 2016, 10:38 AM
Hey valio,

Sorry for the downtime there. The issue was related to our server instances being out of sync.

The content has been re-synced from our deployment environment and I believe everything is back up and running.

Thanks!
Greg

valio
22 Sep 2016, 1:22 AM
Hm; the search is not working once again... -_-

greg.barry
22 Sep 2016, 10:00 AM
Could you elaborate on what's not working? I just checked 5.1.3 and 6.0.2 and the results are populating for me.

Thanks!
Greg

valio
22 Sep 2016, 11:47 AM
Could you elaborate on what's not working? I just checked 5.1.3 and 6.0.2 and the results are populating for me.

Admittedly I have to correct myself about the scope of the issue: it's not only class members that will not get found, but classes itself as well. Said differently: nothing can be found in the API docs in the case of 5.1.3 via this searchfield; only Guide results are provided.

It's the same behaviour as you can see in this animated GIF I linked in the first post
https://imgur.com/VPM3nwq

Just visit on of these two links, enter something that should likely lead to results in the API Docs (like "empty" or "Component") in the searchfield on the top right (but not the member filter searchfield on a class; this one does work) and then look at the results. You will see that in the case of 5.1.3 docs this searchfield will only yield results for the Guides, but none for the API docs; while in the case of 6.0.2 everything can be found.

https://docs.sencha.com/extjs/5.1.3/Ext.html
http://docs.sencha.com/extjs/6.2.0/classic/Ext.html

I have verified this now on 2-3 different networks, with 5 different browsers (Safari, Chrome, Chromium, Firefox, TorBrowser); also in incognito mode. I haven't looked into the origin of this bug though, as I was unsure how long it would take to track it down and I have other priorities at hand in my work currently ;)

greg.barry
22 Sep 2016, 12:16 PM
Oh, I see what's happened.

Our directory structure had to change, and you should be ending up here:
http://docs.sencha.com/extjs/5.1.3/api/Ext.html

I believe you'll get there if you follow the links, but I'm sure people use their browser history, google search results, bookmarks, etc.

I'll see if I can get a redirect in place to ensure old links make it to the right content.

Thanks!
Greg

valio
22 Sep 2016, 12:43 PM
Our directory structure had to change, and you should be ending up here:
http://docs.sencha.com/extjs/5.1.3/api/Ext.html

I believe you'll get there if you follow the links, but I'm sure people use their browser history, google search results, bookmarks, etc.

Not sure if it was like that, but I can't tell for sure; probably it was like that, yes.


I'll see if I can get a redirect in place to ensure old links make it to the right content.

I see that you redirected it by now, and yes it works!
What is all that matters after all :)