ItamarWMDE added a comment.

  **Task Breakdown Notes**:
  
  - We think that the app is currently not showing at all due to the RL flag 
that limits delivery of js resources to non ES6 clients (see RL Docs 
<https://www.mediawiki.org/wiki/ResourceLoader/ES6#Making_a_ResourceLoader_module_ES6-only>)
  - This might mean that we disable this flag and implement feature detection 
on the JS side (see MDN 
<https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Feature_detection>)
 to copy the HTML text from the `<noscript>` Tag and render it.
  - Alternately, we could default to showing the Non JS version by removing it 
from the `<noscript>` tag and replacing it with the JS app when it gets 
mounted, but this is probably not ideal due to flash of interactive content.
  
  **Potential Plan of Action**:
  
  1. Figure out a way to detect ES6 (using JS)
  2. Script that is loaded independently of ES6 support to contain this feature 
detection
  3. If ES6 is available, proceed to load the app as usual
  4. Otherwise, copy the content of the `noscript` tag and render it's content

TASK DETAIL
  https://phabricator.wikimedia.org/T311157

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: ItamarWMDE, Aklapper, Michael, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to