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

fix(chat): change public filter (Issue #2915) #2997

Closed
wants to merge 20 commits into from
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
753a8ec
chore(chat): add `bypass_ort`
IlyaBondar Dec 10, 2024
0612dd7
use ort_version: 42.1.0
IlyaBondar Dec 10, 2024
44872fc
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 12, 2024
9e979d7
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 12, 2024
9e185f6
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 12, 2024
96a239a
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 13, 2024
ae2825c
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 15, 2024
1677ee5
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 20, 2024
71cd3fa
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 25, 2024
88202b9
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 26, 2024
54d0f31
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Dec 27, 2024
cc97dd8
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Jan 3, 2025
c7d7ca8
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Jan 3, 2025
f8f705d
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Jan 7, 2025
2730576
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Jan 8, 2025
5be6ecf
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Jan 21, 2025
6f6ec43
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Jan 22, 2025
dc56e53
Merge branch 'development' of https://github.com/epam/ai-dial-chat in…
Derikyan Jan 23, 2025
2e94737
fix(chat): change public filter (Issue #2915)
Derikyan Jan 23, 2025
72379b5
Merge branch 'development' into fix/2915-share-applications
Derikyan Jan 23, 2025
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
8 changes: 5 additions & 3 deletions apps/chat/src/components/Marketplace/TabRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import { useCallback, useMemo, useState } from 'react';

import { useTranslation } from 'next-i18next';

import { getApplicationType } from '@/src/utils/app/application';
import {
getApplicationType,
isApplicationPublic,
} from '@/src/utils/app/application';
import { groupModelsAndSaveOrder } from '@/src/utils/app/conversation';
import { getFolderIdFromEntityId } from '@/src/utils/app/folders';
import { getRootId } from '@/src/utils/app/id';
import { isEntityIdPublic } from '@/src/utils/app/publications';
import { doesEntityContainSearchTerm } from '@/src/utils/app/search';
import { translate } from '@/src/utils/app/translation';
import { ApiUtils } from '@/src/utils/server/api';
Expand Down Expand Up @@ -289,7 +291,7 @@ export const TabRenderer = ({ screenState }: TabRendererProps) => {
getRootId({ featureType: FeatureType.Application }),
)) ||
(selectedFilters[FilterTypes.SOURCES].includes(SourceType.Public) &&
isEntityIdPublic(entity))
isApplicationPublic(entity))
: true),
);

Expand Down
Loading