Yazeed Bzadough
Yazeed Bzadough
As a workaround, I'm trying Union Types with a guaranteed `type` property—much like Redux actions. ```ts type Difficulty = | { type: 'beginner'; weight: 1 } | { type: 'intermediate';...
Hi! I'd be interested in trying that first bullet. Can you permanently delete from other screens, or just _Trash_? If just _Trash_, then `NoteOptions.tsx` may be extended easily? For example......
What do you think of using a new name vs. reusing "Delete note"? If something's already in the trash, _deleting_ it implies permanent erasure. Also should a user be able...
> ...it makes sense to be a totally separate component Agreed. > Though it would be nice to make all the other code about opening and closing options be the...
Just dug more into this, may not be that simple lol. `NoteOptions` must `connect` to all the categories logic and be aware of the active `noteOptionsId`. Then `TrashedNoteOptions` `connect`s to...