You are browsing as a guest. Sign up (or log in) to start making projects!

2h 38m 19s logged

Small update on ReelTools. Added a search bar that filters by name, tag or
description in real time, and an edit button on each entry (before you could
only delete). Edit is a bit hacky: it loads the entry into the form and
deletes the old one, then when you hit Add it creates a new entry with the
changes. Felt cleaner than a full edit mode.

Hit a sneaky bug: editing the first entry kept deleting the last one. Took
me a while to figure out but turns out I was loading the data twice from
localStorage, which created different object instances, so indexOf returned
-1 and splice ate the last entry. Classic JS reference trap.

Search was tricky too because of the same issue, keeping the original index
when the list is filtered. Not touching the UI for now, ReelTools is done.
Moving on to the next project.

0
3

Comments 1

@Resk

I can understand you it’s a good try to learn even they reject you for high usage of AI and my honest advice is to limit AI usage because it’s worst when you are learning I knew it because I tried many times and got rejected on many other platforms. Concept is good tho .