gingko / client

Gingko Writer. Tree-based writing software, written in Elm.
https://gingkowriter.com
MIT License
361 stars 49 forks source link

Dots in filename lead to un-openable Gingko Home Screen #115

Closed AdrianoFerrari closed 6 years ago

AdrianoFerrari commented 6 years ago

When saving to a file with more than one period in the filename (except for .gko), this error occurs:

Oops! Something went wrong when starting your Elm program.

Trying to initialize the Home module with an unexpected flag.
I tried to convert it to an Elm value, but ran into this problem:

Expecting an object with a field named created_at at [1][3][1] but instead got: {"":{"":{"gko":{"name":"somename with dots....","state":"active","createdat":"2018-08-27T08:00:00.001Z","last_modified":"2018-08-27T08:00:00.001Z","last_opened":"2018-08-27T08:00:00.001Z"}}}}