I’ve changed my mind about how to handle creating new directories in s3.
S3 doesn’t have a concept of directories. It’s just a key / value object storage. A directory is just a naming convention of keys.
Because of that at first I just showed a dialog message trying to explain why you can’t create a directory.
However, when I used the app, it turns out that it’s really convenient to have it so I implemented a creative solution: I create a dummy file .keep.filerion in new directory to force creating it.
Also implemented showing file last modification date.
Didn’t do as much as I wanted because I spent most of the day doing emergency fixes to my open-source library notionapi. Notion changed their API and I had to update the library.