<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Assets on Jesper Andersen - Blog &amp; DevLog</title><link>https://jespertandersen.github.io/Portfolio/tags/assets/</link><description>Recent content in Assets on Jesper Andersen - Blog &amp; DevLog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>cph-ja472@stud.ek.dk (Jesper Andersen)</managingEditor><webMaster>cph-ja472@stud.ek.dk (Jesper Andersen)</webMaster><copyright>© 2026 Jesper Andersen</copyright><lastBuildDate>Wed, 20 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://jespertandersen.github.io/Portfolio/tags/assets/index.xml" rel="self" type="application/rss+xml"/><item><title>Maintenance Log Frontend - Fourteenth Week: Manager/Admin Flows, Create Pages, and Session Expiry Handling</title><link>https://jespertandersen.github.io/Portfolio/devlog/maintenancelog-fourteenthweek/</link><pubDate>Wed, 20 May 2026 00:00:00 +0000</pubDate><author>cph-ja472@stud.ek.dk (Jesper Andersen)</author><guid>https://jespertandersen.github.io/Portfolio/devlog/maintenancelog-fourteenthweek/</guid><description>&lt;h1 class="relative group"&gt;Devlog Week 14: Manager/Admin Flows, Create Pages, and Session Expiry Handling
 &lt;div id="devlog-week-14-manageradmin-flows-create-pages-and-session-expiry-handling" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#devlog-week-14-manageradmin-flows-create-pages-and-session-expiry-handling" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;
&lt;p&gt;This entry covers the manager/admin-facing workflows (create pages and domain admin actions), and ends with a centralized error-handling + session expiry (token expiration) flow to keep UX consistent across the app.&lt;/p&gt;</description></item><item><title>Maintenance Log Frontend - Eleventh Week: Assets, Logs, Filtering, and Creating Maintenance Entries</title><link>https://jespertandersen.github.io/Portfolio/devlog/maintenancelog-eleventhweek/</link><pubDate>Tue, 12 May 2026 00:00:00 +0000</pubDate><author>cph-ja472@stud.ek.dk (Jesper Andersen)</author><guid>https://jespertandersen.github.io/Portfolio/devlog/maintenancelog-eleventhweek/</guid><description>&lt;h1 class="relative group"&gt;Devlog Week 11: Assets, Logs, Filtering, and Creating Maintenance Entries
 &lt;div id="devlog-week-11-assets-logs-filtering-and-creating-maintenance-entries" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#devlog-week-11-assets-logs-filtering-and-creating-maintenance-entries" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;
&lt;p&gt;This entry focuses on the asset/log workflow: fetching real data from the API, filtering lists, displaying asset details, and adding log creation behind role checks.&lt;/p&gt;

&lt;h2 class="relative group"&gt;What Changed
 &lt;div id="what-changed" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#what-changed" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;AssetList&lt;/code&gt; now fetches from the real backend API&lt;/li&gt;
&lt;li&gt;Active/inactive filtering implemented via a reusable &lt;code&gt;Select&lt;/code&gt; component&lt;/li&gt;
&lt;li&gt;&lt;code&gt;AssetDetail&lt;/code&gt; fetches asset + logs in parallel using &lt;code&gt;Promise.all&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Status and task type filters wired to server-side filtering&lt;/li&gt;
&lt;li&gt;&amp;ldquo;Create log&amp;rdquo; is role-gated (TECHNICIAN+) and also hidden for inactive assets&lt;/li&gt;
&lt;li&gt;&lt;code&gt;CreateLog&lt;/code&gt; includes client-side validation and prevents double-submit&lt;/li&gt;
&lt;li&gt;CSS Modules adopted for scoped styling&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;

&lt;h2 class="relative group"&gt;Asset List: Fetch + Filter Pattern
 &lt;div id="asset-list-fetch--filter-pattern" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#asset-list-fetch--filter-pattern" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;AssetList&lt;/code&gt; implements a reusable pattern used elsewhere in the frontend:&lt;/p&gt;</description></item></channel></rss>