Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IRIS-3791-create-reusable-component-for-search-results #351

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
71f38a8
feat: select all on lists
dhavaldodiya Feb 20, 2023
6f57ae7
chore: save progress
giuliano176 Mar 27, 2023
30d0cbc
chore: merged devel into branch
giuliano176 Mar 27, 2023
0093f23
Merge remote-tracking branch 'origin/devel' into IRIS-3791-create-reu…
gnekoz Mar 28, 2023
4089a54
feat: added message actions features
giuliano176 Mar 31, 2023
c62ae3b
test: messages' primary actions visibility tests added
gnekoz Mar 31, 2023
7459126
perf: improve performance by using snackbar bridged function
giuliano176 Mar 31, 2023
0641d6c
chore: merge from origin
gnekoz Mar 31, 2023
edc0e98
chore: merge from origin
gnekoz Mar 31, 2023
0a0ec7c
fix: fix hovering of actions behavior
giuliano176 Apr 2, 2023
957a7b0
fix: graphical changes to multi selection
giuliano176 Apr 2, 2023
aa344a5
merge devel into branch
giuliano176 Apr 4, 2023
490e2dd
added tests for secondary actions
giuliano176 Apr 4, 2023
298f142
chore: clean up code
giuliano176 Apr 4, 2023
e06cfb7
test: message list test added
gnekoz Apr 5, 2023
b040718
fix: fix broken imports
giuliano176 Apr 5, 2023
84221f9
fix: fix routing when click on conversation message
giuliano176 Apr 5, 2023
ba84c76
fix: fixed typing of multiple seletion actions
giuliano176 Apr 7, 2023
906955f
chore: merge devel into branch
giuliano176 Apr 7, 2023
f97c6c6
chore: updated commons
giuliano176 Apr 7, 2023
0dcdcab
chore: save progress
giuliano176 Apr 11, 2023
75283fc
test: progress save
gnekoz Apr 11, 2023
5e87dcf
fix: fix behavior of read unread actions
giuliano176 Apr 11, 2023
a7af228
test: message list item tests added
gnekoz Apr 11, 2023
fdc5316
Merge remote-tracking branch 'refs/remotes/origin/IRIS-3791-create-re…
gnekoz Apr 11, 2023
0a3cc53
refactor: moved a styled component definition to avoid warnings
gnekoz Apr 12, 2023
e137e99
test: conversation list component test added
gnekoz Apr 12, 2023
f9e74d9
chore: updated commons
giuliano176 Apr 12, 2023
bb69a43
fix: fix trash test in conversation primary actions
giuliano176 Apr 13, 2023
ead6b42
chore: clean up code
giuliano176 Apr 13, 2023
c32af7e
feat: added more secondary actions tests
giuliano176 Apr 15, 2023
f034a0a
fix: added translation to badge folder names in message list
giuliano176 Apr 17, 2023
33a6bff
test: conversation participants display test
gnekoz Apr 17, 2023
7ece5f0
chore: merge from devel
gnekoz Apr 17, 2023
b9eafe8
chore: merge from origin
gnekoz Apr 17, 2023
5188842
test: fixed draft cases
gnekoz Apr 19, 2023
b193e2d
fix: fix hover color on list items
giuliano176 Apr 20, 2023
2026537
Merge branch 'devel' into IRIS-3791-create-reusable-component-for-sea…
giuliano176 Apr 20, 2023
a188457
chore: clean up code
giuliano176 Apr 20, 2023
bfc3dd8
fix: converted color select from jsx to tsx
giuliano176 Apr 20, 2023
12c9a9e
fix: fixed color select translation
giuliano176 Apr 20, 2023
02b800a
fix: fix color label description in color select
giuliano176 Apr 20, 2023
bf65977
test: add tests for search message and conversation list
gnekoz Apr 20, 2023
186ba13
test: disable a test case
gnekoz Apr 20, 2023
8744738
chore: merge from origin
gnekoz Apr 20, 2023
2b86245
chore: add documentation
gnekoz Apr 20, 2023
6830f42
chore: merge from devel and conflicts resolution
gnekoz Apr 20, 2023
71e2a3d
chore: clean up code
giuliano176 Apr 21, 2023
a4bb211
chore: updated commons version
giuliano176 Apr 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 0 additions & 88 deletions src/commons/actions-context.tsx

This file was deleted.

4 changes: 1 addition & 3 deletions src/commons/mail-message-renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import React, {
import { Trans } from 'react-i18next';
import styled from 'styled-components';
import { ParticipantRole } from '../carbonio-ui-commons/constants/participants';
import { EditorAttachmentFiles, MailMessage, MailMessagePart, Participant } from '../types';
import type { EditorAttachmentFiles, MailMessage, MailMessagePart, Participant } from '../types';

import { getOriginalContent, getQuotedTextOnly } from './get-quoted-text-util';
import { isAvailableInTrusteeList } from './utils';
Expand Down Expand Up @@ -461,8 +461,6 @@ const MailMessageRenderer: FC<{ mailMsg: MailMessage; onLoadChange: () => void }
mailMsg,
onLoadChange
}) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
const parts = findAttachments(mailMsg.parts ?? [], []);

useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/commons/preview-eml/get-actions-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { t } from '@zextras/carbonio-shell-ui';
import { map } from 'lodash';
import { MailMessage } from '../../types';
import type { MailMessage } from '../../types';
import { getAttachmentsDownloadLink } from '../../views/app/detail-panel/preview/utils';

export const getActionsRow = ({ msg }: { msg: MailMessage }): string => `
Expand Down
2 changes: 1 addition & 1 deletion src/commons/preview-eml/get-attachments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { find, map } from 'lodash';
import { DefaultTheme } from 'styled-components';
import { MailMessage } from '../../types';
import type { MailMessage } from '../../types';
import { humanFileSize } from '../../views/app/detail-panel/preview/file-preview';
import { getAttachmentIconColors } from '../../views/app/detail-panel/preview/utils';
import { getFileExtension } from '../utilities';
Expand Down
2 changes: 1 addition & 1 deletion src/commons/preview-eml/get-eml-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { filter, forEach, isEmpty, map, reduce } from 'lodash';
import { DefaultTheme } from 'styled-components';
import { MailMessage } from '../../types';
import type { MailMessage } from '../../types';
import {
findAttachments,
plainTextToHTML,
Expand Down
2 changes: 1 addition & 1 deletion src/commons/preview-eml/get-eml-header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { filter } from 'lodash';
import moment from 'moment';
import { DefaultTheme } from 'styled-components';
import { MailMessage } from '../../types';
import type { MailMessage } from '../../types';
import { getAvatarLabel } from '../useGetAvatarLabel';
import { banner } from './banner';
import { getActionsRow } from './get-actions-row';
Expand Down
2 changes: 1 addition & 1 deletion src/commons/preview-eml/get-participant-header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { map } from 'lodash';
import { Participant } from '../../types';
import type { Participant } from '../../types';

export const getParticipantHeader = (participants: Participant[], type: string): string => {
const participantsList = map(
Expand Down
3 changes: 2 additions & 1 deletion src/commons/utilities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
*/
import { isNil } from 'lodash';
import { DefaultTheme } from 'styled-components';
import { AttachmentPart, EditorAttachmentFiles } from '../types';
import type { EditorAttachmentFiles } from '../types/editor';
import type { AttachmentPart } from '../types/messages';

const FileExtensionRegex = /^.+\.([^.]+)$/;

Expand Down
2 changes: 1 addition & 1 deletion src/commons/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import moment from 'moment';
import { find, isArray } from 'lodash';
import { Account, t } from '@zextras/carbonio-shell-ui';
import { Participant } from '../types';
import type { Participant } from '../types';

export const getTimeLabel = (date: number): string => {
const momentDate = moment(date);
Expand Down
Loading