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

Feature flags, experiments, UI improvements #33

Merged
merged 35 commits into from
Jan 29, 2024
Merged

Conversation

iansinnott
Copy link
Owner

Feature Flags

The app now includes feature flags. The main motivation here is to be able to ship experimental, potentially breaking changes without breaking the app for anyone. These experiements will be opt in until they seem stable enough to roll out without a flag.

screenshot_20240129063551@2x

Experiments

Along with the feature flags this PR creates a new experiments page with various things that might be of interest. The first experiment is browser-centric vector search over chat history.

UI Improvements

Small UI improvements. Most notably the controls in the chat window are more compact.

screenshot_20240129063908@2x
  • add dev page for experimenting
  • add transformers js for creating embeddings
  • dev tooling for vec db
  • update build script
  • add serach icon and focus state to thread searcher
  • vecdb initial experiment
  • update send icon
  • add feature flags
  • make command button persistent across pages, update styling
  • update github actions
  • update db dependencies
  • improve feature flags
  • add an actions menu item for the dev page
  • show schema name on migration failure
  • add a migration for supporting vec db
  • add vector search to the dev experiments page
  • obfuscate api key in debug logs
  • refactor vecDb to be available to the whole project
  • add progress component
  • fix bug in embedding where pipeline was loaded every call
  • add loading state to database import
  • add a button to get back to main app from sub pages
  • update vector store with progress, update vector search ui
  • update input styling
  • add experimental vector search page
  • update dev container styling to not interfere with layout
  • refactor feature flags and vector search page
  • add a stats page
  • update toast strategy
  • toast dependencies
  • update actions menu
  • replace posthog client id
  • make experimental tab more searchable
  • fix list item styling
  • fix overlap issue with dev container

I got feedback it was not obvious you could search your thread so
this attempts to make it more obvious
so that we can ship features that are not yet stable without affecting existing users.
also init feature flags first, but with a try catch
@iansinnott iansinnott merged commit 3a1ea7e into master Jan 29, 2024
1 check passed
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.

1 participant