Tirraa / dashboard_rtm

dashboard_rtm
MIT License
5 stars 1 forks source link

Feat: blog filters #116

Closed gustaveWPM closed 4 months ago

gustaveWPM commented 5 months ago

Should (lol) resolve this: https://github.com/Tirraa/dashboard_rtm/issues/41

gustaveWPM commented 5 months ago

LMAO, THIS PR IS SO FUNNY

gustaveWPM commented 5 months ago

Hmmmmmm... I need to re-architecture the code in this PR in order to preserve a good client/server design.

This problem must be fixed before any progress. image image

EDIT:

Started to damage control this. Smells really good. image

EDIT 2 :

Still on progress! image

gustaveWPM commented 5 months ago

Hummm... urlsPackAndUnpack.ts is using Buffer, and is making the bundle size exploding.

https://github.com/vercel/next.js/issues/40178

https://github.com/Tirraa/dashboard_rtm/blob/81ac7f352dd2161b4356f2ef92444b1786dc8029/packages/shared-lib/src/portable/misc/urlsPackAndUnpack.ts

gustaveWPM commented 5 months ago

Gonna change urlPackAndUnpack implementation. Got a simple idea that could work just fine, without using Buffer.

gustaveWPM commented 5 months ago

Yurk, putting unexpected (but valid) blog tags ids bypass the sanitizing. Gonna fix this.

gustaveWPM commented 5 months ago

Damn, that's cursed

gustaveWPM commented 5 months ago

MADE IT

317223642-bdc164d2-46ef-4c95-98e9-d209c38cd3da

image