<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claudomator.git/web/test/tab-persistence.test.mjs, branch story/task-project-fk</title>
<subtitle>claudomator — task automation server
</subtitle>
<id>https://git.terst.org/claudomator.git/atom?h=story%2Ftask-project-fk</id>
<link rel='self' href='https://git.terst.org/claudomator.git/atom?h=story%2Ftask-project-fk'/>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/'/>
<updated>2026-03-17T18:02:22+00:00</updated>
<entry>
<title>feat: persist active main tab to localStorage</title>
<updated>2026-03-17T18:02:22+00:00</updated>
<author>
<name>Claudomator Agent</name>
<email>agent@claudomator</email>
</author>
<published>2026-03-17T18:02:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/commit/?id=b5df9cadd7b8a275b8688ee8fb957142536fd26a'/>
<id>urn:sha1:b5df9cadd7b8a275b8688ee8fb957142536fd26a</id>
<content type='text'>
On tab click, store the tab name under 'activeMainTab' in localStorage.
On DOMContentLoaded, restore the previously active tab instead of
always defaulting to 'queue'.

Exported getActiveMainTab/setActiveMainTab for testability, following
the same pattern as getTaskFilterTab/setTaskFilterTab.

Tests: web/test/tab-persistence.test.mjs (6 tests, all green).

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
