Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: better representation of widget configuration #380

Merged
merged 2 commits into from
Feb 1, 2025

Conversation

Charlie-XIAO
Copy link
Contributor

@Charlie-XIAO Charlie-XIAO commented Feb 1, 2025

Extracted from #370.

Previously we used Result<WidgetConfig, String>. Now we directly make WidgetConfig an enum which is better. We also record dir, which is in preparation for a subsequent PR that uses something other than widget directory name as the ID of the widget.

@Charlie-XIAO Charlie-XIAO merged commit 1001f00 into main Feb 1, 2025
11 checks passed
@Charlie-XIAO Charlie-XIAO deleted the refactor/config branch February 1, 2025 04:47
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.

1 participant