Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7c4f8e5
feat: add new searchbox - initial setup
g-francesca Jun 24, 2025
e4d0c1d
style: search button
g-francesca Jun 24, 2025
086dd84
style: searchbox empty state
g-francesca Jun 25, 2025
8451f80
style: modal search
g-francesca Jun 25, 2025
8ecdf9e
style: prompt wrapper
g-francesca Jun 26, 2025
6ac3d65
fix: layout sliding panel
g-francesca Jun 26, 2025
87db2f9
style: chat sources
g-francesca Jun 26, 2025
40ea1c8
refactor: search component
g-francesca Jul 1, 2025
31273fd
feat: add translations for search component
g-francesca Jul 3, 2025
31e2db8
update orama core and update logo
aileenvl Jul 9, 2025
2a22940
update sync
aileenvl Jul 9, 2025
65ecd9f
update pnpm-lock
aileenvl Jul 9, 2025
834636f
Update apps/site/components/Common/Searchbox/Chat.tsx
aileenvl Jul 10, 2025
f088203
Update apps/site/components/Common/Searchbox/Chat.tsx
aileenvl Jul 10, 2025
3d582dd
Update apps/site/components/Common/Searchbox/Search.tsx
aileenvl Jul 10, 2025
b1fff6a
Update apps/site/components/Common/Searchbox/Search.tsx
aileenvl Jul 10, 2025
e09fa32
Update apps/site/components/Common/Searchbox/Search.tsx
aileenvl Jul 10, 2025
d37297f
fix height and pr comments
aileenvl Jul 10, 2025
954ee99
Merge branch 'main' of https://github.com/oramasearch/nodejs.org
aileenvl Jul 10, 2025
ff59f5b
fix import and add directories for Search and Chat
aileenvl Jul 10, 2025
8d7657e
update icon and orama ui components
aileenvl Jul 18, 2025
43c56bd
rollback translation changes
aileenvl Jul 18, 2025
83a0c1b
update on datasource and ui components
aileenvl Aug 20, 2025
f4e51bf
update env variables
aileenvl Aug 20, 2025
242c667
pr comments and facets added
aileenvl Aug 21, 2025
535d6a8
pr comments
aileenvl Aug 21, 2025
992f1fe
fixes in styles and facets
aileenvl Aug 22, 2025
d73687a
facets search fix
aileenvl Aug 23, 2025
e7a64b9
push facets query fix
aileenvl Aug 23, 2025
dbd4637
feat: adds filters to search
micheleriva Aug 23, 2025
aab05d1
Merge branch 'main' of github.com:oramasearch/nodejs.org
micheleriva Aug 23, 2025
5a7c885
fix facet count
aileenvl Aug 23, 2025
7aa8350
reset searchTerm
aileenvl Aug 23, 2025
89d9d71
old logo
aileenvl Aug 23, 2025
80065bf
fix mobile search
aileenvl Aug 23, 2025
78c4f3f
chat mobile
aileenvl Aug 23, 2025
29f2faf
mobile enhacements
aileenvl Aug 23, 2025
4892e1d
fix blur
aileenvl Aug 26, 2025
db4f272
env variables and dispatcher
aileenvl Aug 26, 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
145 changes: 0 additions & 145 deletions apps/site/components/Common/Search/index.tsx

This file was deleted.

60 changes: 0 additions & 60 deletions apps/site/components/Common/Search/utils.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.chatActionsContainer {
@apply flex;
@apply items-center;
@apply justify-end;
@apply pt-2;
Comment on lines +2 to +5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can split utilities with ,
i.e.

  @apply flex,
    items-center;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this applies to all CSS files

}

.chatActionsList {
@apply flex;
@apply list-none;
@apply items-center;
@apply gap-2;
@apply p-0;
}

.chatAction {
@apply cursor-pointer;
@apply rounded-full;
@apply p-2;
@apply text-neutral-800;
@apply transition-colors;
@apply duration-300;
@apply hover:bg-neutral-300;
@apply dark:text-neutral-400;
@apply dark:hover:bg-neutral-900;

svg {
@apply h-4;
@apply w-4;
}
}

.chatActionIconSelected {
@apply text-green-600;
@apply dark:text-green-400;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
'use client';

import {
DocumentCheckIcon,
ClipboardIcon,
ArrowPathIcon,
} from '@heroicons/react/24/solid';
import type { Interaction } from '@orama/core';
import { ChatInteractions } from '@orama/ui/components';
import type { FC } from 'react';

import styles from './index.module.css';

type ChatActionsProps = {
interaction: Interaction;
index: number;
totalInteractions: number;
};

export const ChatActions: FC<ChatActionsProps> = ({
interaction,
index,
totalInteractions,
}) => {
if (!interaction.response) return null;

return (
<div className={styles.chatActionsContainer}>
<ul className={styles.chatActionsList}>
{index === totalInteractions - 1 && (
<li>
<ChatInteractions.RegenerateLatest
className={styles.chatAction}
interaction={interaction}
>
<ArrowPathIcon />
</ChatInteractions.RegenerateLatest>
</li>
)}
<li>
<ChatInteractions.CopyMessage
className={styles.chatAction}
interaction={interaction}
>
{(copied: boolean) =>
copied ? (
<DocumentCheckIcon className={styles.chatActionIconSelected} />
) : (
<ClipboardIcon />
)
}
</ChatInteractions.CopyMessage>
</li>
</ul>
</div>
);
};
Loading