diff --git a/README.md b/README.md new file mode 100644 index 0000000..463685e --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# TRIFORM +*WORK IN PROGRESS* + +TRIFORM (Threaded Rooms Interface For Organised Relational Mails) is a mail client which sorts mails into conversations based on the members present in each mails. + +## Features + +- [x] Multi account +- [x] Live syncing of mails +- [x] Live syncing of flags +- [x] Mark as read/unread +- [ ] Attachments +- [ ] Send new mails +- [ ] Respond to mails +- [ ] Delete mails +- [ ] Live sync with the ui + +## Installation + +## Definitions + +- Room: General space where messages are grouped. +- Channel: Space use for newsletters or other conversations when there is a low need for reply. +- Group: Space contening several users that are part of the conversation. +- DM: Space defining a conversation with only one other member. +- Thread: Sub-Space generally created when changing the number of member in a space. + +## Examples diff --git a/front/src/utils/array.ts b/front/src/utils/array.ts index 901b6ac..5ce4a52 100644 --- a/front/src/utils/array.ts +++ b/front/src/utils/array.ts @@ -1,5 +1,5 @@ -export function removeDuplicates(array: any[]) { - const unique: any[] = []; +export function removeDuplicates(array: number[]) { + const unique: number[] = []; for (let i = 0; i < array.length; i++) { if (!unique.includes(array[i])) { unique.push(array[i]);