Open nmichaud opened 5 years ago
So something like an enum?
yeah, important part is that a pivot on that type has a sort order that might not be alphabetical, and all categories should be in the pivot even if no underlying rows have that value
Serves like good semantics for enum.
On Sat, Dec 1, 2018 at 2:05 PM Naveen Michaud-Agrawal < notifications@github.com> wrote:
yeah, important part is that a pivot on that type has a sort order that might not be alphabetical, and all categories should be in the pivot even if no underlying rows have that value
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/deepankarsharma/perspective/issues/35#issuecomment-443449894, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzSwSUZ6mTrlfYVnPjTmoI0IK9tO1l5ks5u0tMWgaJpZM4Y2zON .
On second thought - maybe we can make it configurable on the pivot on whether to include all categories or just the ones that are present?
Yeah agreed, since each column has it's own vocab. And the way to get a defined order can be done by insertion order into the vocab, and then using that for sorting?
On Sat, Dec 1, 2018, 2:22 PM Deepankar Sharma <notifications@github.com wrote:
On second thought - maybe we can make it configurable on the pivot on whether to include all categories or just the ones that are present?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deepankarsharma/perspective/issues/35#issuecomment-443451607, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnj_mMBtqMqFQ8x6GQ_2fDiNLS3_Brvks5u0tbngaJpZM4Y2zON .
Vocabs might go away soon.
Are you still going to do interning?
On Sat, Dec 1, 2018, 4:20 PM Deepankar Sharma <notifications@github.com wrote:
Vocabs might go away soon.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deepankarsharma/perspective/issues/35#issuecomment-443459360, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnj_uZGBSGmHzcbCSRvkYOw5GBXhi_oks5u0vKAgaJpZM4Y2zON .
Have not decided on details yet, but the only thing decided is that the current scheme wont stay.
Would be useful for sorting a list of days or months without needing a separate column