{"id":39,"date":"2018-04-01T11:55:00","date_gmt":"2018-04-01T11:55:00","guid":{"rendered":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/"},"modified":"2018-04-01T11:55:00","modified_gmt":"2018-04-01T11:55:00","slug":"expired-to-be-now-available-most-anywhere","status":"publish","type":"post","link":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/","title":{"rendered":"Expired To Be: Now Available Most Anywhere"},"content":{"rendered":"<p>As a gift to the month of April, <b><a href=\"https:\/\/github.com\/KDCinfo\/expired-to-be\" target=\"_blank\" rel=\"noopener\">Expired To Be<\/a><\/b> is now <a href=\"https:\/\/kdcinfo.github.io\/expired-to-be\/\" target=\"_blank\" rel=\"noopener\">accessible from any browser<\/a>! \ud83d\ude42<\/p>\n<div>\n<\/div>\n<div>\n<b>What is&#8230;<\/b><\/div>\n<div>\n<blockquote><p>\n&#8216;Expired To Be&#8217; is an app where you can set reminders for &#8216;things that expire&#8217;. Initially only available from the <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/expired-to-be\/kamjiblbgmiobifooelpmlkojmadmcan\" target=\"_blank\" rel=\"noopener\">Chrome web store<\/a> as a Chrome browser extension, it can now be accessed from any browser.<\/p><\/blockquote>\n<div>\nThe new <a href=\"https:\/\/kdcinfo.github.io\/expired-to-be\/\" target=\"_blank\" rel=\"noopener\">SPA version of the app is <b>hosted on GitHub Pages<\/b><\/a>&nbsp;(and built via&nbsp;<a href=\"https:\/\/travis-ci.org\/KDCinfo\" target=\"_blank\" rel=\"noopener\">Travis CI<\/a>).<\/p>\n<p>Both apps share the same source code, which is all&nbsp;<a href=\"https:\/\/github.com\/KDCinfo\/expired-to-be\" target=\"_blank\" rel=\"noopener\">open source on GitHub<\/a>.<\/p>\n<p><b>A Special Treat<\/b><br \/>\nThe one and only; <a href=\"https:\/\/github.com\/KDCinfo\/expired-to-be\/blob\/master\/public\/x2b\/expired-to-be_page-load_07.svg\" target=\"_blank\" rel=\"noopener\"><b>SPA Integration Diagram<\/b><\/a>: This diagram details the layout and integration between my custom React &#8216;Alarms API&#8217; and the Chrome extension core files.<\/p>\n<p><b>SPA Alarm Notifications<\/b><br \/>\nThe Expired To Be &#8216;SPA version&#8217; provides a few options for &#8216;expiration notifications&#8217; (although unfortunately some platforms still don&#8217;t support <b>web-based notifications<\/b>; in which case it&#8217;ll fall back to using the default, which is `<b>alert()<\/b>`). <b>Modals<\/b> are the other option, but are more passive.<\/p>\n<p><b><i><u>Important Notes<\/u><\/i><\/b><\/p>\n<p><\/p>\n<ol style=\"-webkit-text-stroke-width: 0px; color: black; font-family: &quot;Times New Roman&quot;; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;\">\n<li>The SPA and Chrome extension&nbsp;<b>do not share alarms<\/b>. The extension uses Chrome&#8217;s own internal storage and alarm system, which is not accessible from a normal web page.<\/li>\n<li>The&nbsp;<b>SPA&nbsp;web page (tab) must stay open<\/b>&nbsp;to allow the alarms to run. The Chrome extension runs in the browser&#8217;s background.<\/li>\n<\/ol>\n<p><b>Alarms API<\/b><br \/>\nFor my React-based Alarms API, I borrowed the `<i>TimerBox<\/i>` component from my previous&nbsp;<a href=\"https:\/\/github.com\/KDCinfo\/done-for-now\" target=\"_blank\" rel=\"noopener\">&#8216;Done (for now)&#8217; SPA<\/a>. (Done (for now) is a multi-timer; it was my 3rd React app, and my 1st TypeScript project.)<\/p>\n<div>\n<\/div>\n<p><b>Data Storage<\/b><br \/>\nBecause the &#8216;Expired To Be&#8217; and &#8216;Done (for now)&#8217; web apps both share the same `<i>localStorage<\/i>` (one for alarms, the other for timers), <u>I made the Done (for now) timers viewable from within the &#8216;Expired To Be&#8217; web app<\/u>. I then went back and <u>made the &#8216;Expired To Be&#8217; alarms viewable from inside the &#8216;Done (for now)&#8217; web app<\/u> as well. Neither app can modify each other&#8217;s alarms or timers, but there&#8217;s room for some cross-app adaptability.<\/p>\n<p>Always open to feedback. PRs welcome. ::tiphat::<\/p>\n<div>\n<\/div>\n<div>\nKeith D Commiskey<\/div>\n<div>\n<a href=\"https:\/\/kdcinfo.com\/\">https:\/\/kdcinfo.com<\/a><\/div>\n<div>\n<\/div>\n<\/div>\n<\/div>\n<div>&#8212;<br \/>\nKeith D Commiskey<br \/>\nhttps:\/\/keithdc.com<\/div>\n","protected":false},"excerpt":{"rendered":"<p>As a gift to the month of April, Expired To Be is now accessible from any browser! \ud83d\ude42 What is&#8230; &#8216;Expired To Be&#8217; is an<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81,10,82,79,77,80,78],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-drug-expiration","category-expiration-date","category-expiration-notifications","category-expiration-reminder","category-expire-date","category-expiry","category-food-expiration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Expired To Be: Now Available Most Anywhere - App Development: Odds and Ends<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Expired To Be: Now Available Most Anywhere - App Development: Odds and Ends\" \/>\n<meta property=\"og:description\" content=\"As a gift to the month of April, Expired To Be is now accessible from any browser! \ud83d\ude42 What is&#8230; &#8216;Expired To Be&#8217; is an\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/\" \/>\n<meta property=\"og:site_name\" content=\"App Development: Odds and Ends\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-01T11:55:00+00:00\" \/>\n<meta name=\"author\" content=\"Keith D Commiskey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Keith D Commiskey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/\"},\"author\":{\"name\":\"Keith D Commiskey\",\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/#\\\/schema\\\/person\\\/87980b154db7bd0cd7c569ca09328bac\"},\"headline\":\"Expired To Be: Now Available Most Anywhere\",\"datePublished\":\"2018-04-01T11:55:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/\"},\"wordCount\":370,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/#\\\/schema\\\/person\\\/87980b154db7bd0cd7c569ca09328bac\"},\"articleSection\":[\"drug expiration\",\"expiration date\",\"expiration notifications\",\"expiration reminder\",\"expire date\",\"expiry\",\"food expiration\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/\",\"url\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/\",\"name\":\"Expired To Be: Now Available Most Anywhere - App Development: Odds and Ends\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/#website\"},\"datePublished\":\"2018-04-01T11:55:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/2018\\\/04\\\/01\\\/expired-to-be-now-available-most-anywhere\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Expired To Be: Now Available Most Anywhere\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/\",\"name\":\"App Development: Odds and Ends\",\"description\":\"Providing insights into a career of apps and utilities that I&#039;ve conceptualized, designed, and developed; complemented with developmental journeys, findings, observations, and challenges encountered along the way.\",\"publisher\":{\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/#\\\/schema\\\/person\\\/87980b154db7bd0cd7c569ca09328bac\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/#\\\/schema\\\/person\\\/87980b154db7bd0cd7c569ca09328bac\",\"name\":\"Keith D Commiskey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/keith-sac-01.jpg\",\"url\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/keith-sac-01.jpg\",\"contentUrl\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/keith-sac-01.jpg\",\"width\":113,\"height\":117,\"caption\":\"Keith D Commiskey\"},\"logo\":{\"@id\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/keith-sac-01.jpg\"},\"description\":\"Web App Creator; Former Flutter Developer; Former Front End Developer; Former Technical Graphics.\",\"sameAs\":[\"https:\\\/\\\/kdcinfo.com\\\/blog\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/commiskey\"],\"url\":\"https:\\\/\\\/kdcinfo.com\\\/blog\\\/author\\\/kdc4wp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Expired To Be: Now Available Most Anywhere - App Development: Odds and Ends","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/","og_locale":"en_US","og_type":"article","og_title":"Expired To Be: Now Available Most Anywhere - App Development: Odds and Ends","og_description":"As a gift to the month of April, Expired To Be is now accessible from any browser! \ud83d\ude42 What is&#8230; &#8216;Expired To Be&#8217; is an","og_url":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/","og_site_name":"App Development: Odds and Ends","article_published_time":"2018-04-01T11:55:00+00:00","author":"Keith D Commiskey","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Keith D Commiskey","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/#article","isPartOf":{"@id":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/"},"author":{"name":"Keith D Commiskey","@id":"https:\/\/kdcinfo.com\/blog\/#\/schema\/person\/87980b154db7bd0cd7c569ca09328bac"},"headline":"Expired To Be: Now Available Most Anywhere","datePublished":"2018-04-01T11:55:00+00:00","mainEntityOfPage":{"@id":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/"},"wordCount":370,"commentCount":0,"publisher":{"@id":"https:\/\/kdcinfo.com\/blog\/#\/schema\/person\/87980b154db7bd0cd7c569ca09328bac"},"articleSection":["drug expiration","expiration date","expiration notifications","expiration reminder","expire date","expiry","food expiration"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/","url":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/","name":"Expired To Be: Now Available Most Anywhere - App Development: Odds and Ends","isPartOf":{"@id":"https:\/\/kdcinfo.com\/blog\/#website"},"datePublished":"2018-04-01T11:55:00+00:00","breadcrumb":{"@id":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kdcinfo.com\/blog\/2018\/04\/01\/expired-to-be-now-available-most-anywhere\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kdcinfo.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Expired To Be: Now Available Most Anywhere"}]},{"@type":"WebSite","@id":"https:\/\/kdcinfo.com\/blog\/#website","url":"https:\/\/kdcinfo.com\/blog\/","name":"App Development: Odds and Ends","description":"Providing insights into a career of apps and utilities that I&#039;ve conceptualized, designed, and developed; complemented with developmental journeys, findings, observations, and challenges encountered along the way.","publisher":{"@id":"https:\/\/kdcinfo.com\/blog\/#\/schema\/person\/87980b154db7bd0cd7c569ca09328bac"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kdcinfo.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/kdcinfo.com\/blog\/#\/schema\/person\/87980b154db7bd0cd7c569ca09328bac","name":"Keith D Commiskey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kdcinfo.com\/blog\/wp-content\/uploads\/2023\/08\/keith-sac-01.jpg","url":"https:\/\/kdcinfo.com\/blog\/wp-content\/uploads\/2023\/08\/keith-sac-01.jpg","contentUrl":"https:\/\/kdcinfo.com\/blog\/wp-content\/uploads\/2023\/08\/keith-sac-01.jpg","width":113,"height":117,"caption":"Keith D Commiskey"},"logo":{"@id":"https:\/\/kdcinfo.com\/blog\/wp-content\/uploads\/2023\/08\/keith-sac-01.jpg"},"description":"Web App Creator; Former Flutter Developer; Former Front End Developer; Former Technical Graphics.","sameAs":["https:\/\/kdcinfo.com\/blog","https:\/\/www.linkedin.com\/in\/commiskey"],"url":"https:\/\/kdcinfo.com\/blog\/author\/kdc4wp\/"}]}},"_links":{"self":[{"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":0,"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"wp:attachment":[{"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kdcinfo.com\/blog\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}