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: prompt logging & AI feature preferences #2163

Open
wants to merge 33 commits into
base: ayush/2075
Choose a base branch
from

Conversation

jimniels
Copy link
Collaborator

@jimniels jimniels commented Jan 6, 2025

Feature

  • Allow users to turn AI-related features on or off at the team level (on by default)
    • Only can be turned on/off by team owners
  • Log user prompts

TODO

To Test

  • Team owners of a team can turn the setting on/off
  • Team viewers/editors cannot see the setting
  • ...

Other things included in this PR:

  • Preparations to update react-router to major version 7. This primarily means upgrading to the latest 6.x version and adding all the necessary feature flags. We can ship this, and in a future release, assuming we don't get any bugs, do the rest of what's necessary to upgrade to version 7. Note: react-router v7 will require node 20, so we'll have to make sure to make that update. While that really just means updating to node 20 for building the app, we also use node on the server and should upgrade that too while we're at it.
  • Support visiting /logout directly to log out of the app
  • Remove TEAM_DELETE and TEAM_BILLING_EDIT so now TEAM_MANAGE is inclusive of both of these, plus turning AI features on/off

@cla-bot cla-bot bot added the cla-signed label Jan 6, 2025
Copy link

vercel bot commented Jan 6, 2025

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

Name Status Preview Updated (UTC)
quadratic ✅ Ready (Inspect) Visit Preview Jan 10, 2025 5:38am

Copy link

qa-wolf bot commented Jan 6, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link
Contributor

github-actions bot commented Jan 6, 2025

Preview - Stack

✅ Preview stack created successfully.

🔗 URL: https://pr-2163.quadratic-preview.com

Copy link
Contributor

github-actions bot commented Jan 6, 2025

Preview - Build & Deploy Images

✅ Build images
✅ Deploy images

🕒 Last deployed: Jan 10, 2025 at 05:21 AM UTC

🔗 URL: https://pr-2163.quadratic-preview.com

@github-actions github-actions bot temporarily deployed to preview January 6, 2025 22:07 Destroyed
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-2163 January 6, 2025 22:09 Inactive
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.11%. Comparing base (4172c38) to head (57f3c67).

Additional details and impacted files
@@              Coverage Diff               @@
##           ayush/2075    #2163      +/-   ##
==============================================
- Coverage       91.11%   91.11%   -0.01%     
==============================================
  Files             296      296              
  Lines           62660    62660              
==============================================
- Hits            57093    57092       -1     
- Misses           5567     5568       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot temporarily deployed to preview January 6, 2025 22:19 Destroyed
@github-actions github-actions bot temporarily deployed to preview January 6, 2025 22:24 Destroyed
@jimniels jimniels added the build:wasm-opt:disabled Client is built with wasm-opt disabled. Good for quick UI / functionality testing without perf. label Jan 6, 2025
@github-actions github-actions bot temporarily deployed to preview January 6, 2025 22:29 Destroyed
@jimniels jimniels temporarily deployed to quadratic-api-dev-pr-2163 January 6, 2025 22:36 Inactive
@github-actions github-actions bot temporarily deployed to preview January 6, 2025 22:36 Destroyed
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-2163 January 7, 2025 06:55 Inactive
@github-actions github-actions bot temporarily deployed to preview January 7, 2025 06:55 Destroyed
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-2163 January 7, 2025 06:55 Inactive
@github-actions github-actions bot temporarily deployed to preview January 7, 2025 06:55 Destroyed
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-2163 January 7, 2025 07:53 Inactive
@github-actions github-actions bot temporarily deployed to preview January 7, 2025 07:53 Destroyed
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-2163 January 7, 2025 10:19 Inactive
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-2163 January 9, 2025 16:37 Inactive
@github-actions github-actions bot temporarily deployed to preview January 9, 2025 16:37 Destroyed
@jimniels jimniels temporarily deployed to quadratic-api-dev-pr-2163 January 9, 2025 21:50 Inactive
@github-actions github-actions bot temporarily deployed to preview January 9, 2025 21:50 Destroyed
@jimniels jimniels temporarily deployed to quadratic-api-dev-pr-2163 January 9, 2025 23:03 Inactive
@github-actions github-actions bot temporarily deployed to preview January 9, 2025 23:04 Destroyed
@jimniels jimniels temporarily deployed to quadratic-api-dev-pr-2163 January 9, 2025 23:16 Inactive
@github-actions github-actions bot temporarily deployed to preview January 9, 2025 23:17 Destroyed
@jimniels jimniels temporarily deployed to quadratic-api-dev-pr-2163 January 9, 2025 23:20 Inactive
@github-actions github-actions bot temporarily deployed to preview January 9, 2025 23:20 Destroyed
@jimniels jimniels temporarily deployed to quadratic-api-dev-pr-2163 January 9, 2025 23:24 Inactive
@github-actions github-actions bot temporarily deployed to preview January 9, 2025 23:24 Destroyed
@jimniels jimniels temporarily deployed to quadratic-api-dev-pr-2163 January 9, 2025 23:26 Inactive
@github-actions github-actions bot temporarily deployed to preview January 9, 2025 23:27 Destroyed
@davidkircos davidkircos temporarily deployed to quadratic-api-dev-pr-2163 January 10, 2025 04:08 Inactive
@github-actions github-actions bot temporarily deployed to preview January 10, 2025 04:08 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build:wasm-opt:disabled Client is built with wasm-opt disabled. Good for quick UI / functionality testing without perf. cla-signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants