Commit graph

15 commits

Author SHA1 Message Date
yoy
b824e98d1c pl,pr,plr 2025-10-17 15:06:50 +02:00
yoy
b79e64f8a3 finalize margin classes 2025-10-17 11:55:40 +02:00
yoy
418fcb0b5c updating margin-top classes 2025-10-17 11:55:40 +02:00
yoy
c64f8eb786 fix build
Update icon size enum & class
2025-10-17 11:55:40 +02:00
yoy
2675f20c74 feat(theme): Update theme colors
- Introduce the new colors for all color themes
- The colors are based on the Material 3 color but customized
2025-09-26 14:15:49 +02:00
yoy
98294f085b refactor(theme)!: introduce new color tokens
Replaced old color tokens with new tokens that follow the Material 3 Design system.
2025-09-26 13:35:49 +02:00
hrb-hub
33f4432484 Fix base64url.replace is not a function error when reactivating alias
The error is a result of an incorrect assumption that EntityUpdateData's
instanceListId is null for ElementEntities when processing entity
updates, when in fact instanceListId is an empty string.

Changing EntityUpdateData.instanceListId's type to NonEmptyString | null
and setting it to null for ElementEntity updates early should help
prevent bugs caused by such assumptions.

Close #9420

Co-authored-by: bir <bir@tutao.de>
Co-authored-by: ivk <ivk@tutao.de>
2025-08-29 10:26:11 +02:00
vis
3d21da6e1c
Use ionicons people-sharp icon for Contacts 2025-08-07 10:05:58 +02:00
ivk
c451cf6a3c Reformat JS with Prettier 3.5.3
Co-authored-by: hrb-hub <hrb-hub@users.noreply.github.com>
2025-07-18 10:01:01 +02:00
paw
40b218027b Refactor element-specific behavior out of ListModel
We do not want ListModel to specifically only work on ListElement types,
or even element types in general. As such, we generalize it to a list of
some kind of elements with some kind of ID, even if these are not types
that would be stored remotely as part of the model.

Also renames entity/element to item for the ListModel.

Closes #8222

Co-authored-by: hrb-hub <181954414+hrb-hub@users.noreply.github.com>
2025-01-13 10:33:16 +01:00
vis
798aece42b
Remove support for LocalAdmin groups
tutadb#1834
2024-10-07 11:01:14 +02:00
jhm
e0ce2ac678 fix minor issues with new MailSet implementation after review #7429 2024-08-28 11:26:55 +02:00
nig
9fc3669a61 make OfflineStorage use base64Ext for storing customIds #7429
we now store custom id entities in the offline storage, which means we need to
make sure storing ranges and comparing ids works for them. in order to achieve
that, we decided to store the normally base64Url-encoded, not lexicographically
sortable ids in the sortable base64Ext format.

the Offline Storage needs to use the "converted" base64Ext ids internally everywhere
for custom id types, but give out ranges and entities in the "raw" base64Url format and
take raw ids as parameters.

to make this easier, we implement the conversion in the public CacheStorage::getRangeForList
implementation and use the private OfflineStorage::getRange method internally.
2024-08-27 17:16:27 +02:00
map
2d24bab6f9 MailSet support (static mail listIds)
In order to allow importing of mails we replace legacy MailFolders
(non-static mail listIds) with new MailSets (static mail listIds).
From now on, mails have static mail listIds and static mail elementIds.
To move mails between new MailSets we introduce MailSetEntries
("entries" property on a MailSet), which are index entries sorted by
the received date of the referenced mails (customId). This commit adds
support for new MailSets, while still supporting legacy MailFolders
(mail lists) to support migrating gradually.

* TutanotaModelV74 adds:
  * MailSet support
  * and defaultAlarmList on GroupSettings

* SystemModelV107 adds model changes for counter (unread mails) updates

* Adapt mail list to show MailSet and legacy mails
  The list model is now largely unaware about listIds since it can
  display mails from multiple MailBags. MailBags are static mailLists
  from which a mail is only removed from when the mail is permanently
  deleted.

* Adapt offline storage for mail sets
  Offline storage gained the ability to provide cached entities
  from a list of ids.
2024-08-20 16:19:58 +02:00
mup
b7d04d191b Adds RollUp config for Calendar build
This commit implements the production build script of Calendar's webapp.

Calendar app contains user management, so this commit also moves
settings page files that are related to it to the common chunk.
2024-07-29 14:44:19 +02:00
Renamed from src/mail-app/settings/UserListView.ts (Browse further)