![]() complete markup sent from the server, but thereafter controlled in the browser). Quick Draft already requires JavaScript anyways, but it's worth consideration for if and how content should be rendered "isomorphically" (i.e.Other content might require filters on the API endpoints return values themselves. Script localization, porting functions to JavaScript, and newer browser features like Intl.DateTimeFormat (with appropriate fallbacks) can help achieve these. Content such as: formatted dates, links where filters are run server-side (e.g. It's still not clear how we'd access certain data from JavaScript.I added some placeholder elements to give the illusion of incoming content and reduce the jarring effect of items suddenly appearing. Bootstrapping data helps in displaying recent drafts more quickly, but there's still a delay for as long as it takes for the dashboard script to load.Some thoughts and pain points encountered in the course of implementing this: The experience should feel much the same as it is currently. The above patch is more-or-less functionally complete. ![]() ![]() Offload validation to the backend, handled i18n automaticallyģ8342.12.diff ( 18.8 KB) - added by joehoyle 6 years ago.ģ8342.13.diff ( 18.9 KB) - added by joehoyle 6 years ago.ģ8342.14.diff ( 19.0 KB) - added by joehoyle 6 years ago.ģ8342.5.diff ( 21.8 KB) - added by adamsilverstein 6 years ago.ģ8342.15.diff ( 21.8 KB) - added by adamsilverstein 6 years ago.ģ8342.16.diff ( 21.7 KB) - added by netweb 6 years ago.ģ8342.17.diff ( 22.4 KB) - added by adamsilverstein 6 years ago.ģ8342.19.diff ( 23.4 KB) - added by adamsilverstein 6 years ago.ģ8342.20.diff ( 23.7 KB) - added by adamsilverstein 6 years ago.ģ8342.21.diff ( 23.7 KB) - added by adamsilverstein 6 years ago.ģ8342.22.diff ( 26.8 KB) - added by adamsilverstein 6 years ago.ģ8342.23.diff ( 28.8 KB) - added by aduth 6 years ago.ģ8342.6.diff ( 39.2 KB) - added by adamsilverstein 6 years ago. Remove unrelated style updates to dashboard.js, adhere to spacing exceptions from JS guidelinesģ8342.2.diff ( 3.9 KB) - added by adamsilverstein 6 years ago.ģ8342.3.diff ( 18.0 KB) - added by adamsilverstein 6 years ago.ģ8342.4.diff ( 20.0 KB) - added by adamsilverstein 6 years ago.ģ8342-6.diff ( 26.7 KB) - added by aduth 6 years ago.ģ8342.7.diff ( 18.9 KB) - added by joehoyle 6 years ago.ģ8531.8.diff ( 12.4 KB) - added by joehoyle 6 years ago.ģ8342.8.diff ( 19.0 KB) - added by joehoyle 6 years ago.ģ8342.9.diff ( 19.0 KB) - added by adamsilverstein 6 years ago.ģ8342.10.diff ( 16.5 KB) - added by joehoyle 6 years ago.ģ8342.11.diff ( 16.7 KB) - added by joehoyle 6 years ago.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |