Commit graph

39 commits

Author SHA1 Message Date
kim
00d8a1f8ac much improved status timeline code comments 2025-04-25 15:24:39 +01:00
kim
cc86a08f15 fix timeline preload state check 2025-04-25 15:24:39 +01:00
kim
83f6685437 add logic to allow dynamic clear / preloading of timelines 2025-04-25 15:24:39 +01:00
kim
b04b4f8516 share a bunch of the database load code in timeline cache, don't clear timelines on relationship change 2025-04-25 15:24:39 +01:00
kim
0982a4b671 ensure repeat boosts are marked in preloaded entries 2025-04-25 15:24:39 +01:00
kim
b3c9bfde18 start adding preloading support 2025-04-25 15:24:39 +01:00
kim
57ef7847ec add StatusTimeline{} tests 2025-04-25 15:24:39 +01:00
kim
2300882a83 remove unused field 2025-04-25 15:24:39 +01:00
kim
8a6ff1631a add important note 2025-04-25 15:24:39 +01:00
kim
e762577179 more code comments 2025-04-25 15:24:39 +01:00
kim
50805fac53 add repeat boost filtering logic, update go-structr, general improvements 2025-04-25 15:24:38 +01:00
kim
cf405352e6 do a maximum of 5 loads, not 10 2025-04-25 15:23:34 +01:00
kim
be75246307 remove comments for repeat code 2025-04-25 15:23:34 +01:00
kim
8dfce9fa84 fix use of timeline.lastOrder, fix incorrect range functions used 2025-04-25 15:23:34 +01:00
kim
8c09d0f20d move boost checking to prepare function 2025-04-25 15:23:34 +01:00
kim
6fa0033a45 remove unused function to appease the linter 2025-04-25 15:23:34 +01:00
kim
227d6edc3e remove local / public caches (is out of scope for this work), share more timeline code 2025-04-25 15:23:34 +01:00
kim
96250a941c swap the lo, hi values 🤦 2025-04-25 15:23:34 +01:00
kim
53817c23fd simplify timeline cache loading, fix lo/hi returns, fix timeline invalidation side-effects missing for some federated actions 2025-04-25 15:23:34 +01:00
kim
f62cc52761 fill in more code comments 2025-04-25 15:23:34 +01:00
kim
ba3ddd32f9 finish writing code comments for the StatusTimeline{} type itself 2025-04-25 15:23:34 +01:00
kim
10d2c12c6f improved code comments for updated / returned lo , hi paging values 2025-04-25 15:23:34 +01:00
kim
158463908a change the way we update lo,hi paging values during timeline load 2025-04-25 15:23:34 +01:00
kim
791d7c5aef some variable renaming, for ease of following 2025-04-25 15:23:34 +01:00
kim
e99d0d7276 finish writing more code comments 2025-04-25 15:23:34 +01:00
kim
f715bec563 don't allow multiple entries for BoostOfID values to prevent repeated boosts of same boosts 2025-04-25 15:23:34 +01:00
kim
5bab57226e improved code comments 2025-04-25 15:23:34 +01:00
kim
a48527282e continued from previous commit 2025-04-25 15:23:34 +01:00
kim
5ef24340f7 reslice the output if it's beyond length of 'lim' 2025-04-25 15:23:34 +01:00
kim
015938cdea linter, ssssssssshhhhhhhhhhhh please 2025-04-25 15:23:34 +01:00
kim
64564496f1 fix up more tests, fix missing required changes, etc 2025-04-25 15:23:34 +01:00
kim
61f8da707c fix test-identified timeline cache package issues 2025-04-25 15:23:34 +01:00
kim
4e80d0bf79 start adding page validation 2025-04-25 15:23:34 +01:00
kim
e96bf44497 remove references to old timeline types that needed starting up in tests 2025-04-25 15:23:34 +01:00
kim
4803ae6bad implement new timeline code into more areas of codebase, pull in latest go-mangler, go-mutexes, go-structr 2025-04-25 15:23:34 +01:00
kim
dc1cf2c7b0 add local timeline, fix up merge conflicts 2025-04-25 15:22:41 +01:00
kim
771fbe2d5e more work integration new timeline code 2025-04-25 15:22:41 +01:00
kim
49d9a008d9 further work rewriting timeline caching 2025-04-25 15:22:41 +01:00
kim
f4b4a696f2 start work rewriting timeline cache type 2025-04-25 15:22:41 +01:00