Skip to content

Initialize a2ui_core SDK with schema definitions and basic UI catalog components#1575

Open
nan-yu wants to merge 2 commits into
a2ui-project:mainfrom
nan-yu:re-arch-2
Open

Initialize a2ui_core SDK with schema definitions and basic UI catalog components#1575
nan-yu wants to merge 2 commits into
a2ui-project:mainfrom
nan-yu:re-arch-2

Conversation

@nan-yu

@nan-yu nan-yu commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.

List which issues are fixed by this PR. For larger changes, raising an issue first helps reduce redundant work.

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@gspencergoog

Copy link
Copy Markdown
Collaborator

/gemini summary

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the summary. You can try again by commenting /gemini summary.

@nan-yu

nan-yu commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator Author

/gemini summary

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the summary. You can try again by commenting /gemini summary.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Overall, this approach seems fantastic and we should adopt it in our other libraries.

Remind me again why we couldn't use something like https://pypi.org/project/json-schema-to-pydantic/ ? It'd be amazing if we didn't need to maintain so much special cased logic here. But also, we don't change the schema very often, so it's not a huge deal.

return "\n".join(output)


def generate_basic_catalog_components(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Future idea: It could be nice to generalize this to generate_catalog_components at some point, so we can point it at any catalog file that adheres to our structure.

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.

3 participants