Skip to content

Conversation

@camielvs
Copy link
Collaborator

@camielvs camielvs commented Dec 4, 2025

Description

Adds standard UI blocks for use inside the ContextPanel. Hopefully this will allow us a bit more visual consistency going forward. Each block has a header/title and some content. The header is the same for all blocks, but the content will be different depending on the block.

Implementation of the Blocks into existing Context Panel use cases is done upstack.

Blocks Added:

  • ActionBlock: Renders a horizontal array of identical buttons based on an input label, icon and callback. Custom configuration options allow buttons to be hidden or disabled upon certain conditions, or to have two-step confirmation.
  • ContentBlock: Renders any given ReactNode content. An optional prop allows the block to be collapsed.
  • ListBlock: Renders a list of key:value pair items. Items can be with or without markers. Items without a value will not render in the list
  • TextBlock: Renders text. Text can be copyable or collapsible via optional props

Additionally, the KeyValuePair component was added, which simply renders a given label and associated value. Value can be a string or a link.

Related Issue and Pull requests

Type of Change

  • Improvement
  • Cleanup/Refactor

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Test Instructions

Additional Comments

@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch from ed2e0a6 to e08a5ab Compare December 4, 2025 21:52
This was referenced Dec 4, 2025
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch from e08a5ab to 54e3528 Compare December 4, 2025 21:59
@camielvs camielvs mentioned this pull request Dec 4, 2025
3 tasks
@camielvs camielvs changed the base branch from master to graphite-base/1470 December 4, 2025 22:44
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch from 54e3528 to e6ea5d1 Compare December 4, 2025 22:44
@camielvs camielvs changed the base branch from graphite-base/1470 to 12-04-update_link_component December 4, 2025 22:44
@camielvs camielvs mentioned this pull request Dec 4, 2025
3 tasks
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch from e6ea5d1 to 87a5600 Compare December 4, 2025 22:47
@camielvs camielvs force-pushed the 12-04-update_link_component branch from ecc2b18 to ebfc92f Compare December 5, 2025 01:53
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch from 87a5600 to 8f16f7a Compare December 5, 2025 01:53
@camielvs camielvs changed the base branch from 12-04-update_link_component to graphite-base/1470 December 5, 2025 20:26
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch from 8f16f7a to a526425 Compare December 8, 2025 23:41
@camielvs camielvs changed the base branch from graphite-base/1470 to master December 8, 2025 23:41
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch 3 times, most recently from d385e99 to 66a011a Compare December 9, 2025 02:09
@camielvs camielvs mentioned this pull request Dec 9, 2025
3 tasks
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch 5 times, most recently from 1d45169 to 1cb8f58 Compare December 10, 2025 21:28
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch 2 times, most recently from 4814e7c to 4821940 Compare December 11, 2025 00:34
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch 3 times, most recently from 8172705 to 19fee5f Compare December 11, 2025 20:26
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch 2 times, most recently from 7f0ee6f to f3260f1 Compare December 12, 2025 00:44
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch from f3260f1 to 436b867 Compare December 12, 2025 22:08
@camielvs camielvs force-pushed the 12-04-add_ui_blocks_to_context_panel branch from 436b867 to d89ccdb Compare December 13, 2025 00:23
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