Commit Graph

13957 Commits

Author SHA1 Message Date
f2233544f7 nicolium: maybe another perf improvement?
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-02 15:08:16 +01:00
136c50f473 nicolium: maybe a perf improvement?
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-02 15:03:22 +01:00
7e28098639 nicolium: provide display name to memoized/ref-forwarded components
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-02 14:03:04 +01:00
34f8b37150 nicolium: use profiler build in production 2026-03-02 13:17:52 +01:00
3aac8578fe Merge pull request #525 from mkljczk/commituje-z-napleta
nicolium: don't use useAccounts in status query
2026-03-01 23:37:51 +01:00
cd6495f836 edit 2026-03-01 23:34:27 +01:00
f68c6c32f5 nicolium: don't use useAccounts in status query 2026-03-01 23:20:05 +01:00
b9798eb50a Merge pull request #524 from mkljczk/copilot/audit-browser-hang-issue
Fix useAccounts render instability and useThread infinite loop
2026-03-01 22:06:21 +01:00
5b1a876326 fix: stabilize useAccounts with combine and add cycle detection in useThread
- useAccounts: Replace unstable useMemo([queries]) with TanStack Query's
  combine option, which applies structural sharing (replaceEqualDeep) to
  the combined result. This prevents the accounts array from being a new
  reference on every render, breaking the cascade of unnecessary re-renders
  through useStatusQuery → useStatus → all Status components.

- useThread: Add cycle detection (visited set) to the linear mode's while
  loop that traverses inReplyTos to find the root parent. Without this,
  circular reply chains (e.g. self-replies or A→B→A) would cause an
  infinite loop that freezes the browser tab.

Co-authored-by: mkljczk <21127288+mkljczk@users.noreply.github.com>
2026-03-01 20:59:07 +00:00
b5ef881a18 nicolium: fix nonsense memoization
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 21:49:13 +01:00
8bec9bb746 nicolium: fix useMemo dep
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 21:48:22 +01:00
6ee287403b nicolium: memoize Status
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 21:48:15 +01:00
8133a50a14 nicolium: lint styles, remove rule that spawns false positives
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 21:38:11 +01:00
e4d8c22460 Initial plan 2026-03-01 20:28:26 +00:00
1d360f0d3d nicolium: update more deps
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 21:24:07 +01:00
8152fffbca nicolium: update deps
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 21:15:42 +01:00
d936f4db95 nicolium: cleanup
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 21:12:27 +01:00
c9c3d50814 nicolium: add a way to use the new timeline
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 21:07:48 +01:00
335910611c nicolium: reintroduce status filtering
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 20:44:27 +01:00
9fc655db87 nicolium: same but for followed hashtags list
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 19:05:08 +01:00
456658d71d nicolium: don't make unneeded mfa settings request
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 19:03:15 +01:00
23995b3888 Nicolium/pl-api: an attempt at performance improvements
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 18:21:35 +01:00
46b12c5497 Nicolium: use notifyManager
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 17:14:27 +01:00
0d1450e922 Merge remote-tracking branch 'mkljczk/develop' into develop 2026-03-01 15:54:04 +01:00
cf64147253 nicolium: migrate statuses to react-query?
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 15:53:43 +01:00
7377253a7f nicolium: a dumb bug?
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 14:20:26 +01:00
18f1fddc7b Merge branch 'copilot/investigate-performance-regression' into develop 2026-03-01 13:22:35 +01:00
5cd3eff98e nicolium: types
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-03-01 13:22:18 +01:00
4f461be83f revert 2026-03-01 13:01:56 +01:00
a284bfdfe1 didn't ask for this
lol
2026-03-01 12:58:44 +01:00
37a6c9596a chore: clean up temporary pre-commit backup file
Co-authored-by: mkljczk <21127288+mkljczk@users.noreply.github.com>
2026-03-01 11:31:31 +00:00
bd6ff64625 chore: update progress
Co-authored-by: mkljczk <21127288+mkljczk@users.noreply.github.com>
2026-03-01 11:29:47 +00:00
b72fb71bd8 refactor: extract setMeta helper for PaginatedResponseArray 2026-03-01 11:29:34 +00:00
e2daf27787 chore: restore pre-commit hook 2026-03-01 11:27:25 +00:00
652624a7fb chore: fix .gitignore to properly exclude package-lock.json
Co-authored-by: mkljczk <21127288+mkljczk@users.noreply.github.com>
2026-03-01 11:27:06 +00:00
707626dee7 fix: PaginatedResponseArray performance regression causing Firefox crash
Two issues fixed in PaginatedResponseArray:
1. Replace spread constructor with iterative PaginatedResponseArray.from()
   to avoid stack overflow with large arrays (~31k+ items)
2. Make .total and .partial non-enumerable to restore TanStack Query
   structural sharing and prevent unnecessary re-renders

Co-authored-by: mkljczk <21127288+mkljczk@users.noreply.github.com>
2026-03-01 11:26:44 +00:00
d1b0f65fc8 chore: remove package-lock.json and add to gitignore 2026-03-01 11:26:10 +00:00
6820af3da8 fix: PaginatedResponseArray performance regression causing Firefox crash 2026-03-01 11:26:03 +00:00
2a0e55df4b Initial plan 2026-03-01 11:11:41 +00:00
70a1b19175 deploy from semistable branch
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-28 20:06:29 +01:00
a5aedd50b9 Merge pull request #522 from pmysl/update-email-in-readme
Update email in Code of Conduct
2026-02-28 18:47:30 +01:00
13fbf00bd8 Update email in Code of Conduct 2026-02-28 18:38:35 +01:00
23cc9509f6 Add copilot instructions 2026-02-28 17:02:18 +01:00
18c571ea3e Add AGENTS.md 2026-02-28 16:57:44 +01:00
ca6716b1e4 Merge pull request #519 from pmysl/develop
nicolium: show admin status delete action only on supported backends
2026-02-28 16:50:38 +01:00
47f63baa8a nicolium: show admin status delete action only on supported backends 2026-02-28 07:15:52 +01:00
5ca8dd30f7 nicolium: import missing style component
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-28 00:10:24 +01:00
065c2e3c4b nicolium: funny but that's not how i should do it lol
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-27 22:27:36 +01:00
4bd0f044e5 nicolium: wip migrations
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-27 22:22:05 +01:00
9561f2ba58 nicolium: fix status with multiple accounts
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-27 22:15:59 +01:00