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

chore: mb november 1st release #323

Merged
merged 118 commits into from
Dec 6, 2024
Merged

chore: mb november 1st release #323

merged 118 commits into from
Dec 6, 2024

Conversation

gaboesquivel and others added 30 commits April 9, 2024 06:37
* ✨ Added back button to thread details page

* ⚡️  changed char to svg
* ⚡️ added custom  error page

* ⚡️  clean up
…adata (#215)

* feat: added og api endpoint

* feat: design og image for dark mode

* fix: file formated

* fix: amend  og image to pick current theme color and adapt

* feat: added custom metadata to thread page

* feat: added custom metadata to bot page

* fix: clean up

* fix: move bg to a component

* fix: move og-image design  to a component

* fix: use variable for URL

* fix: to slug func

* ⚡️ Move and clean up UrlToSlug

* fix(masterbots.ai): zod dependecy

* fix: type error

* fix: type error for metadata

* fix: clean and build fix

---------

Co-authored-by: Roberto Lucas <[email protected]>
* fix: og to render first letter of username if there's no avatar

* fix: clean up

* fix: clean up
* feat: create action.ts

* fix: upt share button

* fix: add axios module

* fix: add resend module

* fix: update vercel env config

* fix: split share function

* fix: update share component

* [coderabbitai] style: upt thread-user-actions condition

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Roberto Lucas <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat: add get_free_month column to user table

* feat: create referral table

* feat: add is_blocked column to user table

* feat: add pro_user_subscription_id  column to user table

* fix: upt metadata

* fix: update relationship name
* feat: create 'models' table AI models

* fix: add 'model' column to 'thread' table with foreign key constraint

* feat: add model_value into models
* [masterbots.ai]feat:(multimodels-integration)add actions - helpers - routes

* [masterbots.ai]feat:(multimodels-integration)add NextTopLoader

* [masterbots.ai]feat:(multimodels-integration)add NextTopLoaders

* [masterbots.ai]feat:(multimodels-integration)add new chat components

* [masterbots.ai]chore:next version

* [masterbots.ai]feat:(multimodels-integration)update use context

* [masterbots.ai]feat:(multimodels-integration)icons update

* [masterbots.ai]chore:command ui

* [masterbots.ai]refactor:moving chat componets to folder

* [masterbots.ai]feat:env checker

* [masterbots.ai]feat:env guard
* fix-guards + dom warning

* fix-rename env var - vercel name
* fix: update terms

* fix:  building error

* fix: update terms content

* fix: rm the older part at the bottom
* feat: added free card

* feat: added animation to the plan card

* feat: added more plan card and referral code link

* fix: clean up

* wip: wizard

* feat: wizard & modal

* feat: plan Design theme and modal Header and Footer

* feat: plan clean up

* update

* clean up

* fix: rm plan comp on browse page

* fix: wizard clean up

* feat: succes & error modal

* feat: loading comp

* feat: added checkout comp

* feat: set up stripe and context

* wip: implementing subscription

* feat: implementing subscription

* feat: payment reciept

* fix: clean up receipt

* fix: modal not showing & shallow routing

* fix: small fix

* fix: receipt comp

* fix: clean up

* fix: shallow rerouting

* feat: check if user has an active subscription

* fix: coderabbit ob

* fix: coderabbit ob

* fix: coderabbit clean up update

* fix: coderabbit clean up update

* fix: coderabbit clean up update

* fix: clean up

* fix: clean up

* fix: page restructuring and status on the receipt

* fix: revamp receipt and structure

* fix: rm unused file

* fix: clean up

* fix: update & clean up

* fix: update

* fix: rm the svg

* fix: revamp formatSystemPrompts

* fix: revamp msg to formatSystemPrompts

* fix:  update

* fix:  refactor the receipt page

* fix: rm public key

* fix: update

* fix: update

* fix: update

* fix: code refactor for error and loading rendering

* ref: calling  secret keys from server

* ref: receipt page and small fix

* fix: rm file

* fix(impr): subs & flow ux + cleanup

* fix(masterbots.ai): OG not redering   (#224)

* fix: og to render first letter of username if there's no avatar

* fix: clean up

* fix: clean up

* fix(masterbots.ai): share function (#225)

* feat: create action.ts

* fix: upt share button

* fix: add axios module

* fix: add resend module

* fix: update vercel env config

* fix: split share function

* fix: update share component

* [coderabbitai] style: upt thread-user-actions condition

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Roberto Lucas <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat(hasura): update user db schema for pro users (#227)

* feat: add get_free_month column to user table

* feat: create referral table

* feat: add is_blocked column to user table

* feat: add pro_user_subscription_id  column to user table

* fix: upt metadata

* fix: update relationship name

* feat(hasura): add Ai Model Tracker To Threads (#229)

* feat: create 'models' table AI models

* fix: add 'model' column to 'thread' table with foreign key constraint

* feat: add model_value into models

* [masterbots.ai] feat: multi AI models integration (#228)

* [masterbots.ai]feat:(multimodels-integration)add actions - helpers - routes

* [masterbots.ai]feat:(multimodels-integration)add NextTopLoader

* [masterbots.ai]feat:(multimodels-integration)add NextTopLoaders

* [masterbots.ai]feat:(multimodels-integration)add new chat components

* [masterbots.ai]chore:next version

* [masterbots.ai]feat:(multimodels-integration)update use context

* [masterbots.ai]feat:(multimodels-integration)icons update

* [masterbots.ai]chore:command ui

* [masterbots.ai]refactor:moving chat componets to folder

* [masterbots.ai]feat:env checker

* [masterbots.ai]feat:env guard

* docs: site map diagram

* feat: set up stripe and context

* wip: implementing subscription

* fix: rm the svg

* fix: replace secret with variable

* fix: chat restructure

* fix(update): chat restructure

* fix(deployment error): can't find an  icon or not exported

* fix: deployment issues

* fix: deployment issues

* fix: deployment issues

* fix: adjust design

* fix: clean up

* fix: clean up

* fix: color var updaye

* [coderabbitai] impr: update apps/masterbots.ai/components/stripe-element.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* [coderabitai] impr: update apps/masterbots.ai/components/succes-content.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: success close button

* fix: bg image for yearly card

* fix: move func to util

* ref: receipt page function to use reac-use

* fix: move depencies to the app

* fix: clean up

* ref: wizard to use radix dialog components

* update

* fix: coderabitai update

---------

Co-authored-by: Roberto Lucas <[email protected]>
Co-authored-by: Nathanael Liu <[email protected]>
Co-authored-by: Roberto Lucas <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Brandon Fernández <[email protected]>
* fix-guards + dom warning

* fix-rename env var - vercel name

* fix-changed PERPLEXITY-LLama model
* fix(UI):varius UI fixes

* fix(UI):varius UI fixes

* fix(UI): Tailwind class corrections, conflict resolution, text alignent to the left

* fix(UI):update
* fix: make the dialog content responsive

* fix: free plan card adjusted

* fix: update

* fix: update receipt styles

* fix: build error

* fix: build error

* fix: build error update

* fix: update

* fix: observation
* feat: add redirection rules

* fix: update all links with new shorten urls

* fix: update all links with new shorten urls

* feat: make folder structure according to sitemap

* [coderabbitai] impr(masterbots.ai): update app/c/page.tsx error handling

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* [coderabbitai] impr(masterbots.ai): update app/c/[category]/[chatbot]/page.tsx error handling

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: build error

* [coderabbitai] impr(masterbots.ai): update app/c/[category]/[chatbot]/page.tsx error handling

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat: add sitemap and metagraph

* fix: use original generateMetadata

* fix: update page links

* fix: show only filtered threads on page reload

* fix: build error

---------

Co-authored-by: Roberto Lucas <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat: add 'disabled' state to ChatAccordion

* fix: show default question's answer in thread list

* fix: use braces and create explicit statement blocks
* update

* fix: update

* fix: responsiveness

* fix: update

* fix: few clean up

* fix: rm unused image

* fix: rm unused image
* impr(hasura): db tables

* impr(hasura): db tables

* fix(hasura): user permissions

* impr(hasura): sql models enum migration
AndlerRL and others added 6 commits November 22, 2024 17:21
* impr: web search tool call

* fix: colour values

* fix: typo

* impr: code suggestions

* fix: class name typo

* wip(fix): web search false positive response + webSearch context

* fix: web search callback

* fix: typo
* feat: user card

* fix: update

* merge develop && update

* feat: user generate bio & favourite  topic

* fix: update user card

* feat: added profile sidebar

* fix: update

* update

* update

* update

* fix: fetch approved and public threads

* fix: fetch approved and public threads

* update

* fix: clean up and update

* update

* make fetch user work with bio

* update

* update

* design updating

* update

* update

* fix: few changes

* update

* fix: design update

* fix: footer in layout

* fix: update

* fix:  resercation

* update

* profile upload

* feat: move the cloudinary key to env

* fix: layout

* fix: layout update
… & profile page (#313)

* update

* feat: added shallow link to the sidebar link

* update'

* fix: routing and content fetching

* fix:update on  routing

* fix:update

* update

* update

* update

* fix: clean up

* update

* update
* feat: new bot profile - chat

* chore: dev comments

* chore: white bg bot avatar

* feat: add skeleton bot profile
* feat:relocation of theme switch(jun)

* feat: create font-size accessibility provider(jun)

* feat: r-sidebar theme switcher relocation + skeleton

* feat: impr add rem instead px
* feat: create mb-drizzle package initial structure

* feat:(masterbots.ai) add drizzle endpoint + service

* chore: include database url

* chore: upt mb-drizzle

* feat: refactor drizzle config + generations

* chore: impr migrate

* chore: add working drizzle connection + migrations

* feat: add centralized actions

* chore: add ai review recomendations
@AndlerRL AndlerRL self-assigned this Dec 6, 2024
Copy link

vercel bot commented Dec 6, 2024

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

Name Status Preview Comments Updated (UTC)
masterbots ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 11:49am

Copy link
Contributor

coderabbitai bot commented Dec 6, 2024

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We failed to fetch the diff for pull request #323

You can try again by commenting this pull request with @sourcery-ai review, or contact us for help.

@AndlerRL AndlerRL merged commit 046825c into main Dec 6, 2024
2 checks passed
@AndlerRL
Copy link
Member Author

@coderabbitai create a product update document with all the changes pushed to the main branch. The product update document should:

Include product updates:

  1. Version tracking: A good document should allow you to record different software versions and their release dates to keep track of updates systematically.
  2. Change log: It should include a section to detail the changes made in each update, helping users understand what has been modified or improved.
  3. Impact assessment: Assessing the impact of each update on existing systems is vital. The document should have provisions to document this analysis.
  4. User feedback: A section dedicated to collecting and reviewing user feedback post-update can help in refining future updates.
  5. Given notes: Documents should follow the provided documents for the product updates and add them to their respective sections. This includes dates and/or unorganized lists with explanatory text (if any).

Avoid product updates:

  1. Overly complex layouts: Documents with too many sections or intricate designs can make it difficult to quickly find information or update statuses.
  2. Assuming data: documents should not have any assuming data. Review before completing the document.

Copy link
Contributor

coderabbitai bot commented Dec 16, 2024

Tip

For best results, initiate chat on the files or code changes.

@AndlerRL:

I've prepared the product update document as per your instructions.


Product Update Document

Version Tracking

  • Version: N/A (No release tags found)
  • Release Date: November 1st, 2024

Change Log

The following pull requests have been merged into the main branch:

Note: To avoid assuming data, I've listed the pull request numbers without titles or descriptions. If you provide the titles or summaries of these pull requests, I can update the change log accordingly.

Impact Assessment

An impact assessment requires detailed information about the changes introduced in each pull request. Once the change log is updated with the specific details, I can proceed to assess the impact on existing systems.

User Feedback

No recent user feedback was found since the last release.

Given Notes

Please provide any additional documents or notes related to the product updates, and I will include them in their respective sections.


Let me know if you'd like any revisions or additions to this document.

🔗 Analysis chain
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Get the latest release tag (assuming it's the latest tag)
LAST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
echo "Latest release tag: $LAST_TAG"

# Get the date of the latest release
LAST_TAG_DATE=$(git log -1 --format=%ai $LAST_TAG)
echo "Latest release date: $LAST_TAG_DATE"

# List commits since the last release
echo "Commits since last release:"
git log $LAST_TAG..HEAD --pretty=format:"- %h %ad | %s [%an]" --date=short

# List merged pull requests since the last release
echo "Merged Pull Requests since last release:"
gh pr list --state merged --base main --search "merged:>$LAST_TAG_DATE" --limit 100 --json number,title,mergedAt,author

# Placeholder for collecting user feedback (if any)
echo "Recent User Feedback:"
# Assuming feedback is collected via issues labeled 'feedback'
gh issue list --label feedback --search "created:>$LAST_TAG_DATE" --state all --limit 10 --json number,title,createdAt,author

Length of output: 662

@AndlerRL
Copy link
Member Author

@coderabbitai these are the summaries for each PR below:

PR #320

Integrate Drizzle ORM into the project to enhance database management capabilities. Implement new admin services and API for user management, including actions like blocking users and updating subscriptions. Update environment and docker-compose configurations to support the new database setup.

Release Notes

  • New Features

    • Enhanced error handling and validation for admin actions.
    • Introduced an adminApi for executing administrative actions with type safety.
    • New functions for user management, including blocking/unblocking users and updating subscriptions.
    • Added a structured approach for handling administrative actions with schema validation.
  • Bug Fixes

    • Improved robustness of API responses for various error scenarios.
  • Documentation

    • Updated configuration for database connection and added new schema definitions for user management.
  • Chores

    • Added environment variable for database connection in the Docker configuration.

PR #317

Add custom settings options including font size selection and theme toggling. Enhance accessibility by introducing an AccessibilityProvider to manage font size settings. Implement suspense with a fallback skeleton for the ProfileSidebar component to improve loading experience.

Release Notes

  • New Features

    • Introduced a font size selector for enhanced typography control.
    • Added a theme toggle feature to the user menu and profile sidebar.
    • Integrated an accessibility provider for managing font size preferences across the application.
  • User Experience Improvements

    • Implemented loading skeletons for the profile sidebar to improve loading visibility.
    • Enhanced header layout by removing the theme toggle from the header component.
    • Updated the UserLogin component to display a loading skeleton for the profile sidebar.
  • Bug Fixes

    • Fixed layout inconsistencies in the chat panel header and chat options.

These updates aim to improve usability, accessibility, and overall user experience within the application.

PR #314

Update the ChatChatbotDetails component with a new UI layout, including a card header, floating avatar, and enhanced description section. Refactor the component for improved readability and maintainability.

Release Notes

  • New Features

    • Improved user interface with a welcoming message in the card header.
    • Enhanced responsiveness and visual appeal of the component.
    • Added descriptive text to assist users in creating new threads.
    • Styled button for starting a new chat for better visual integration.
    • Introduced a new loading skeleton for the chatbot details interface.
  • Documentation

    • Expanded documentation detailing features like responsive design and theme support.
  • Refactor

    • Restructured the return statement for improved layout and styling.
    • Updated import paths for better modularity and organization.

PR #313

Release Notes

  • New Features

    • Enhanced sidebar navigation with improved thread toggle functionality, reflecting the current thread view in the browser's history.
    • Streamlined navigation process for categories and chatbots, allowing for smoother user interactions without full page reloads.
    • Introduced flexible user identification in the user thread panel, improving thread fetching based on user context.
  • Bug Fixes

    • Improved logic for managing thread visibility and loading states, ensuring a more responsive user experience.
  • Documentation

    • Updated internal documentation to reflect new navigation parameters and methods for better developer understanding.

PR #309

Add a new feature to enable web search within the chat interface and enhance the checkbox component to support custom settings. Update UI components to use muted colors for better visual consistency.

Release Notes

  • New Features

    • Introduced a web search feature with a toggle option in the chat panel.
    • Enhanced error handling and response processing in AI-related functions.
    • Updated response guidelines to allow format changes based on instructions.
    • Added support for custom rendering in the checkbox component.
  • Bug Fixes

    • Improved error reporting by throwing exceptions for web search tool failures.
  • Style

    • Updated visual styles across various components, including buttons, dropdowns, and menus, to ensure a consistent muted theme.

PR #306

Release Notes

Enhance the SEO capabilities of the application by updating the sitemap with new URLs and improving metadata descriptions. Include category names in Hasura service queries and truncate long responses in metadata generation for better SEO.

  • New Features

    • Enhanced sitemap functionality with new URLs for improved navigation.
    • Dynamic SEO descriptions for category pages, improving relevance and context.
  • Bug Fixes

    • Improved null safety across various functions to prevent runtime errors.
  • Documentation

    • Updated metadata handling to include truncated responses for better readability.
  • Chores

    • Enhanced GraphQL queries to include category names, improving data retrieval capabilities.
  • Documentation

    • Clarified type definitions and improved the structure of TypeScript interfaces related to web search functionality.

PR #304

Bug fixing the error with the search by implement a new search feature that enables searching within thread content, enhancing the browsing experience. Improve the search input component with dynamic placeholders and responsive design, and add visual feedback for search input focus.

Release Notes

  • New Features

    • Introduced a ThreadSearchProvider to enhance context management for thread searches.
    • Added search functionality to the BrowseListItem and BrowseList components, improving thread visibility based on user input.
    • Updated BrowseSearchInput for a more intuitive search experience with improved UI and state management.
    • Implemented loading skeletons (BrowseListSkeleton, ThreadItemSkeleton, NoResultsSkeleton) for better user feedback during data fetching.
    • Added a NoResults component to inform users when no search results are found.
    • Enhanced UserThreadPanel to manage thread visibility based on search input and loading states.
    • Introduced searchThreadContent function for improved thread filtering based on search terms.
  • Bug Fixes

    • Enhanced feedback for users with a "No results found" message in the BrowseList component.
  • Documentation

    • Updated comments and documentation for clarity throughout the components.

PR #303

Release Notes

  • New Features
    • Added a "Browse" navigation link to the header, accessible on larger screens.
    • Introduced a new button variant called "powerUp" with updated styling.
    • Implemented a "Power-Up" toggle feature in the chat panel header.
  • Improvements
    • Enhanced model selection logic in the chat combobox to ensure safe operations in production environments.
    • Added a new PowerUpProvider for managing power-up state across components.
  • Style
    • Updated dimensions of the switch component for better usability.

PR #302

Refactor chat components to improve code organization and state management, including separating message pair rendering into a new component and enhancing loading state handling. Update the regex in the web search tool for better JSON data matching.

Release Notes

  • New Features

    • Enhanced chat functionality with improved message handling and error management.
    • Introduced MessagePairs component for better organization of chat messages.
    • Added loading state indicators and improved user experience in chat components.
    • Enhanced web search tool with more precise JSON extraction and structured error messages.
    • Added ThreadPopUpCardHeader for better organization of thread popup functionality.
    • Introduced AiToolCall type to improve type safety for AI tool interactions.
    • Launched useMBChat hook for streamlined chat interactions and message management.
    • Added new anchor component for improved hyperlink handling in chat messages.
    • Updated ChatPanelHeader and ChatPanel for better loading state management.
    • Refactored Chat component and ThreadPopup for improved message processing and UI feedback.
    • Simplified BotThreadsPage and BrowseProBotPage components by removing unnecessary prompt formatting logic.
  • Bug Fixes

    • Improved error handling in the web search tool and chat components, ensuring clearer error messages.
  • Documentation

    • Updated descriptions and parameter details for AI tools to enhance clarity and usability.
  • Chores

    • Refined styling and layout of components for a more consistent and polished user interface.
    • Streamlined TypeScript configurations for better readability and updated ECMAScript targets.

PR #301

Improve the user interface and logic of the authentication forms by adding password visibility toggles and a password strength meter. Refactor email templates into a separate module for better code organization. Enhance the responsiveness and animations of authentication-related pages. Simplify and improve the ClickableText component logic and truncate long usernames in the user menu for better UI consistency.

Release Notes

  • New Features

    • Enhanced user experience with animated transitions on the Forgot Password, Reset Password, Sign In, and Sign Up pages.
    • Added password visibility toggle in Sign In and Sign Up forms for improved usability.
    • Introduced a Password Strength Meter to guide users in creating strong passwords.
    • Implemented a new email template generation system for password reset and verification emails.
    • Added a new function to truncate long usernames in the User Menu for better readability.
  • Improvements

    • Updated email handling to utilize dedicated functions for generating email templates, improving modularity.
    • Improved scroll management in the Browse Accordion component for mobile users.
    • Refined layout and responsiveness across various components, including adjustments to spacing and structure in BrowseChatbotDetails and BrowseUserDetails.
    • Streamlined the ChatPanel component for clearer disabled state conditions.
    • Enhanced the structure and styling of the ThreadPopup and ChatbotDetails components for better readability and user experience.
    • Updated the Sign In and Sign Up forms to improve layout and responsiveness.
    • Enhanced clickable text handling in the Chat component for better accessibility.
  • Bug Fixes

    • Streamlined error handling and validation processes across various forms.
  • Documentation

    • Added new interfaces and functions for better structure and clarity in email and password management.

PR #300

Implement a user profile page with a new 'Profile' link in the user menu and a 'UserCard' component to display user details.

Release Notes

  • New Features

    • Introduced a UserMenu for easy navigation to user profiles.
    • Added a Hero component for enhanced profile display.
    • Launched UserCard to showcase user details and interactions.
    • Implemented ProfileProvider for improved user profile management.
    • Added ProfileSidebar for better navigation within user profiles.
    • Introduced ThreadPage for viewing specific chat threads.
    • Enhanced NoResults component with loading state indication.
    • Added a new UserPersonalityPrompt function for generating user insights.
    • Introduced UserThreadList for displaying user-specific threads.
    • Enhanced BrowseChatMessageList with user prop for future flexibility.
    • Updated ChatChatbotDetails to conditionally render based on profile context.
    • Added support for image uploads to Cloudinary via a new hook.
    • Enhanced profile page layout with a new structured design.
  • Bug Fixes

    • Improved error handling for user data retrieval and session management.
  • Enhancements

    • Updated routing logic for user profiles and threads.
    • Enhanced loading states and user feedback mechanisms.
    • Added new properties to user-related interfaces for better data management.
    • Improved visibility management for sidebar components based on screen size.
    • Refined the structure of user data handling in authentication processes.
    • Expanded image handling capabilities by allowing SVGs from Cloudinary.
    • Enhanced user experience with improved session management and error handling.
  • Chores

    • Updated dependencies and improved internal documentation.

PR #299

Implement a thread list display feature and enhance the user interface by highlighting the active thread in browse and chat sections.

Release Notes

  • New Features

    • Introduced multiple new components: BrowseAccordion, BrowseCategoryButton, BrowseCategoryTabs, BrowseChatMessageList, BrowseChatMessages, BrowseChatbotDetails, BrowseSpecificThreadList, NewChat, PromptForm, SuccessContent, ShareLink, DateRangePicker, and ThreadList.
    • Enhanced chat functionality with a new message list and category buttons for easier navigation.
    • Added date range selection for filtering threads.
    • Implemented sharing functionality for threads.
  • Improvements

    • Enhanced documentation across components for better clarity.
    • Improved accessibility features and user experience through dynamic styling and feedback mechanisms.
  • Bug Fixes

    • Streamlined state management and rendering logic for various components to ensure consistent behavior.
  • Refactor

    • Updated import statements for types to improve clarity and maintainability.
    • Refactored components to enhance readability and structure without changing functionality.

PR #298

Reorganize the navigation menu for mobile view by introducing a right-side sidebar for the user profile menu and moving main navigation items into it. Enhance the user experience by adding auto-close functionality for the sidebar and fixing logout context errors. Adjust the desktop header by removing 'Browse' and reorder navigation items for better accessibility.

  • Redesigned user profile menu to become a right-side sidebar in mobile view
  • Moved main navigation items (Chat, Pro, Browse, Ww) into the mobile sidebar
  • Reordered navigation: Chat > Pro > Browse > Ww
  • Removed "Browse" from desktop header, keeping it only in mobile sidebar
  • Added auto-close functionality when selecting navigation options
  • Fixed logout functionality to prevent context errors

Release Notes

  • New Features

    • Introduced a new ProfileSidebar component for enhanced user profile management and navigation.
    • Updated the UserLogin component to display the ProfileSidebar for authenticated users.
    • Added new button variants for the sidebar profile.
  • Improvements

    • Restructured the Header component for better navigation link organization on larger screens.
    • Adjusted the minimum width of dropdown menus for improved responsiveness.

These changes enhance user experience by streamlining navigation and profile management within the application.

PR #297

Release Notes

  • New Features

    • Enhanced user table with new array relationships: chats, followers, following, preferences, prompts, referrals, referralsByUserId, threads, and userTokens.
    • Introduced a new role, user, with specific insert permissions for the user table.
  • Bug Fixes

    • Reformatted existing followers relationship for consistency.
  • Documentation

    • Updated comments for clarity in the moderator role permissions.

PR #296

Update user permissions by adding select permissions for 'anonymous', 'moderator', and 'user' roles, and remove unnecessary array relationships and table includes.

Release Notes

  • New Features

    • Introduced new select permissions for anonymous, moderator, and user roles, enhancing data access based on user roles.
    • Users can now only update their own information, ensuring better privacy and security.
  • Bug Fixes

    • No changes were made to the existing insert and update permissions, ensuring stability in those areas.

PR #295

Introduce new tools for chatbots, including a web search tool and a chatbot metadata tool, to enhance their capabilities. Refactor code for consistency in string literals and improve error handling in AI processing functions.

Release Notes

  • New Features

    • Introduced a Skeleton component for loading states in UI.
    • Added support for ordered and unordered lists in markdown rendering.
    • Enhanced ChatPanelHeader with improved loading state management.
    • Implemented a new function generateShortLink for creating short links via the Dub.co API.
    • Added new asynchronous functions for chatbot and web search tool interactions.
    • Updated WordwareChat to include appVersion in prompt execution.
  • Bug Fixes

    • Improved error handling in various components, including ShareButton and PromptForm.
  • Documentation

    • Updated comments and code organization for clarity and maintainability.
  • Chores

    • Updated multiple dependencies to their latest versions for improved performance and security.

PR #294

Release Notes

  • New Features

    • Enhanced dark mode support for ChatOptions and ShareButton components.
    • Updated ShareButton to provide visual feedback during the sharing process with dynamic icons.
  • Bug Fixes

    • Improved null safety checks in the BrowseListItem component to prevent runtime errors.
  • Refactor

    • Streamlined ShareButton interface by removing unnecessary properties and updating its functionality.

Copy link
Contributor

coderabbitai bot commented Dec 17, 2024

Tip

For best results, initiate chat on the files or code changes.

@AndlerRL:

I've updated the product update document with the detailed summaries you've provided.


Product Update Document

Version Tracking

  • Version: N/A (No release tags found)
  • Release Date: November 1st, 2024

Change Log

PR #320: Integrate Drizzle ORM and Implement New Admin Services

  • New Features
    • Enhanced error handling and validation for admin actions.
    • Introduced an adminApi for executing administrative actions with type safety.
    • New functions for user management, including blocking/unblocking users and updating subscriptions.
    • Added a structured approach for handling administrative actions with schema validation.
  • Bug Fixes
    • Improved robustness of API responses for various error scenarios.
  • Documentation
    • Updated configuration for database connection and added new schema definitions for user management.
  • Chores
    • Added environment variable for database connection in the Docker configuration.

PR #317: Add Custom Settings and Enhance Accessibility

  • New Features
    • Introduced a font size selector for enhanced typography control.
    • Added a theme toggle feature to the user menu and profile sidebar.
    • Integrated an AccessibilityProvider for managing font size preferences across the application.
  • User Experience Improvements
    • Implemented loading skeletons for the profile sidebar to improve loading visibility.
    • Enhanced header layout by removing the theme toggle from the header component.
    • Updated the UserLogin component to display a loading skeleton for the profile sidebar.
  • Bug Fixes
    • Fixed layout inconsistencies in the chat panel header and chat options.

PR #314: Update ChatChatbotDetails Component UI

  • New Features
    • Improved user interface with a welcoming message in the card header.
    • Enhanced responsiveness and visual appeal of the component.
    • Added descriptive text to assist users in creating new threads.
    • Styled button for starting a new chat for better visual integration.
    • Introduced a new loading skeleton for the chatbot details interface.
  • Documentation
    • Expanded documentation detailing features like responsive design and theme support.
  • Refactor
    • Restructured the return statement for improved layout and styling.
    • Updated import paths for better modularity and organization.

PR #313: Enhance Sidebar Navigation and Thread Management

  • New Features
    • Enhanced sidebar navigation with improved thread toggle functionality, reflecting the current thread view in the browser's history.
    • Streamlined navigation for categories and chatbots, allowing for smoother user interactions.
    • Introduced flexible user identification in the user thread panel for improved thread fetching.
  • Bug Fixes
    • Improved logic for managing thread visibility and loading states.
  • Documentation
    • Updated internal documentation to reflect new navigation parameters and methods.

PR #309: Enable Web Search in Chat Interface

  • New Features
    • Introduced a web search feature with a toggle option in the chat panel.
    • Enhanced error handling and response processing in AI-related functions.
    • Updated response guidelines to allow format changes based on instructions.
    • Added support for custom rendering in the checkbox component.
  • Bug Fixes
    • Improved error reporting by throwing exceptions for web search tool failures.
  • Style
    • Updated visual styles across various components to ensure a consistent muted theme.

PR #306: Enhance SEO Capabilities

  • New Features
    • Enhanced sitemap functionality with new URLs for improved navigation.
    • Dynamic SEO descriptions for category pages.
  • Bug Fixes
    • Improved null safety across various functions.
  • Documentation
    • Updated metadata handling to include truncated responses for better readability.
  • Chores
    • Enhanced GraphQL queries to include category names.

PR #304: Implement Thread Content Search Feature

  • New Features
    • Introduced a ThreadSearchProvider for thread searches.
    • Added search functionality to improve thread visibility based on user input.
    • Implemented loading skeletons for better user feedback during data fetching.
    • Added a NoResults component to inform users when no search results are found.
  • Bug Fixes
    • Enhanced feedback for users with a "No results found" message.
  • Documentation
    • Updated comments and documentation for clarity.

PR #303: Add "Browse" Navigation and "Power-Up" Feature

  • New Features
    • Added a "Browse" navigation link to the header.
    • Introduced a new button variant called "powerUp" with updated styling.
    • Implemented a "Power-Up" toggle feature in the chat panel header.
  • Improvements
    • Enhanced model selection logic in the chat combobox.
    • Added a new PowerUpProvider for managing power-up state.
  • Style
    • Updated dimensions of the switch component for better usability.

PR #302: Refactor Chat Components

  • New Features
    • Enhanced chat functionality with improved message handling and error management.
    • Introduced MessagePairs component for better organization of chat messages.
    • Added loading state indicators in chat components.
    • Enhanced web search tool with more precise JSON extraction and structured error messages.
  • Bug Fixes
    • Improved error handling in the web search tool and chat components.
  • Documentation
    • Updated descriptions and parameter details for AI tools.
  • Chores
    • Refined styling and layout of components for consistency.

PR #301: Improve Authentication Forms and UI

  • New Features
    • Added password visibility toggles and a password strength meter.
    • Introduced animated transitions on authentication pages.
    • Implemented a new email template generation system.
    • Added a function to truncate long usernames in the User Menu.
  • Improvements
    • Updated email handling for better modularity.
    • Improved layout and responsiveness across various components.
    • Enhanced clickable text handling in the Chat component.
  • Bug Fixes
    • Streamlined error handling and validation processes.
  • Documentation
    • Added new interfaces and functions for email and password management.

PR #300: Implement User Profile Page

  • New Features
    • Introduced a UserMenu for navigation to user profiles.
    • Added a Hero component for profile display.
    • Launched UserCard to showcase user details.
    • Implemented ProfileProvider for profile management.
    • Added ProfileSidebar for navigation within user profiles.
    • Introduced ThreadPage for viewing specific chat threads.
    • Enhanced image handling with support for Cloudinary uploads.
  • Bug Fixes
    • Improved error handling for user data retrieval and session management.
  • Enhancements
    • Updated routing logic for user profiles and threads.
    • Enhanced loading states and user feedback mechanisms.
  • Chores
    • Updated dependencies and internal documentation.

PR #299: Implement Thread List Display Feature

  • New Features
    • Introduced components like BrowseAccordion, BrowseCategoryTabs, BrowseChatMessages, and ThreadList.
    • Enhanced chat functionality with a new message list and category buttons.
    • Added date range selection for filtering threads.
    • Implemented sharing functionality for threads.
  • Improvements
    • Enhanced documentation and accessibility features.
  • Bug Fixes
    • Streamlined state management and rendering logic.
  • Refactor
    • Updated import statements for clarity and maintainability.

PR #298: Reorganize Navigation Menu for Mobile View

  • New Features
    • Introduced a new ProfileSidebar component for mobile navigation.
    • Moved main navigation items into the mobile sidebar.
    • Added auto-close functionality when selecting navigation options.
  • Improvements
    • Restructured the Header component for better organization.
    • Adjusted the minimum width of dropdown menus for responsiveness.
  • Bug Fixes
    • Fixed logout functionality to prevent context errors.

PR #297: Enhance User Table Relationships and Permissions

  • New Features
    • Enhanced user table with new array relationships.
    • Introduced a new role, user, with specific insert permissions.
  • Bug Fixes
    • Reformatted existing followers relationship for consistency.
  • Documentation
    • Updated comments for clarity in role permissions.

PR #296: Update User Permissions

  • New Features
    • Introduced new select permissions for roles anonymous, moderator, and user.
    • Users can now only update their own information.
  • Bug Fixes
    • Ensured stability by maintaining existing insert and update permissions.

PR #295: Introduce New Tools for Chatbots

  • New Features
    • Introduced a Skeleton component for loading states.
    • Added support for ordered and unordered lists in markdown rendering.
    • Implemented a function generateShortLink for creating short links.
    • Added new asynchronous functions for chatbot and web search tool interactions.
  • Bug Fixes
    • Improved error handling in components like ShareButton and PromptForm.
  • Documentation
    • Updated comments and code organization.
  • Chores
    • Updated dependencies for improved performance and security.

PR #294: Enhance Dark Mode Support and UI Feedback

  • New Features
    • Enhanced dark mode support for ChatOptions and ShareButton.
    • Updated ShareButton to provide visual feedback during sharing.
  • Bug Fixes
    • Improved null safety checks in BrowseListItem.
  • Refactor
    • Streamlined ShareButton interface for better functionality.

Impact Assessment

User Feedback

No new user feedback has been collected since the last release. We recommend actively seeking user feedback post-release to identify any issues and areas for improvement.

Given Notes

  • The document incorporates the detailed summaries and release notes provided for each pull request.

Please let me know if you need any further revisions or additional information.

@AndlerRL
Copy link
Member Author

@coderabbitai reformat the product update according to this template below:

Example:

What’s shipping 🌟


  • Gamification Features: Implementation of points and level systems for Pro users is underway, rewarding interactions and task completions to enhance user engagement.
  • User Preferences: Development of user preferences settings is ongoing to enhance personalization.
  • Subscription Management: Working on subscription management systems for the Pro version.
  • Pro Version Development: Initial designs for the Pro version are ready, and development has commenced.

Announcements 📣


  • Testing Initiatives: Comprehensive regression testing and integration checks for all new features are underway to ensure system stability and performance.
  • Self-Hosting Research: Ongoing exploration into integrating an open-source large language model (LLM) for self-hosting, aiming to enhance scalability and customization options.

FYI’s 📌


  • Timeline Adjustments: To streamline progress, overlapping testing periods are being considered.
  • Assignee Responsibilities: Clear definitions of responsibilities for each feature update are being established to prevent delays.
  • Enhanced Reporting: Progress reports will be integrated into the roadmap to effectively track milestone achievements.
  • Future SEO Enhancements: Regional SEO strategies are being prioritized for better market penetration.

Copy link
Contributor

coderabbitai bot commented Dec 17, 2024

Tip

For best results, initiate chat on the files or code changes.

@AndlerRL:

Here's the product update reformatted according to your template:

Product Update

What’s shipping 🌟


Announcements 📣


  • Enhanced Permissions and Role Management: Updated user permissions by adding select permissions for anonymous, moderator, and user roles, and users can now only update their own information for improved security. (PRs Fix: build error #297 & Update user permission #296)
  • SEO Enhancements: Enhanced the SEO capabilities of the application by updating the sitemap with new URLs and improving metadata descriptions. (PR Improve seo sitemap #306)

FYI’s 📌



Please let me know if you need any further adjustments.


✏️ Learnings added
Learnt from: AndlerRL
URL: https://github.com/bitcashorg/masterbots/pull/323

Timestamp: 2024-12-17T02:59:26.675Z
Learning: Product update documents should be formatted according to the template provided, including sections: "What’s shipping 🌟", "Announcements 📣", and "FYI’s 📌".

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.

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.

10 participants