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: sharing endpoints #1034

Merged
merged 14 commits into from
Jul 16, 2024
Merged

Feat: sharing endpoints #1034

merged 14 commits into from
Jul 16, 2024

Conversation

ManishMadan2882
Copy link
Collaborator

@ManishMadan2882 ManishMadan2882 commented Jul 8, 2024

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

    Backend

    • Create endpoint for public, read-only conversations sharing
    • api/shared_conversation/<conversation_id> fetches the shared conversation queries from the DBRef in the shared_conversations collection.
    • /api/share?isPromptable=<true/false> creates a new document in shared_conversations collection

    Frontend

    • Added menu in conversation tiles with options: share, rename, delete
    • Modal for Sharing the conversation, that fetches the identifier for newly shared conversation
    • Added new page in the App.tsx for /share/:identifier route, that contains static conversation that is only readable
    • Updated the i18n translations.
  • Why was this change needed? (You can also link to an open issue here)
    New feature to share conversations

Copy link

vercel bot commented Jul 8, 2024

@ManishMadan2882 is attempting to deploy a commit to the Arc53 Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

codecov bot commented Jul 13, 2024

Codecov Report

Attention: Patch coverage is 17.77778% with 37 lines in your changes missing coverage. Please review.

Project coverage is 21.78%. Comparing base (7175bc0) to head (efd4301).
Report is 5 commits behind head on main.

Files Patch % Lines
application/api/user/routes.py 17.77% 37 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1034      +/-   ##
==========================================
- Coverage   21.83%   21.78%   -0.05%     
==========================================
  Files          80       80              
  Lines        3645     3690      +45     
==========================================
+ Hits          796      804       +8     
- Misses       2849     2886      +37     

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

Copy link

vercel bot commented Jul 15, 2024

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

Name Status Preview Comments Updated (UTC)
docs-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2024 11:00pm

Copy link
Contributor

@dartpain dartpain left a comment

Choose a reason for hiding this comment

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

Amazing PR!
Thank you!

@dartpain dartpain merged commit bacd2a6 into arc53:main Jul 16, 2024
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants