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

move viz at the top, remove tabs and improve dust app #6521

Merged
merged 4 commits into from
Jul 25, 2024

Conversation

fontanierh
Copy link
Contributor

Description

  • move the viz above the agent message
  • remove the tabs, replace it by a floaty code icon toggle
  • ask the model to add a few pixels of horizontal padding to avoid longer labels cutoff

Risk

Deploy Plan

@fontanierh fontanierh requested a review from flvndvd July 25, 2024 15:27
Copy link
Contributor

@flvndvd flvndvd left a comment

Choose a reason for hiding this comment

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

LGTM, we could even do some magic to only display the iframe once ready

@@ -135,8 +135,8 @@ export function VisualizationActionIframe({
isStreaming: boolean;
onRetry: () => void;
}) {
const [activeTab, setActiveTab] = useState<"code" | "runtime">("code");
const [tabManuallyChanged, setTabManuallyChanged] = useState(false);
// const [activeTab, setActiveTab] = useState<"code" | "runtime">("code");
Copy link
Contributor

Choose a reason for hiding this comment

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

✂️

@fontanierh fontanierh force-pushed the enh/viz-at-the-top branch from 071ac7f to 7bc1990 Compare July 25, 2024 15:59
@fontanierh fontanierh merged commit 1787e31 into main Jul 25, 2024
3 checks passed
@fontanierh fontanierh deleted the enh/viz-at-the-top branch July 25, 2024 16:20
albandum pushed a commit that referenced this pull request Aug 28, 2024
* move viz at the top, remove tabs and improve dust app

* weird hack

* increase max h

* r

---------

Co-authored-by: Henry Fontanier <[email protected]>
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.

2 participants