Skip to content

Add drafts#58

Open
fed wants to merge 1 commit intomasterfrom
drafts
Open

Add drafts#58
fed wants to merge 1 commit intomasterfrom
drafts

Conversation

@fed
Copy link
Owner

@fed fed commented Mar 14, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 14, 2026 02:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds several draft blog posts on various topics (CSS, Elm, monorepos, productivity) and makes a minor change to the date formatting filter.

Changes:

  • Added 7 new draft blog posts covering CSS Modules, CSS variables theming, Elm architecture/tooling, monorepos, Apple Reminders workflow, and blocking distracting sites
  • Replaced Luxon-based ISO date formatting with native JS toISOString() in the htmlDateString filter

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
_config/filters.js Switched htmlDateString filter from Luxon to native toISOString(), leaving old code commented out
content/blog/building-mental-model-elm-architecture.md New draft post on Elm Architecture concepts for React devs
content/blog/getting-started-elm-tooling.md New draft post on Elm tooling setup
content/blog/monorepos.md New draft post on monorepos and Turborepo
content/blog/css-modules.md New draft post on CSS Modules
content/blog/theming-css-variables.md New draft post stub on CSS variable theming
content/blog/reminders-workflow.md New draft post stub on Apple Reminders
content/blog/blocking-distracting-sites-mac.md New draft post on blocking sites via /etc/hosts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

eleventyConfig.addFilter("htmlDateString", (dateObj) => {
// dateObj input: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-date-string
return DateTime.fromJSDate(dateObj, { zone: "utc" }).toISO();
// return DateTime.fromJSDate(dateObj, { zone: "utc" }).toISO();
Comment on lines +80 to +93
To build the app, you need to compile src/Main.elm to public/arklay.js. Do this with:

```txt
elm make src/Main.elm --output=public/app.js
```

For development, you'll probably want to add the --debug flag, but if you're finished development and want to upload, use --optimize.

## Dev environment with live reload

For a live-reload environment, you can use elm-live. Install it globally with `npm install -g elm-live`, and then start it with:

```txt
elm-live --dir public -- src/Main.elm --output=public/arklay.js --debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants