Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Hide "type" attribute values of Tags in JSON data #464

bnvk opened this Issue · 3 comments

4 participants


In our initial Tag spec we had two attributes needed for proper flexibility for GUI:

  • type
  • display

Due to backend constraints "type" was omitted from the API for awhile, now it seems to be exist, but the values of type are uncertain to me- inbox, outbox, spam, etc... are all attributes of "type"

@bnvk bnvk added this to the Beta milestone
@BjarniRunar BjarniRunar was assigned by bnvk

This is a misunderstanding.

The "type" attribute was never meant for use by the UI. It is used internally by the Mailpile back-end to find the right tags for various functions without having to depend on hard-coded tag names. Please continue to ignore "type" completely in the front-end. If display and friends are insufficient for the front-end's needs, we will add more attributes.

@pagekite pagekite closed this

Updated the title of issue. Since "type" is something you've claimed and are using in the backend it should not exist in the public JSON data as it's not usable for UI and confuses things!

@bnvk bnvk reopened this

That won't work. Once you create a UI that allows users to edit the tags and their properties, you will need to see and be able to set this property.

@smari smari added the Back End label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.