feat: add creation date to notes panel (#5432)

## Description

Adds a view for creation date and author to notes and tasks panel. Here
is a preview of the new `ActivityCreationDate` component:


![image](https://github.com/twentyhq/twenty/assets/36916632/8adfa584-5f0c-464a-9d69-753f89c19c28)

Closes #5424

### Type of change

<!-- Please delete options that are not relevant. -->

- [x] New feature (non-breaking change which adds functionality)

## Checklist

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Fabio Nettis
2024-05-16 17:09:46 +02:00
committed by GitHub
parent f31b2c2963
commit a75eb0a569
5 changed files with 67 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import { useLocation, useNavigate } from 'react-router-dom';
import { useRecoilValue, useSetRecoilState } from 'recoil';
import { IconCheckbox, IconInbox, IconSearch, IconSettings } from 'twenty-ui';
import { IconCheckbox, IconSearch, IconSettings } from 'twenty-ui';
import { CurrentUserDueTaskCountEffect } from '@/activities/tasks/components/CurrentUserDueTaskCountEffect';
import { currentUserDueTaskCountState } from '@/activities/tasks/states/currentUserTaskCountState';
@@ -36,12 +36,6 @@ export const MainNavigationDrawerItems = () => {
onClick={toggleCommandMenu}
keyboard={['⌘', 'K']}
/>
<NavigationDrawerItem
label="Inbox"
to="/inbox"
Icon={IconInbox}
soon
/>
<NavigationDrawerItem
label="Settings"
onClick={() => {