<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chrona/tests/lib.test.ts, branch main</title>
<subtitle>Chrona: Interactive Historical Timeline</subtitle>
<id>https://terryt.dev/cgit/chrona/atom?h=main</id>
<link rel='self' href='https://terryt.dev/cgit/chrona/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/'/>
<updated>2023-01-24T10:03:32+00:00</updated>
<entry>
<title>For search, jump to 'appropriate' scale</title>
<updated>2023-01-24T10:03:32+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-24T10:03:32+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=547237277d3c9f2d7932a3d8d5cc284590132d19'/>
<id>urn:sha1:547237277d3c9f2d7932a3d8d5cc284590132d19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move general utility funcs into util.ts</title>
<updated>2023-01-21T03:12:30+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-21T03:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=d581e5b61a771ef8619a5bfbc84a6e337c7ca13f'/>
<id>urn:sha1:d581e5b61a771ef8619a5bfbc84a6e337c7ca13f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adjust frontend coding style</title>
<updated>2023-01-21T02:47:28+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-21T02:47:28+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=bf357e48dc261dab08598bd93071ca53ef386402'/>
<id>urn:sha1:bf357e48dc261dab08598bd93071ca53ef386402</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extend info modal date display</title>
<updated>2023-01-14T03:31:14+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-14T03:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=05dd46c2f36787e71f4a3a3d7ac0febf3c6f9309'/>
<id>urn:sha1:05dd46c2f36787e71f4a3a3d7ac0febf3c6f9309</id>
<content type='text'>
Show combined descriptions for certain (imprecise) starts and ends.
Conditionally display start and end separately.
</content>
</entry>
<entry>
<title>Improve date display in info modal</title>
<updated>2023-01-14T00:26:10+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-14T00:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=21b5e5ee7bb933fa8235430aa63382b70dbe3d1b'/>
<id>urn:sha1:21b5e5ee7bb933fa8235430aa63382b70dbe3d1b</id>
<content type='text'>
Make desc field of EventInfo optional
Don't require desc in type=info result
Fix image not showing in info modal
</content>
</entry>
<entry>
<title>Jump to and highlight search results</title>
<updated>2023-01-05T15:45:26+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-05T15:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=559902e0211a06b349c4c2f50b0882a8d314f8b7'/>
<id>urn:sha1:559902e0211a06b349c4c2f50b0882a8d314f8b7</id>
<content type='text'>
Use a 'searchTarget' prop of Timeline to trigger jumping to a search result.
Make TimeLine prioritise search result in layout.
When querying for events in App, check for a search target, and use incl= to retrieve it.
On server, for the incl= query param, don't include the event if outside specified range.
</content>
</entry>
<entry>
<title>Query server when zoomed in enough even if within an already queried range</title>
<updated>2023-01-03T10:31:02+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-03T10:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=6438f8e880df5b04ff974179897ae507bb30285c'/>
<id>urn:sha1:6438f8e880df5b04ff974179897ae507bb30285c</id>
<content type='text'>
For server query parameter range=date1.date2, exclude date2
Fix unnecessary calendar-to-year date conversion when building sql query
For frontend DateRangeTree class, rename has() to contains()
</content>
</entry>
<entry>
<title>Show event-count data on timeline</title>
<updated>2022-12-29T05:20:26+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-12-29T05:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=20d69469a4c80a196de23625d0420487b0ed04a6'/>
<id>urn:sha1:20d69469a4c80a196de23625d0420487b0ed04a6</id>
<content type='text'>
Backend:
	Send event-count data to client in EventResponse instance
	Fix certain usages of gregorian calendar instead of julian
	Move HistDate, SCALES, etc, into cal.py
Frontend:
	Make App update a unitCountMaps object using event-count data from server
	Make TimeLine show visual indication of unit counts
	Add showEventCounts option to store
Update unit tests
</content>
</entry>
<entry>
<title>Add unit testing</title>
<updated>2022-12-18T09:26:07+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-12-18T09:26:07+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/chrona/commit/?id=fac881d61176f04a4062db710df98924a76b0ffb'/>
<id>urn:sha1:fac881d61176f04a4062db710df98924a76b0ffb</id>
<content type='text'>
Install vitest, happy-dom, and @testing-library/vue
Add lib.ts and rbtree.ts tests in tests/
Modularise some date-range-managing code from App.vue into lib.ts
</content>
</entry>
</feed>
