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

New Search and Profile Frontend #62

Merged
merged 61 commits into from
Jun 26, 2024
Merged

New Search and Profile Frontend #62

merged 61 commits into from
Jun 26, 2024

Conversation

saifullah-talukder
Copy link
Contributor

@saifullah-talukder saifullah-talukder commented Jun 20, 2024

Ignore all the changes that are not from the frontend folder. Those changes are from eng-179. Which is already merged.

  1. Implemented streaming for search response
  2. Implemented threads page
  3. Implemented profile settings page

Copy link

linear bot commented Jun 20, 2024

@saifullah-talukder saifullah-talukder changed the title [!WIP] New Search and Profile Frontend New Search and Profile Frontend Jun 24, 2024
Comment on lines +32 to +33
- name: AUTH_SECRET
value: 05mk7ukF/GSG1dHLYVp04Mxa49slQb2W3N9v1aMcRTM=
Copy link
Contributor

Choose a reason for hiding this comment

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

@AsmiKloud these kinds of secrets should probably be retrieved from our secret manager, right? :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I see some other ones here as well btw, like the posthog key.

frontend/src/app/search/page.tsx Show resolved Hide resolved
frontend/src/app/api/search/route.ts Outdated Show resolved Hide resolved
}

const text = decoder.decode(value, { stream: true })
const lines = text.split('\n').filter(Boolean)
Copy link
Contributor

Choose a reason for hiding this comment

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

True. There is also TextDecoderStream, so that we could decode during streaming and get strings directly.

frontend/src/types/search.ts Show resolved Hide resolved
@rathijitpapon rathijitpapon merged commit 031a263 into develop Jun 26, 2024
1 check passed
@rathijitpapon rathijitpapon deleted the eng-190 branch June 26, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants