Lucas/t 366 on comment drawer when i have comments on the selected (#201)
* Fixed right drawer width and shared in theme * Added date packages and tooltip * Added date utils and tests * Added comment thread components * Fixed comment chip * Fix from rebase * Fix from rebase * Fix margin right * Fixed CSS and graphql
This commit is contained in:
@ -5,8 +5,8 @@ import { GraphqlQueryPerson } from '@/people/interfaces/person.interface';
|
||||
import { GraphqlQueryUser } from '@/users/interfaces/user.interface';
|
||||
|
||||
import {
|
||||
GetCompanyCountsQuery,
|
||||
GetPeopleCountsQuery,
|
||||
GetCompanyCommentsCountQuery,
|
||||
GetPeopleCommentsCountQuery,
|
||||
} from '../generated/graphql';
|
||||
|
||||
import { mockedCompaniesData } from './mock-data/companies';
|
||||
@ -98,15 +98,15 @@ export const graphqlMocks = [
|
||||
}),
|
||||
);
|
||||
}),
|
||||
graphql.query('GetPeopleCounts', (req, res, ctx) => {
|
||||
const mockedData: GetPeopleCountsQuery = {
|
||||
graphql.query('GetPeopleCommentsCount', (req, res, ctx) => {
|
||||
const mockedData: GetPeopleCommentsCountQuery = {
|
||||
people: [{ commentsCount: 12 }],
|
||||
};
|
||||
return res(ctx.data(mockedData));
|
||||
}),
|
||||
|
||||
graphql.query('GetCompanyCounts', (req, res, ctx) => {
|
||||
const mockedData: GetCompanyCountsQuery = {
|
||||
graphql.query('GetCompanyCommentsCount', (req, res, ctx) => {
|
||||
const mockedData: GetCompanyCommentsCountQuery = {
|
||||
companies: [{ commentsCount: 20 }],
|
||||
};
|
||||
return res(ctx.data(mockedData));
|
||||
|
||||
Reference in New Issue
Block a user