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

feat: remove onboarding's feature flag #1501

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

matthieujacq
Copy link
Contributor

Description

US: #1490

@matthieujacq matthieujacq added the area: frontend Related to frontend functionality or under the /frontend directory label Oct 26, 2023
@matthieujacq matthieujacq self-assigned this Oct 26, 2023
@matthieujacq matthieujacq temporarily deployed to preview October 26, 2023 12:14 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Oct 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2023 0:20am
quivr-strapi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2023 0:20am
quivrapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2023 0:20am

@github-actions
Copy link
Contributor

Risk Level 2 - /home/runner/work/quivr/quivr/frontend/lib/hooks/useOnboarding.ts

The changes in this file seem to be safe. However, the chatId variable is being used without checking if it is undefined. This could potentially lead to a runtime error. Consider adding a null check for chatId.

const shouldDisplayOnboardingAInstructions =
chatId !== undefined && shouldDisplayWelcomeChat;

This will ensure that shouldDisplayOnboardingAInstructions is not undefined if chatId is undefined. There are no secrets or API keys exposed in the code.


Risk Level 2 - /home/runner/work/quivr/quivr/frontend/app/chat/[chatId]/components/ChatDialogueArea/ChatDialogue.tsx

The changes in this file seem to be safe. However, the useOnboarding hook is being used without checking if it returns a valid object. This could potentially lead to a runtime error if the hook does not return an object. Consider adding a null check for the useOnboarding hook.

const { isOnboarding } = useOnboarding() || {};

This will ensure that isOnboarding is not undefined if useOnboarding does not return an object.


🔍🐛🔧


Powered by Code Review GPT

@mamadoudicko mamadoudicko merged commit 202daac into main Oct 26, 2023
11 checks passed
mamadoudicko pushed a commit that referenced this pull request Oct 30, 2023
🤖 I have created a release *beep* *boop*
---


## 0.0.99 (2023-10-27)

## What's Changed
* fix: minor fixes by @gozineb in
#1499
* feat: remove onboarding's feature flag by @matthieujacq in
#1501
* feat: update form content on magic link auth request by @mamadoudicko
in #1502
* feat: remove legacy header and footer by @matthieujacq in
#1509
* fix: black horizontal line sometimes appearing below section by
@matthieujacq in #1510
* Improve readme.md by @ankur0904 in
#1511
* refactor(settings tab): extract components by @gozineb in
#1335
* fix: hidden video playing automatically on iphone by @matthieujacq in
#1514

## New Contributors
* @ankur0904 made their first contribution in
#1511

**Full Changelog**:
v0.0.98...v0.0.99

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
coolCatalyst added a commit to coolCatalyst/quivr that referenced this pull request Jun 1, 2024
🤖 I have created a release *beep* *boop*
---


## 0.0.99 (2023-10-27)

## What's Changed
* fix: minor fixes by @gozineb in
QuivrHQ/quivr#1499
* feat: remove onboarding's feature flag by @matthieujacq in
QuivrHQ/quivr#1501
* feat: update form content on magic link auth request by @mamadoudicko
in QuivrHQ/quivr#1502
* feat: remove legacy header and footer by @matthieujacq in
QuivrHQ/quivr#1509
* fix: black horizontal line sometimes appearing below section by
@matthieujacq in QuivrHQ/quivr#1510
* Improve readme.md by @ankur0904 in
QuivrHQ/quivr#1511
* refactor(settings tab): extract components by @gozineb in
QuivrHQ/quivr#1335
* fix: hidden video playing automatically on iphone by @matthieujacq in
QuivrHQ/quivr#1514

## New Contributors
* @ankur0904 made their first contribution in
QuivrHQ/quivr#1511

**Full Changelog**:
QuivrHQ/quivr@v0.0.98...v0.0.99

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Dream528 added a commit to Dream528/quivr that referenced this pull request Jul 28, 2024
🤖 I have created a release *beep* *boop*
---


## 0.0.99 (2023-10-27)

## What's Changed
* fix: minor fixes by @gozineb in
QuivrHQ/quivr#1499
* feat: remove onboarding's feature flag by @matthieujacq in
QuivrHQ/quivr#1501
* feat: update form content on magic link auth request by @mamadoudicko
in QuivrHQ/quivr#1502
* feat: remove legacy header and footer by @matthieujacq in
QuivrHQ/quivr#1509
* fix: black horizontal line sometimes appearing below section by
@matthieujacq in QuivrHQ/quivr#1510
* Improve readme.md by @ankur0904 in
QuivrHQ/quivr#1511
* refactor(settings tab): extract components by @gozineb in
QuivrHQ/quivr#1335
* fix: hidden video playing automatically on iphone by @matthieujacq in
QuivrHQ/quivr#1514

## New Contributors
* @ankur0904 made their first contribution in
QuivrHQ/quivr#1511

**Full Changelog**:
QuivrHQ/quivr@v0.0.98...v0.0.99

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: frontend Related to frontend functionality or under the /frontend directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants