@@ -76,43 +76,7 @@ TODO List
7676 would add one (assuming that it's running from a legacy browser). This would allow for a page
7777 to have some content work from old browsers and provide a simple warning for specific content
7878 that does not have a polyfill.
79- - <data-table>
80- - New Attributes [template-returns-html] and [list-item-name] used in <data-list> need to be included
81- - <data-list> should also support both <template> and <script type="text/x-template">
82- - This is for better IE 11 support, with the current demos it's not needed but one should be created
83- - Search for `const tmplHtml = template.innerHTML`
84- - For now the `replace` calls are only used when using [template-returns-html]
85- tmplHtml.replace(/&/g, '&').replace(/>/g, '>').replace(/</g, '<');
86- - Additionally other characters are likely needed and more research to see how different browsers handle this.
87- - <data-table> needs the `replace` calls
88- - Likely create a new function in [utils.js] `compileJsTemplate()` that will be shared and allow
89- for caching of the template functions similar to the new framework file: [dataformsjs\js\extensions\jsTemplate.js]
90- - Also make any related updates needed in the new <data-view>
91- - This issue is avoided when using <script type="text/x-template"> so add comments in docs on it (or code comments at least)
92- - Review all comments in [js/web-components/polyfill.js] and handle all issues.
93- The file is mostly complete and properly working but still in active development.
9479 - New demo page to test all features of the new [utils-format.js] file
95- - At a minimum the new script Polyfill scripts needs to handle IE 11, older Safari (example iOS 9), UC Browser.
96- iOS 9 support because older devices such as iPad 2 can't upgrade past it and iPhone 6
97- phones that are not upgraded still use it.
98- - Add [template-selector] to <data-table> similar to <data-list> and vice-versa add ability
99- to specify <template> inside of <data-list>
100- - Related to current updates [dataformsjs\examples\html\cities-web.htm] now shows
101- both Meters and Feet using `formatElevation(elevation)`. The other demos currently
102- display meters only but should also be updated to display both.
103- - Provide examples of how [polyfill.js].[getRootUrl()] works for documentation.
104- - Or add a markdown doc for it
105- - Here is an example of an defining a custom URL from the app:
106- <script>
107- window.dataformsjsUrl = 'http://127.0.0.1:8080/js/';
108- window.dataformsjsMinFiles = false; // Optional (defaults to `true`)
109- </script>
110- <script nomodule src="../js/web-components/polyfill.js"></script>
111- - By default the path will be determined from where [/web-components/polyfill.js] is defined:
112- <script src="../js/web-components/polyfill.min.js"></script>
113- [*.min.js] Framework files will be downloaded
114- <script src="../js/web-components/polyfill.js"></script>
115- Full [*.js] Framework files will be downloaded
11680 - On the templates (and probably all examples) add the HTML [crossorigin] attribute
11781 so good errors can show in `window.onerror` from DataFormsJS. Need to test and confirm.
11882 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
@@ -154,13 +118,33 @@ TODO List
154118 - Test using local build with webpack
155119 https://webpack.js.org/
156120 - If needed after release create a demo repository showing how to use DataFormsJS with webpack
157- - Handle and remove all `NOTE` comments in [polyfill.js] before npm publishing
158121 - For the `npm start` on the main repository update the default page to use <data-list>
159122 with a simple filter to list the examples.
123+ - Handle and remove all `NOTE` comments in [polyfill.js] before npm publishing
124+ - At a minimum the new script Polyfill scripts needs to handle IE 11, older Safari (example iOS 9), UC Browser.
125+ iOS 9 support because older devices such as iPad 2 can't upgrade past it and iPhone 6
126+ phones that are not upgraded still use it. Currently all of these browsers are confirmed to work.
160127 - Before release update docs and example code that use <url-hash-router> to use <url-router> with the new CDN link
161128 Also update markdown docs to use [load-only-once] instead of [load-only-once="true"]
162- - After new release publish here:
163- https://www.webcomponents.org/publish-collection
129+
130+ **) After next release create a markdown overview doc using Web Components
131+ - After new release publish here:
132+ https://www.webcomponents.org/publish-collection
133+ - Will cover overview and details - similar to the JSX Loader doc:
134+ https://github.com/dataformsjs/dataformsjs/blob/master/docs/jsx-loader.md
135+ - Provide examples of how [polyfill.js].[getRootUrl()] works for documentation.
136+ - Or add a markdown doc for it
137+ - Here is an example of an defining a custom URL from the app:
138+ <script>
139+ window.dataformsjsUrl = 'http://127.0.0.1:8080/js/';
140+ window.dataformsjsMinFiles = false; // Optional (defaults to `true`)
141+ </script>
142+ <script nomodule src="../js/web-components/polyfill.js"></script>
143+ - By default the path will be determined from where [/web-components/polyfill.js] is defined:
144+ <script src="../js/web-components/polyfill.min.js"></script>
145+ [*.min.js] Framework files will be downloaded
146+ <script src="../js/web-components/polyfill.js"></script>
147+ Full [*.js] Framework files will be downloaded
164148
165149**) Playground Site
166150 - Need to add support for JSON file/resource type
0 commit comments