I just set up an internal Discourse instance to support feedback related to some ongoing projects. On one of the projects, we use the OS X app OmniGraffle to do wireframing and write specifications. OmniGraffle “files,” ending with the extension
.graffle actually are containers, like many files are on OS X. I think Pages files are this way, too, for example. The
.graffle documents contain a
data.plist file and whatever images you’ve embedded into the document.
Here’s how it looks in the finder. Double-clicking opens OmniGraffle and the “document.”
If you right-click on it, you can “Show Package Contents” to browse the container/folder. Inside you’ll see the following:
Anyhow - in my Discourse instance, I allowed
.graffle as an extension for file attachments, thinking it would be a good way to share these documents, from time to time.
Discourse viewed the
requirements.graffle file as a folder, and instead of uploading the “file” as a single entity, it uploaded all of the contents of the
.graffle package – all 19 files separately.
While it’s cool to be able to upload a folder full of files, in this instance (and with other OS X documents that use a package structure), the ‘file’ should be uploaded as a single entity.