•  
      request #19709 Delete the polyfills for IE11
    Infos
    #19709
    Joris MASSON (jmasson)
    2021-03-10 11:17
    2021-03-03 12:04
    21297
    Details
    Delete the polyfills for IE11

    Follow-up of request #12733 and request #18451

    The announcement for the end of support of Internet Explorer 11 has been made a while ago. On Tuleap 12.7, Tuleap will not function at all on Internet Explorer 11. There will be "script errors" because Tuleap will ship ES2015+ code, that Internet Explorer 11 does not understand.

    This request will deal with listing and cleaning up all the special adjustments that have been made to support Internet Explorer 11 over the years.

    1. Change the target browsers in Babel configuration to stop transpiling for IE11. This will drop most of the Babel polyfills.
    2. drop the DOM4 polyfill
    3. drop the Fetch polyfill
    4. drop the Regenerator polyfill (async / generators)
    5. drop the CSS.escape polyfill
    6. drop the polyfills in TLP documentation
    7. drop the Custom Elements polyfills
    8. drop the Intl polyfills (@formatjs/stuff)
    9. drop the polyfillCustomEventIE11 in help dropdown (FlamingParrot)
    10. drop .woff fonts (in favor of .woff2)
    11. stop transpiling some node_modules to ES5
    12. drop the navigator.msSaveBlob() for Cross Tracker Search widget CSV export
    13. drop the "Esc" key matchers from TLP (all others report "Escape")
    14. use https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText and drop the IE11-only API to copy to clipboard

    Later, we will also be able to introduce "new" technologies that were not possible to use before due to the IE11 support, such as:

    Other
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2021-03-10
    Attachments
    Empty
    References
    Referencing request #19709

    Git commit

    tuleap/tuleap/stable

    Stop rewriting code for IE with Babel 90dfd22a5e
    Drop custom elements polyfill a1fc9ee9e1
    Drop the CustomEvent polyfill 7a0838b616
    Drop the polyfills in tlp-doc 23e89a72a7
    Drop Intl polyfills 9af672f4ca
    Drop support of IE API when copying text with the copy-to-clipboard custom element 509f12db7e
    Drop core-js, dom4, fetch and regenerator polyfills 32751f4aed
    Drop the CSS.escape polyfill 5a01b238a8
    Drop the navigator.msSaveBlob call ede91bba17
    Remove detection of IE for the drag&drop feature of the document plugin 8cf2cc7ab1
    Use WOFF2 font instead of WOFF 7ca9021ea1
    Drop the "Esc" key matchers from TLP be0d8620c8
    Drop ES5 version of pretty-kibibytes in the document plugin 22912957d1
    Drop the "Esc" key matchers from filter-table ec084d8536
    ListPicker elements does not have content on tracker pages da2363b63b
    Remove Prototype.js implementation of Array.from f0c10d29c3
    Drop get-dataset polyfill 58aefda8e5
    ListPicker with elements including color values or users avatars crashes 5249d5e171
    Console error for field dependencies 7ee8be6db1
    Stop rewriting code for IE with Babel e43d2e1127
    Stop rewriting code for IE with Babel 39a0f062bb
    Stop rewriting code for IE with Babel 6774a99679
    Stop rewriting code for IE with Babel 8c270b42dc
    Stop rewriting code for IE with Babel a2d0affb73

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2021-03-10 11:17
    Closing, it looks like all things that could be done (easily) have been done. Next items will have their requests and can reference this one.

    • Status changed from Under implementation to Closed
    • Close date set to 2021-03-10
    User avatar
    Joris MASSON (jmasson)2021-03-05 09:32
    Yes, the `width= 100%` rules are scattered everywhere and would probably take a big effort to identify. Let's ignore this list item, we'll try to keep it in mind if / when we do some changes in SCSS rules.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2021-03-04 16:58

    gerrit #22016 (Drop the "Esc" key matchers from TLP) integrated into Tuleap 12.6.99.16.

    It looks like that all the elements 1 to 14 are now done. Not sure how we can deal with drop the "width = 100%" rules in SCSS.

    User avatar
    Joris MASSON (jmasson)2021-03-04 16:09
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2021-03-04 15:53
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2021-03-04 14:41

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes