-
Notifications
You must be signed in to change notification settings - Fork 30
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(docx): Integrate triton to next gen docs #2373
Merged
taylorvnoj
merged 8 commits into
master
from
JOB-110161-integrate-triton-to-next-gen-docs
Feb 24, 2025
Merged
feat(docx): Integrate triton to next gen docs #2373
taylorvnoj
merged 8 commits into
master
from
JOB-110161-integrate-triton-to-next-gen-docs
Feb 24, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…1-integrate-triton-to-next-gen-docs
* create header component * accurate header width calculation * ToggleThemeButton into Header * align ToggleThemeButton to the right of the header * make sure nav menu aligns with header * border on the header * Header takes up the whole width * make sure only BaseView.Main scrolls with header on top * move top nav to be inside BaseView.Main * refactor Triton SideDrawer into its own component and created TritonContext * header styling * dont use box as main due to lack of boxShadow * make header responsive in minimal mode * fix eslint * overflow auto on main routed div * ask triton button styling * only rounded top corners of main content * fixed main content not growing * fix BaseView border radius * some layout/styling tweaks * add header to collection pages and make scrollbar inside the content * isolate blending to only content card wrapper * align nav with header * Renamed Header to TopNav * use Box instead of div --------- Co-authored-by: Chris Murray <[email protected]>
Deploying atlantis with
|
Latest commit: |
7c97aa2
|
Status: | ✅ Deploy successful! |
Preview URL: | https://48de527f.atlantis.pages.dev |
Branch Preview URL: | https://job-110161-integrate-triton.atlantis.pages.dev |
* Triton SideDrawer knows if ApiKey is valid or not via InputPassword * add validation message for wrong api key * stream hooked up, seeing questions and answers flowing in sidedrawer * fix layout of sidedrawer and update styling of questions * styling is where I want it * links are working * make it so the response appears to be typing, scroll container as responses come in and update InputText button to say Asking when loading * install react-markdown as a dependency * package-lock updates * use component and design lists in TritonLinks * remove comments * manage loading state in the provider and fix broken api key * refactor provider * refactor TritonSideDrawer * refactor TritonConversation * refactor TritonConversation css * update marginBottom of question * add the copy code button to code blocks * use correct url in useTritonApi * actually make copy code button work * rename fetchWithApiKey to invokeTritonApi * move TritonLinks to utils * move scrollToBottom function * adjust validation of api logic and move validateApiKey to useTritonApi * move scrollToBottom to useTritonApi.ts * move sendSearch andhandleStreamResponse to useTritonApi * test out streaming response * remove handleStreamResponse * remove unnecessary console.error and other cleanups
…1-integrate-triton-to-next-gen-docs
…1-integrate-triton-to-next-gen-docs
taylorvnoj
approved these changes
Feb 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets gooooo 🚀
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivations
This PR brings chatting with Triton directly into the doc site via a SideDrawer with valid API key
Changes
Added
Changed
Deprecated
Removed
Fixed
Security
Testing
Changes can be
tested via Pre-release
In Atlantis we use Github's built in pull request reviews.