]> git.ardis.lu - ardislu.dev/log
ardislu.dev
23 months agoPreload external assets
Ardis Lu [Thu, 24 Oct 2024 05:32:35 +0000 (22:32 -0700)]
Preload external assets

23 months agoImprove plain <p> message styling
Ardis Lu [Sat, 19 Oct 2024 04:02:08 +0000 (21:02 -0700)]
Improve plain <p> message styling

23 months agoUpgrade dependencies
Ardis Lu [Sat, 19 Oct 2024 04:00:56 +0000 (21:00 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Wed, 16 Oct 2024 04:38:58 +0000 (21:38 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Thu, 10 Oct 2024 12:41:39 +0000 (08:41 -0400)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Thu, 26 Sep 2024 06:37:34 +0000 (23:37 -0700)]
Upgrade dependencies

2 years agoOnly cache requests on own hostname
Ardis Lu [Wed, 25 Sep 2024 04:15:03 +0000 (21:15 -0700)]
Only cache requests on own hostname

Otherwise it will try to cache chrome extensions or user-initiated requests from console, which was not intended.

2 years agoImmediately replace old service workers
Ardis Lu [Wed, 25 Sep 2024 04:04:06 +0000 (21:04 -0700)]
Immediately replace old service workers

2 years agoUpgrade dependencies
Ardis Lu [Sun, 22 Sep 2024 05:46:27 +0000 (22:46 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Sat, 21 Sep 2024 04:01:07 +0000 (21:01 -0700)]
Upgrade dependencies

2 years agoSimplify debounce function
Ardis Lu [Fri, 13 Sep 2024 02:30:52 +0000 (19:30 -0700)]
Simplify debounce function

No need to pass `this` because it's not being called on an object.

2 years agoUpgrade dependencies
Ardis Lu [Wed, 11 Sep 2024 06:48:16 +0000 (23:48 -0700)]
Upgrade dependencies

2 years agoManually call setGridRowEnd on first page load
Ardis Lu [Mon, 9 Sep 2024 07:50:44 +0000 (00:50 -0700)]
Manually call setGridRowEnd on first page load

After debouncing ResizeObserver, the initial call on first page load needs to be manual otherwise there will be a visible delay.

2 years agoDebounce ResizeObserver
Ardis Lu [Mon, 9 Sep 2024 06:45:02 +0000 (23:45 -0700)]
Debounce ResizeObserver

Further improves performance by not recalculating on every pixel resized

2 years agoRe-use ResizeObserver instead of instantiating new ones
Ardis Lu [Mon, 9 Sep 2024 06:34:50 +0000 (23:34 -0700)]
Re-use ResizeObserver instead of instantiating new ones

2 years agoUpgrade dependencies
Ardis Lu [Mon, 9 Sep 2024 06:32:20 +0000 (23:32 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Wed, 4 Sep 2024 04:10:48 +0000 (21:10 -0700)]
Upgrade dependencies

2 years agoAlign search icon vertically with <search> center instead of clear button center
Ardis Lu [Fri, 30 Aug 2024 06:41:25 +0000 (23:41 -0700)]
Align search icon vertically with <search> center instead of clear button center

The clear button is not a standard control anyway so it didn't make sense to align with it.

2 years agoUpgrade dependencies
Ardis Lu [Fri, 30 Aug 2024 06:30:30 +0000 (23:30 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Sat, 24 Aug 2024 06:05:34 +0000 (23:05 -0700)]
Upgrade dependencies

2 years agoAdd simplified npm start script
Ardis Lu [Sat, 17 Aug 2024 05:36:40 +0000 (22:36 -0700)]
Add simplified npm start script

2 years agoUpgrade dependencies
Ardis Lu [Sat, 17 Aug 2024 05:34:01 +0000 (22:34 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Sun, 11 Aug 2024 06:14:25 +0000 (23:14 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Wed, 7 Aug 2024 03:55:13 +0000 (20:55 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Sun, 4 Aug 2024 06:11:36 +0000 (23:11 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Mon, 29 Jul 2024 03:05:56 +0000 (20:05 -0700)]
Upgrade dependencies

2 years agoPartially rollback 0c7f59e
Ardis Lu [Fri, 26 Jul 2024 04:41:31 +0000 (21:41 -0700)]
Partially rollback 0c7f59e

Should allow empty search because this is commonly used to reset the search.

2 years agoRollback 041ec4d
Ardis Lu [Tue, 23 Jul 2024 07:03:16 +0000 (00:03 -0700)]
Rollback 041ec4d

The spacer <div> is required to minimize the <main> height to just fit its content. Without the spacer, <main> will consume the entire screen height and spread its children across the entire height. When there are not enough cards to fill the screen height, this spread results in ugly spacing.

2 years agoSet precise card heights
Ardis Lu [Tue, 23 Jul 2024 06:57:42 +0000 (23:57 -0700)]
Set precise card heights

This change removes excessive padding in some cards to improve the masonry layout. Setting max-block-size is required when there are not enough cards to fill the screen height (e.g. on search).

2 years agoUpgrade dependencies
Ardis Lu [Sat, 20 Jul 2024 06:02:28 +0000 (23:02 -0700)]
Upgrade dependencies

2 years agoAdd tags as categories
Ardis Lu [Sun, 14 Jul 2024 05:52:28 +0000 (22:52 -0700)]
Add tags as categories

2 years agoUpgrade dependencies
Ardis Lu [Sun, 14 Jul 2024 05:52:10 +0000 (22:52 -0700)]
Upgrade dependencies

2 years agoSimplify body grid
Ardis Lu [Sat, 13 Jul 2024 05:26:42 +0000 (22:26 -0700)]
Simplify body grid

2 years agoUpgrade dependencies
Ardis Lu [Mon, 8 Jul 2024 03:53:19 +0000 (20:53 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Fri, 21 Jun 2024 14:13:24 +0000 (07:13 -0700)]
Upgrade dependencies

2 years agoSet edge cache TTL to 30 days
Ardis Lu [Thu, 13 Jun 2024 07:32:43 +0000 (00:32 -0700)]
Set edge cache TTL to 30 days

Default TTL is 2 hours. Confirmed that stale-while-revalidate logic is working.

2 years agoAvoid blocking for auth token
Ardis Lu [Thu, 13 Jun 2024 04:30:05 +0000 (21:30 -0700)]
Avoid blocking for auth token

The auth token is not required if responding with a cached response, so don't wait for it.

2 years agoClean origin response to allow custom cache logic
Ardis Lu [Thu, 13 Jun 2024 02:43:01 +0000 (19:43 -0700)]
Clean origin response to allow custom cache logic

2 years agoUpgrade dependencies
Ardis Lu [Tue, 11 Jun 2024 05:07:56 +0000 (22:07 -0700)]
Upgrade dependencies

2 years agoImplement stale-while-revalidate caching on edge
Ardis Lu [Mon, 10 Jun 2024 06:09:58 +0000 (23:09 -0700)]
Implement stale-while-revalidate caching on edge

2 years agoUpgrade dependencies
Ardis Lu [Sun, 26 May 2024 05:04:20 +0000 (22:04 -0700)]
Upgrade dependencies

2 years agoPreload assets
Ardis Lu [Mon, 20 May 2024 03:11:59 +0000 (20:11 -0700)]
Preload assets

2 years agoUpgrade dependencies
Ardis Lu [Fri, 17 May 2024 02:19:22 +0000 (19:19 -0700)]
Upgrade dependencies

2 years agoImprove high-contrast accessibility
Ardis Lu [Thu, 16 May 2024 05:29:41 +0000 (22:29 -0700)]
Improve high-contrast accessibility

Transparent borders will render as black when forced-colors mode is active, allowing the elements to still be clearly distinguished when background colors are removed.

2 years agoImprove search styling
Ardis Lu [Sun, 12 May 2024 04:38:30 +0000 (21:38 -0700)]
Improve search styling

2 years agoUpgrade dependencies
Ardis Lu [Fri, 10 May 2024 07:11:27 +0000 (00:11 -0700)]
Upgrade dependencies

2 years agoAdd toast transition in
Ardis Lu [Fri, 10 May 2024 07:11:01 +0000 (00:11 -0700)]
Add toast transition in

2 years agoAdd table cell borders
Ardis Lu [Mon, 6 May 2024 05:12:04 +0000 (22:12 -0700)]
Add table cell borders

2 years agoUpgrade dependencies
Ardis Lu [Thu, 2 May 2024 06:36:29 +0000 (23:36 -0700)]
Upgrade dependencies

2 years agoInject email into HTML pages
Ardis Lu [Wed, 1 May 2024 01:59:57 +0000 (18:59 -0700)]
Inject email into HTML pages

Replaces Cloudflare's email-decode.min.js

2 years agoUpgrade dependencies
Ardis Lu [Thu, 18 Apr 2024 06:30:52 +0000 (23:30 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Tue, 9 Apr 2024 04:56:08 +0000 (21:56 -0700)]
Upgrade dependencies

2 years agoAdd basic table styling
Ardis Lu [Sat, 30 Mar 2024 05:28:29 +0000 (22:28 -0700)]
Add basic table styling

2 years agoUpgrade dependencies
Ardis Lu [Sat, 30 Mar 2024 05:15:55 +0000 (22:15 -0700)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Thu, 7 Mar 2024 05:09:58 +0000 (21:09 -0800)]
Upgrade dependencies

2 years agoAdd color to DevTools ASCII art logo
Ardis Lu [Thu, 7 Mar 2024 05:09:35 +0000 (21:09 -0800)]
Add color to DevTools ASCII art logo

2 years agoOnly highlight if CSS Custom Highlight API is supported
Ardis Lu [Tue, 27 Feb 2024 09:24:31 +0000 (01:24 -0800)]
Only highlight if CSS Custom Highlight API is supported

Firefox is still rolling out support: https://caniuse.com/mdn-api_highlight

2 years agoHighlight search term in search results
Ardis Lu [Tue, 20 Feb 2024 06:38:07 +0000 (22:38 -0800)]
Highlight search term in search results

2 years agoUpgrade dependencies
Ardis Lu [Sat, 17 Feb 2024 07:05:04 +0000 (23:05 -0800)]
Upgrade dependencies

2 years agoAdd email to author info
Ardis Lu [Thu, 8 Feb 2024 05:01:26 +0000 (21:01 -0800)]
Add email to author info

To match Atom feed with website and opensearch

2 years agoFix invalid URN
Ardis Lu [Thu, 8 Feb 2024 04:56:59 +0000 (20:56 -0800)]
Fix invalid URN

Periods are not allowed in namespace identifiers per RFC 2141.

2 years agoUpgrade dependencies
Ardis Lu [Sun, 4 Feb 2024 05:22:05 +0000 (21:22 -0800)]
Upgrade dependencies

2 years agoUpgrade dependencies
Ardis Lu [Sun, 28 Jan 2024 22:31:11 +0000 (14:31 -0800)]
Upgrade dependencies

2 years agoAdd Atom feed auto discovery header
Ardis Lu [Sat, 13 Jan 2024 22:22:41 +0000 (14:22 -0800)]
Add Atom feed auto discovery header

2 years agoUpgrade dependencies
Ardis Lu [Fri, 12 Jan 2024 06:19:08 +0000 (22:19 -0800)]
Upgrade dependencies

2 years agoClarify local dev instructions
Ardis Lu [Fri, 12 Jan 2024 06:17:17 +0000 (22:17 -0800)]
Clarify local dev instructions

2 years agoIgnore local wrangler cache
Ardis Lu [Sun, 31 Dec 2023 02:59:28 +0000 (18:59 -0800)]
Ignore local wrangler cache

2 years agoUpgrade dependencies
Ardis Lu [Sun, 31 Dec 2023 02:55:35 +0000 (18:55 -0800)]
Upgrade dependencies

2 years agoUpdate dependencies
Ardis Lu [Sat, 9 Dec 2023 05:57:44 +0000 (21:57 -0800)]
Update dependencies

2 years agoUpgrade dependencies
Ardis Lu [Wed, 29 Nov 2023 04:08:01 +0000 (20:08 -0800)]
Upgrade dependencies

2 years agoUpdate dependency
Ardis Lu [Mon, 13 Nov 2023 00:17:31 +0000 (16:17 -0800)]
Update dependency

2 years agoDelete unused file
Ardis Lu [Fri, 10 Nov 2023 06:12:12 +0000 (22:12 -0800)]
Delete unused file

highlightjs-solidity is bundled in vendor.js now

2 years agoUpdate dependencies
Ardis Lu [Thu, 2 Nov 2023 05:03:37 +0000 (22:03 -0700)]
Update dependencies

3 years agoExplicitly set p font-size
Ardis Lu [Sun, 15 Oct 2023 21:50:00 +0000 (14:50 -0700)]
Explicitly set p font-size

Required on mobile after disabling text-size-adjust

3 years agoReset text-size-adjust
Ardis Lu [Sun, 15 Oct 2023 21:32:26 +0000 (14:32 -0700)]
Reset text-size-adjust

Fixes issue where mobile devices have overly large text on landscape

3 years agoUpgrade dependencies
Ardis Lu [Sat, 14 Oct 2023 04:59:26 +0000 (21:59 -0700)]
Upgrade dependencies

3 years agoAdd diff as a highlight.js language
Ardis Lu [Wed, 11 Oct 2023 06:32:30 +0000 (23:32 -0700)]
Add diff as a highlight.js language

3 years agoUpdate dependencies
Ardis Lu [Tue, 10 Oct 2023 03:13:09 +0000 (20:13 -0700)]
Update dependencies

3 years agoUpgrade dependencies
Ardis Lu [Thu, 5 Oct 2023 03:32:44 +0000 (20:32 -0700)]
Upgrade dependencies

3 years agoReject whitespace-only searches
Ardis Lu [Wed, 20 Sep 2023 04:48:43 +0000 (21:48 -0700)]
Reject whitespace-only searches

3 years agoUpdate marked
Ardis Lu [Tue, 19 Sep 2023 02:46:44 +0000 (19:46 -0700)]
Update marked

3 years ago Add note about npm run build
Ardis Lu [Mon, 18 Sep 2023 05:23:08 +0000 (22:23 -0700)]
 Add note about npm run build

3 years agoUpdate <noscript> message
Ardis Lu [Sun, 17 Sep 2023 22:13:07 +0000 (15:13 -0700)]
Update <noscript> message

3 years agoRestrict highlight.js to only required languages
Ardis Lu [Sun, 17 Sep 2023 21:52:42 +0000 (14:52 -0700)]
Restrict highlight.js to only required languages

3 years agoBundle JS dependencies instead of using CDN
Ardis Lu [Sun, 17 Sep 2023 21:37:02 +0000 (14:37 -0700)]
Bundle JS dependencies instead of using CDN

Introduces minimal Node.js/npm dependency but allows better tree-shaking and minification

3 years agoAdd message when search returns no results
Ardis Lu [Sat, 16 Sep 2023 21:10:47 +0000 (14:10 -0700)]
Add message when search returns no results

3 years agoUpdate marked
Ardis Lu [Sat, 16 Sep 2023 04:14:57 +0000 (21:14 -0700)]
Update marked

3 years agoUpdate marked
Ardis Lu [Sun, 10 Sep 2023 02:03:45 +0000 (19:03 -0700)]
Update marked

3 years agoUpdate marked
Ardis Lu [Thu, 7 Sep 2023 02:53:13 +0000 (19:53 -0700)]
Update marked

3 years agoUpdate marked
Ardis Lu [Sun, 3 Sep 2023 17:12:22 +0000 (10:12 -0700)]
Update marked

3 years agoUpdate marked
Ardis Lu [Sun, 20 Aug 2023 03:37:02 +0000 (20:37 -0700)]
Update marked

3 years agoSet metadata on showPage('/search')
Ardis Lu [Thu, 17 Aug 2023 03:26:24 +0000 (20:26 -0700)]
Set metadata on showPage('/search')

Fixes bug where going back to search from an article will retain the article's metadata unexpectedly

3 years agoUpdate marked
Ardis Lu [Sat, 12 Aug 2023 04:08:59 +0000 (21:08 -0700)]
Update marked

3 years agoFix bug where in-memory pages are served midscroll
Ardis Lu [Fri, 11 Aug 2023 04:30:48 +0000 (21:30 -0700)]
Fix bug where in-memory pages are served midscroll

3 years agoUpdate marked
Ardis Lu [Tue, 8 Aug 2023 00:12:04 +0000 (17:12 -0700)]
Update marked

3 years agoMatch with latest cache instead of all caches
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

3 years agoAdd OpenSearch
Ardis Lu [Thu, 3 Aug 2023 06:48:19 +0000 (23:48 -0700)]
Add OpenSearch

3 years agoUpdated marked
Ardis Lu [Tue, 1 Aug 2023 04:35:03 +0000 (21:35 -0700)]
Updated marked

3 years agoUpdate marked
Ardis Lu [Wed, 26 Jul 2023 02:55:29 +0000 (19:55 -0700)]
Update marked

3 years agoUpdate marked
Ardis Lu [Wed, 12 Jul 2023 04:15:31 +0000 (21:15 -0700)]
Update marked

This page took 0.122987 seconds and 4 git commands to generate.