Commit Graph

20 Commits

Author SHA1 Message Date
Julien Calixte
aad07184fd fix(freshness): surface silent failures when pulling latest
queryFileContent threw on octokit errors (stale SHA 404, expired token,
network blip) and the rejection bubbled up unhandled through pullLatest
and onBadgeClick, leaving the badge stuck on "Outdated" with no log or
toast. Wrap the octokit call, log on failure, clear the cached SHA so
the next click re-resolves it, and show an error toast.

Also fix a dead `if (!user || !repo) { null }` that did nothing.
2026-05-06 22:02:50 +02:00
Julien Calixte
20e9538983 feat: mv profile to footer 2026-03-28 20:24:08 +01:00
Julien Calixte
5f48aa5690 chore: lint and fmt 2026-03-28 09:38:55 +01:00
Julien Calixte
8b921f1adb refacto: look after remanso now 2026-02-14 14:40:11 +01:00
Julien Calixte
683187b4d1 feat: render some real content 2026-02-11 03:12:52 +01:00
Julien Calixte
b2250b2b95 feat: add fontFamilies array 2025-07-06 11:23:15 +02:00
Julien Calixte
84789393ad fix: distinct multiple layer of cache 2024-10-27 12:33:26 +01:00
Julien Calixte
df25634b98 add a method to cache all files when necessary 2024-09-01 00:36:13 +02:00
Julien Calixte
133a998ef8 rename previous hook 2023-08-13 21:10:21 +02:00
Julien Calixte
1b7f7539a8 note more hook involved 2023-08-13 21:09:52 +02:00
Julien Calixte
656e4b14a9 store has a first copy of readme from cache is no waiting 2023-08-13 21:07:17 +02:00
Julien Calixte
ef84711e1c 🐛 (repo) one readme per repo 2023-07-16 15:33:02 +02:00
Julien Calixte
203db4c00a (backlinks) init backlinks 2021-06-05 16:39:26 +02:00
Julien Calixte
d33fa18b9c 🐛 (refresh) refresh correct token 2021-05-02 18:33:46 +02:00
Julien Calixte
7a5275dd2e (refresh) refresh when requesti… 2021-05-02 17:21:24 +02:00
Julien Calixte
e88584e24d ♻️ (sign in) 2021-05-02 16:47:48 +02:00
Julien Calixte
b246872f23 🐛 (github) remove refetch not working 2021-05-02 00:01:41 +02:00
Julien Calixte
0e52b16b1b Feat/GitHub auth (#6)
*  (sign in) create sign in to github button

*  (github login) login via github button

* 💄 (homepage)

*  (date fns)

*  (github login) refresh token when token expired
2021-05-01 23:35:38 +02:00
556ddb7f1e (user settings) init user settings with .litenote.json 2021-03-24 22:35:41 +01:00
e199c68d68 ♻️ (store) use a store to store readme and files 2021-03-24 21:23:23 +01:00