From d9e671377a6de00543822bc45cae854a387c42c6 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 15 Jun 2025 09:11:49 +0100 Subject: [PATCH] Add daily email --- content/meta/index.json | 7 ++ ....7f8987ed-6ec1-4d81-a968-ec918f017b4b.json | 97 +++++++++++++++++++ ....e019551b-df00-4c4c-a741-bce60ba7580e.json | 27 ++++++ 3 files changed, 131 insertions(+) create mode 100644 content/node.7f8987ed-6ec1-4d81-a968-ec918f017b4b.json create mode 100644 content/path_alias.e019551b-df00-4c4c-a741-bce60ba7580e.json diff --git a/content/meta/index.json b/content/meta/index.json index c7954ed3b..785a390da 100644 --- a/content/meta/index.json +++ b/content/meta/index.json @@ -6456,5 +6456,12 @@ ], "node.c74de3cf-5362-4d08-935a-a9d0d22fcb94": [ "user.b8966985-d4b2-42a7-a319-2e94ccfbb849" + ], + "node.7f8987ed-6ec1-4d81-a968-ec918f017b4b": [ + "user.b8966985-d4b2-42a7-a319-2e94ccfbb849", + "node.3074e1e9-c691-4f73-a71c-cfe5920f884e" + ], + "path_alias.e019551b-df00-4c4c-a741-bce60ba7580e": [ + "node.7f8987ed-6ec1-4d81-a968-ec918f017b4b" ] } \ No newline at end of file diff --git a/content/node.7f8987ed-6ec1-4d81-a968-ec918f017b4b.json b/content/node.7f8987ed-6ec1-4d81-a968-ec918f017b4b.json new file mode 100644 index 000000000..0cbaf0acf --- /dev/null +++ b/content/node.7f8987ed-6ec1-4d81-a968-ec918f017b4b.json @@ -0,0 +1,97 @@ +{ + "uuid": [ + { + "value": "7f8987ed-6ec1-4d81-a968-ec918f017b4b" + } + ], + "langcode": [ + { + "value": "en" + } + ], + "type": [ + { + "target_id": "daily_email", + "target_type": "node_type", + "target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7" + } + ], + "revision_timestamp": [ + { + "value": "2025-06-15T08:11:24+00:00" + } + ], + "revision_uid": [ + { + "target_type": "user", + "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" + } + ], + "revision_log": [], + "status": [ + { + "value": true + } + ], + "uid": [ + { + "target_type": "user", + "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" + } + ], + "title": [ + { + "value": "Refactorings should be small" + } + ], + "created": [ + { + "value": "2025-06-13T08:01:48+00:00" + } + ], + "changed": [ + { + "value": "2025-06-15T08:11:24+00:00" + } + ], + "promote": [ + { + "value": false + } + ], + "sticky": [ + { + "value": false + } + ], + "default_langcode": [ + { + "value": true + } + ], + "revision_translation_affected": [ + { + "value": true + } + ], + "path": [ + { + "alias": "\/daily\/2025\/06\/13\/refactorings-should-be-small", + "langcode": "en" + } + ], + "body": [ + { + "value": "When refactoring code, try and make each change as small as possible.\r\n\r\nJust renaming a variable to something easier to understand is a valid refactor.\r\n\r\nSo is extracting a small method or moving logic to another class.\r\n\r\nI recently make [some refactoring commits](https:\/\/code.oliverdavies.uk\/opdavies\/oliverdavies.uk\/commits\/branch\/main\/search?q=Refactor) to my website and, rather than squashing them, I pushed them to show how simple refactoring can be.\r\n\r\nIt's easier to see and review each refactor separately in its own commit instead of in one large squashed commit.\r\n\r\nIt's also easier to keep the code in a working state if the refactors are smaller.\r\n\r\nIf you break the code whilst refactoring, get back to a working state as soon as possible - even if it means resetting back to the last working commit.\r\n\r\nDon't keep making changes - it will be harder to get back to a working state.", + "format": "markdown", + "processed": "

When refactoring code, try and make each change as small as possible.<\/p>\n

Just renaming a variable to something easier to understand is a valid refactor.<\/p>\n

So is extracting a small method or moving logic to another class.<\/p>\n

I recently make some refactoring commits<\/a> to my website and, rather than squashing them, I pushed them to show how simple refactoring can be.<\/p>\n

It's easier to see and review each refactor separately in its own commit instead of in one large squashed commit.<\/p>\n

It's also easier to keep the code in a working state if the refactors are smaller.<\/p>\n

If you break the code whilst refactoring, get back to a working state as soon as possible - even if it means resetting back to the last working commit.<\/p>\n

Don't keep making changes - it will be harder to get back to a working state.<\/p>\n", + "summary": "" + } + ], + "field_daily_email_cta": [ + { + "target_type": "node", + "target_uuid": "3074e1e9-c691-4f73-a71c-cfe5920f884e" + } + ] +} \ No newline at end of file diff --git a/content/path_alias.e019551b-df00-4c4c-a741-bce60ba7580e.json b/content/path_alias.e019551b-df00-4c4c-a741-bce60ba7580e.json new file mode 100644 index 000000000..4dda087a1 --- /dev/null +++ b/content/path_alias.e019551b-df00-4c4c-a741-bce60ba7580e.json @@ -0,0 +1,27 @@ +{ + "uuid": [ + { + "value": "e019551b-df00-4c4c-a741-bce60ba7580e" + } + ], + "langcode": [ + { + "value": "en" + } + ], + "path": [ + { + "value": "\/node\/7f8987ed-6ec1-4d81-a968-ec918f017b4b" + } + ], + "alias": [ + { + "value": "\/daily\/2025\/06\/13\/refactorings-should-be-small" + } + ], + "status": [ + { + "value": true + } + ] +} \ No newline at end of file