Skip to content

Conversation

juiwenchen
Copy link
Contributor

@juiwenchen juiwenchen commented Jul 15, 2025

🐛Fixed:

  • Applying default configs when not given
  • local-url in multi-projects

🚨Test Cases:

  • Examine one-line warning
  • Updated valid snapshots

📚Docs:

  • Simplified Quick Start
  • Added Directive section
  • Added demo gif
  • Added note that local-url not working on codelinks.useblocks.com

@juiwenchen juiwenchen changed the title Fix default config 🔧Fix default config Jul 15, 2025
@juiwenchen juiwenchen force-pushed the fix-default-config branch from ad8b80c to 6382cfd Compare July 15, 2025 14:17
- added minimum config project
- applied defaults when the config is not given
- adapted test cases
- simplified docs configs
@juiwenchen juiwenchen force-pushed the fix-default-config branch from 99a7e1c to bdffd3f Compare July 15, 2025 14:34
Copy link
Member

Choose a reason for hiding this comment

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

I like .mp4 better because people can start/stop and seek in the video.
Example:
https://github.com/useblocks/ubcode/tree/main/docs/source/features/json_view
https://ubcode.useblocks.com/features/json_view/index.html

But we can merge it as it is (better than without).
Peek (https://github.com/phw/peek) supports it.

return src_discovery_dict


def adpat_src_discovery_config(project_config: SrcTraceProjectConfigType) -> None:
Copy link
Member

Choose a reason for hiding this comment

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

Functions should have a docstring why they exist. Especially in AI times this is getting super simple to do.

@juiwenchen juiwenchen merged commit 19c1797 into main Jul 16, 2025
8 checks passed
@juiwenchen juiwenchen deleted the fix-default-config branch July 16, 2025 07:04
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