Skip to content

Client components and Mermaid variations#752

Merged
johbaxter merged 13 commits intodevfrom
654-migrate-mermaid-variants-to-client-blocks
Apr 3, 2025
Merged

Client components and Mermaid variations#752
johbaxter merged 13 commits intodevfrom
654-migrate-mermaid-variants-to-client-blocks

Conversation

@Shubham009-prog
Copy link
Copy Markdown
Contributor

Description

  • Added client block tab in Blocks
  • Added logic to group client block

@Shubham009-prog Shubham009-prog self-assigned this Mar 24, 2025
@Shubham009-prog Shubham009-prog requested a review from a team as a code owner March 24, 2025 16:46
@Shubham009-prog Shubham009-prog linked an issue Mar 24, 2025 that may be closed by this pull request
@johbaxter
Copy link
Copy Markdown
Contributor

johbaxter commented Mar 24, 2025

Alright so it looks like the way the AddBlocksMenuCard is currently setup. We will not need a seperate component for Adding in a client component.

So you can get rid of the custom implementation AddClientBlocksMenuCard.tsx.

I have added 2 client components. One, which is one of the variations of this Mermaid block, and another with a container with an input as a child of the container.

I need you to clean up the code BlocksMenuPanel.tsx where it the items flow through the renderedItems as you had before. But also need to be able to work with custom sectioning as i have in my screenshot below.

image

One of the grouped components looks like this

image

We also need you to add the rest of the mermaid variations in the list for get client blocks

@johbaxter
Copy link
Copy Markdown
Contributor

Follow up tickets will be to incorporate AddBlocks Reactor.

@johbaxter johbaxter changed the title feat(mermaidBlock): migrate mermaid block:wip Client components and Mermaid variations Apr 1, 2025
@ehynd ehynd mentioned this pull request Apr 2, 2025
@johbaxter
Copy link
Copy Markdown
Contributor

johbaxter commented Apr 2, 2025

Going to address Duplicate Bug in this same PR

@Paulson-Robert

@johbaxter
Copy link
Copy Markdown
Contributor

#786

Code from this folded into this PR

Ty @Paulson-Robert

@johbaxter johbaxter mentioned this pull request Apr 3, 2025
@johbaxter johbaxter merged commit 534b41a into dev Apr 3, 2025
3 checks passed
@johbaxter johbaxter deleted the 654-migrate-mermaid-variants-to-client-blocks branch April 3, 2025 19:57
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2025

@CodiumAI-Agent /update_changelog

@QodoAI-Agent
Copy link
Copy Markdown

Changelog updates: 🔄

2025-04-03

Added

  • Integrated client component blocks with grouping logic.
  • Migrated and refined Mermaid variants for enhanced rendering.

to commit the new content to the CHANGELOG.md file, please type:
'/update_changelog --pr_update_changelog.push_changelog_changes=true'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate Mermaid variants to Client Blocks

3 participants