feat(P7): Add wiki components section with datasets, recipes, libraries, and notebooks#19
Merged
Merged
Conversation
…notebooks) Implements Phase 7 of Discovery Agent Enhancement Plan: - P7-F001: Add datasets subsection with collapsible HTML details - P7-F002: Add recipes subsection with code snippet preview - P7-F003: Add libraries and notebooks subsections - P7-F004: Integrate all subsections into wiki article Components section appears between navigation menu (P6) and description. Only generated for EnhancedBlockMetadata (backward compatible). Tests: - 20 new unit/integration tests (100% pass) - All existing tests still pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
d8f3269 to
80a5b68
Compare
This file contains hidden or 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
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.
Phase 7: Wiki Components Section
Implements all 4 Phase 7 features for the Discovery Agent Enhancement Plan.
Features Implemented
P7-F001: Generate Datasets Section ✅
_generate_datasets_section()method<details>block with dataset metadataP7-F002: Generate Recipes Section ✅
_generate_recipes_section()method<details>block with recipe detailsP7-F003: Generate Libraries & Notebooks Sections ✅
_generate_libraries_section()method_generate_notebooks_section()methodP7-F004: Integrate Components Section ✅
_generate_components_section()orchestrator methodgenerate_wiki_article()methodTechnical Details
Files Modified: 3
dataikuapi/iac/workflows/discovery/catalog_writer.py(+130 lines)dataikuapi/iac/workflows/discovery/tests/test_catalog_writer.py(+59 lines)tests/iac/workflows/discovery/unit/test_catalog_writer_components.py(new file, +372 lines)Test Coverage:
Backward Compatibility: ✅
EnhancedBlockMetadatainstancesBlockMetadatainstances unaffectedDependencies
Note: This PR includes the P6 navigation menu feature as a dependency, since P7 was built on top of P6. Both features are integrated in the wiki article generation workflow.
Wiki Article Structure
With this PR,
EnhancedBlockMetadatawiki articles will have:🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]