]>
git.ardis.lu - ardislu.dev/log
Ardis Lu [Sat, 12 Aug 2023 04:08:59 +0000 (21:08 -0700)]
Update marked
Ardis Lu [Fri, 11 Aug 2023 04:30:48 +0000 (21:30 -0700)]
Fix bug where in-memory pages are served midscroll
Ardis Lu [Tue, 8 Aug 2023 00:12:04 +0000 (17:12 -0700)]
Update marked
Ardis Lu [Fri, 4 Aug 2023 04:04:06 +0000 (21:04 -0700)]
Match with latest cache instead of all caches
Fixes endless refresh bug when multiple cache versions exist
Ardis Lu [Thu, 3 Aug 2023 06:48:19 +0000 (23:48 -0700)]
Add OpenSearch
Ardis Lu [Tue, 1 Aug 2023 04:35:03 +0000 (21:35 -0700)]
Updated marked
Ardis Lu [Wed, 26 Jul 2023 02:55:29 +0000 (19:55 -0700)]
Update marked
Ardis Lu [Wed, 12 Jul 2023 04:15:31 +0000 (21:15 -0700)]
Update marked
Ardis Lu [Wed, 5 Jul 2023 05:35:58 +0000 (22:35 -0700)]
Do not hyphenate <code>
Ardis Lu [Thu, 15 Jun 2023 04:30:51 +0000 (21:30 -0700)]
Update marked
Ardis Lu [Thu, 8 Jun 2023 03:33:40 +0000 (20:33 -0700)]
Update marked
Ardis Lu [Thu, 8 Jun 2023 03:33:10 +0000 (20:33 -0700)]
Bump highlightjs-solidity
Bundled from a personal fork of 2.0.6 with all dependencies also bumped
Ardis Lu [Sun, 4 Jun 2023 06:12:52 +0000 (23:12 -0700)]
Update marked
Ardis Lu [Mon, 29 May 2023 20:02:03 +0000 (13:02 -0700)]
Catch when path is not in metadata
Happens when static assets are loaded on homepage
Ardis Lu [Mon, 29 May 2023 06:31:20 +0000 (23:31 -0700)]
Bump marked
Ardis Lu [Wed, 24 May 2023 04:01:33 +0000 (21:01 -0700)]
Disable deprecated and unused features
Per new warning in v5
Ardis Lu [Thu, 18 May 2023 04:40:28 +0000 (21:40 -0700)]
Update dependencies
Ardis Lu [Sat, 25 Mar 2023 06:54:02 +0000 (23:54 -0700)]
Update marked
Ardis Lu [Fri, 10 Mar 2023 04:23:15 +0000 (20:23 -0800)]
Insert post timestamp on article page
Ardis Lu [Sat, 4 Mar 2023 07:10:05 +0000 (23:10 -0800)]
Always sync search field value regardless of path
Otherwise 'back' button to home will not clear search as expected
Ardis Lu [Tue, 28 Feb 2023 04:55:42 +0000 (20:55 -0800)]
Show article updated date if applicable
Ardis Lu [Sun, 26 Feb 2023 04:10:39 +0000 (20:10 -0800)]
Add card subtitle for createdDate
Ardis Lu [Sun, 26 Feb 2023 04:02:26 +0000 (20:02 -0800)]
Make tag font size smaller than normal text
Ardis Lu [Sun, 26 Feb 2023 03:57:56 +0000 (19:57 -0800)]
Add tags
Ardis Lu [Mon, 6 Feb 2023 01:06:40 +0000 (17:06 -0800)]
Wrap contact email with semantic HTML
Ardis Lu [Sun, 29 Jan 2023 07:56:06 +0000 (23:56 -0800)]
Move OAuth scopes into the function
Ardis Lu [Sun, 29 Jan 2023 04:25:44 +0000 (20:25 -0800)]
Move OAuth scopes into the function
This is not sensitive info so doesn't need to be an env variable
Ardis Lu [Thu, 26 Jan 2023 03:58:30 +0000 (19:58 -0800)]
Allow all robots complete access
Ardis Lu [Thu, 26 Jan 2023 03:53:47 +0000 (19:53 -0800)]
Improve search input accessibility
Add visually hidden label instead of implying from icon
Ardis Lu [Tue, 17 Jan 2023 00:19:11 +0000 (16:19 -0800)]
Use custom fonts and fallback to system font stack
Makes it easier to fix formatting issues across platforms
Ardis Lu [Sun, 15 Jan 2023 21:28:25 +0000 (13:28 -0800)]
Add noindex header to error page
Ardis Lu [Wed, 11 Jan 2023 03:24:48 +0000 (19:24 -0800)]
Use px for spacing-related styling
It doesn't make sense to increase these spaces in proportion with zoom
Ardis Lu [Wed, 11 Jan 2023 03:20:12 +0000 (19:20 -0800)]
Improve toast styling
Ardis Lu [Wed, 11 Jan 2023 03:19:46 +0000 (19:19 -0800)]
Only show toast on the relevant page
Without this check, the toast is shown on all open tabs
Ardis Lu [Tue, 10 Jan 2023 03:05:37 +0000 (19:05 -0800)]
Add description of the blog
Ardis Lu [Mon, 9 Jan 2023 06:45:50 +0000 (22:45 -0800)]
Add missing semicolon
Ardis Lu [Sun, 8 Jan 2023 06:07:15 +0000 (22:07 -0800)]
Update marked
Ardis Lu [Fri, 6 Jan 2023 10:10:03 +0000 (02:10 -0800)]
Clarify README to indicate that this is a monorepo
Ardis Lu [Mon, 2 Jan 2023 00:04:56 +0000 (16:04 -0800)]
Avoid caching non-GET request
Ardis Lu [Sun, 1 Jan 2023 04:42:26 +0000 (20:42 -0800)]
Update theme color to match background
Ardis Lu [Wed, 21 Dec 2022 04:25:32 +0000 (20:25 -0800)]
Add footer
Ardis Lu [Wed, 21 Dec 2022 04:25:22 +0000 (20:25 -0800)]
Center header
Ardis Lu [Wed, 21 Dec 2022 04:20:23 +0000 (20:20 -0800)]
Add meta headers to 404
Ardis Lu [Sat, 17 Dec 2022 07:18:20 +0000 (23:18 -0800)]
Update dependencies
Ardis Lu [Thu, 15 Dec 2022 05:13:40 +0000 (21:13 -0800)]
Improve dialog styling
Ardis Lu [Thu, 15 Dec 2022 05:01:35 +0000 (21:01 -0800)]
Add gap between search icon and input
Ardis Lu [Wed, 14 Dec 2022 04:23:47 +0000 (20:23 -0800)]
Hide search magnifying glass on Safari
Ardis Lu [Wed, 14 Dec 2022 04:23:24 +0000 (20:23 -0800)]
Adjust search input styling for mobile
Ardis Lu [Wed, 14 Dec 2022 04:22:53 +0000 (20:22 -0800)]
Simplify header icon hiding logic
Firefox doesn't support :has, and all icons are hidden anyway
Ardis Lu [Wed, 14 Dec 2022 04:02:52 +0000 (20:02 -0800)]
Center align header items
Ardis Lu [Tue, 13 Dec 2022 05:14:47 +0000 (21:14 -0800)]
Prevent column blowout on fixed width children
Minimum size must be explicitly set to 0 to override parent grid auto fitting column widths
Ardis Lu [Tue, 13 Dec 2022 04:55:18 +0000 (20:55 -0800)]
Stick the footer to the bottom of the page
Ardis Lu [Tue, 13 Dec 2022 04:54:54 +0000 (20:54 -0800)]
Use 100dvh instead of 100% trick
dvh is now supported on all modern browsers. The dvh unit makes intent clearer and subtle bugs with grid are fixed by using dvh
Ardis Lu [Tue, 13 Dec 2022 04:38:45 +0000 (20:38 -0800)]
Add subtle gradient background
Ardis Lu [Tue, 13 Dec 2022 04:30:52 +0000 (20:30 -0800)]
Add footer
Ardis Lu [Tue, 13 Dec 2022 03:52:46 +0000 (19:52 -0800)]
Hide all header icons on mobile
Logo and search are already too cluttered
Ardis Lu [Fri, 18 Nov 2022 05:16:56 +0000 (21:16 -0800)]
Don't record history for duplicate searches
Ardis Lu [Fri, 18 Nov 2022 05:12:47 +0000 (21:12 -0800)]
Clear outdated comments
Ardis Lu [Tue, 15 Nov 2022 02:24:33 +0000 (18:24 -0800)]
Properly record searches in browser history
Ardis Lu [Sat, 12 Nov 2022 04:44:39 +0000 (20:44 -0800)]
Add blockquote styling
Ardis Lu [Sat, 12 Nov 2022 04:32:35 +0000 (20:32 -0800)]
Add Solidity syntax highlighting
Ardis Lu [Sat, 12 Nov 2022 03:25:21 +0000 (19:25 -0800)]
Hide unnecessary icons on mobile
Ardis Lu [Wed, 2 Nov 2022 03:17:15 +0000 (20:17 -0700)]
Add gradient border on header
Ardis Lu [Wed, 2 Nov 2022 03:07:05 +0000 (20:07 -0700)]
Add subtle rainbow background on hover
Ardis Lu [Wed, 2 Nov 2022 02:46:10 +0000 (19:46 -0700)]
Add styling for inline code
Ardis Lu [Wed, 26 Oct 2022 03:57:20 +0000 (20:57 -0700)]
Differentiate animation in vs. out timing
Ardis Lu [Wed, 26 Oct 2022 03:56:15 +0000 (20:56 -0700)]
Add rainbow border to card hover/focus styling
Ardis Lu [Wed, 26 Oct 2022 03:24:02 +0000 (20:24 -0700)]
Use default behavior for modified clicks
For example, Ctrl+Click should open in a new tab
Ardis Lu [Wed, 26 Oct 2022 03:19:39 +0000 (20:19 -0700)]
Make search input bigger
Fixes auto zoom on iOS Safari
Ardis Lu [Wed, 17 Aug 2022 03:57:28 +0000 (20:57 -0700)]
Add hyperlink directly in the article summary
Ardis Lu [Wed, 17 Aug 2022 03:56:55 +0000 (20:56 -0700)]
Add self link to <feed>
This is recommended ("SHOULD") in RFC 4287
Ardis Lu [Wed, 17 Aug 2022 03:43:03 +0000 (20:43 -0700)]
Build home component regardless of path
Fixes bug where home is undefined when users search after opening an article direct link
Ardis Lu [Mon, 15 Aug 2022 05:41:10 +0000 (22:41 -0700)]
Reverse metadata order so newest is first
Ardis Lu [Mon, 15 Aug 2022 05:37:24 +0000 (22:37 -0700)]
Add search
Ardis Lu [Sun, 14 Aug 2022 06:08:54 +0000 (23:08 -0700)]
Simplify querySelector on edit button
Ardis Lu [Sun, 14 Aug 2022 06:07:23 +0000 (23:07 -0700)]
Use ID on refresh button to clarify event listener
Ardis Lu [Sun, 14 Aug 2022 06:01:13 +0000 (23:01 -0700)]
Do not preventDefault on non-anchor clicks
Otherwise form submit and button click will not behave as expected
Ardis Lu [Wed, 10 Aug 2022 04:00:47 +0000 (21:00 -0700)]
Fix global reference to toast
Ardis Lu [Tue, 9 Aug 2022 06:19:27 +0000 (23:19 -0700)]
Use inline @layer for all styles
@layer allows removal of !important and inline allows concurrent loading
Ardis Lu [Tue, 9 Aug 2022 06:11:42 +0000 (23:11 -0700)]
Update headers to match index.html
Except Open Graph metadata which is not needed for a 404 page
Ardis Lu [Tue, 9 Aug 2022 05:40:28 +0000 (22:40 -0700)]
Simplify background CSS
Ardis Lu [Sun, 7 Aug 2022 05:18:16 +0000 (22:18 -0700)]
Refactor script
Split functions to reduce side effects, make use of globals explicit, re-organize code, remove useless templates, add more comments
Ardis Lu [Fri, 5 Aug 2022 04:51:09 +0000 (21:51 -0700)]
Update dependencies
Ardis Lu [Fri, 5 Aug 2022 04:34:09 +0000 (21:34 -0700)]
Make routing logic explicit
Ardis Lu [Fri, 5 Aug 2022 04:33:02 +0000 (21:33 -0700)]
Move feed redirect to route()
Otherwise back button will not work as expected
Ardis Lu [Tue, 2 Aug 2022 07:16:38 +0000 (00:16 -0700)]
Simplify steps for local dev
.dev.vars is no longer a beta feature
Ardis Lu [Tue, 2 Aug 2022 07:15:57 +0000 (00:15 -0700)]
Simplify string
Ardis Lu [Tue, 2 Aug 2022 07:15:34 +0000 (00:15 -0700)]
Properly redirect /atom.xml instead of 404
Ardis Lu [Mon, 1 Aug 2022 04:22:46 +0000 (21:22 -0700)]
Add Atom feed icon
Ardis Lu [Mon, 1 Aug 2022 04:09:40 +0000 (21:09 -0700)]
Move <noscript>to main and update message
Ardis Lu [Mon, 1 Aug 2022 03:39:46 +0000 (20:39 -0700)]
Don't register service worker if not supported
Firefox Private Browsing disables service workers by default
Ardis Lu [Mon, 1 Aug 2022 03:36:58 +0000 (20:36 -0700)]
Only use templates for <main>
Header and dialog are the same on every page so keep loaded without JS
Ardis Lu [Thu, 21 Jul 2022 03:01:07 +0000 (20:01 -0700)]
Remove edge caching logic
After manual tests, these options don't appear to have any effect
Ardis Lu [Thu, 21 Jul 2022 03:00:00 +0000 (20:00 -0700)]
Remove Cache-Control response header
This logic is handled by the client-side service worker
Ardis Lu [Thu, 21 Jul 2022 02:49:37 +0000 (19:49 -0700)]
Block API calls to non-Google domains
Ardis Lu [Thu, 21 Jul 2022 02:40:01 +0000 (19:40 -0700)]
Simplify variables
Ardis Lu [Thu, 21 Jul 2022 02:38:50 +0000 (19:38 -0700)]
Adjust whitespace so the output is human-readable
Ardis Lu [Wed, 20 Jul 2022 06:23:47 +0000 (23:23 -0700)]
Add Atom feed
Ardis Lu [Sun, 17 Jul 2022 03:53:28 +0000 (20:53 -0700)]
Simplify logic to insert header
Ardis Lu [Sun, 17 Jul 2022 03:48:15 +0000 (20:48 -0700)]
Remove unused <head> elements
This page took 0.078988 seconds and 4 git commands to generate.