Skip to content

Enhance documentation for Acode UI components and utilities - #113

Merged
bajrangCoder merged 3 commits into
Acode-Foundation:mainfrom
codewithchai0605:docs/improved
Oct 3, 2026
Merged

bajrangCoder merged 3 commits into
Acode-Foundation:mainfrom
codewithchai0605:docs/improved

Conversation

@codewithchai0605

Copy link
Copy Markdown
Contributor
  • Updated themes documentation to clarify theme management and usage.
  • Improved alert component documentation with examples and usage details.
  • Expanded confirm dialog documentation, including new options and examples.
  • Enhanced multiPrompt documentation with detailed input options and examples.
  • Revised prompt component documentation for clarity and added validation examples.
  • Updated select component documentation to include rich item options and handling cancel scenarios.
  • Added introductory sections and descriptions for CodeMirror and Commands utilities.
  • Ensured consistent formatting and improved readability across all documentation updates.

- Updated themes documentation to clarify theme management and usage.
- Improved alert component documentation with examples and usage details.
- Expanded confirm dialog documentation, including new options and examples.
- Enhanced multiPrompt documentation with detailed input options and examples.
- Revised prompt component documentation for clarity and added validation examples.
- Updated select component documentation to include rich item options and handling cancel scenarios.
- Added introductory sections and descriptions for CodeMirror and Commands utilities.
- Ensured consistent formatting and improved readability across all documentation updates.
@greptile-apps

greptile-apps Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low risk] Documentation updates across multiple help pages.

The PR appears safe to merge, though the non-blocking Select cancellation example still needs correction.

Findings

  1. P2 Cancellation stalls example ▶

Summary

This PR expands the Acode API documentation for themes, fonts, dialogs, and utilities, and adds page metadata. The latest change corrects the Prompt options link.

Reviews (2) · Last reviewed commit: "docs: update promptOptions reference in ..."

Comment thread docs/ui-components/dialogs/prompt.md

```js
// 1. Callback: the promise stays pending forever, so use it for side effects
await select("Choose", items, { onCancel: () => console.log("cancelled") });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Cancellation stalls example This example awaits a selection that the page says remains pending forever when the user cancels with an onCancel callback. The callback logs the cancellation, but execution never reaches the next example or any following code. Show a callback flow that does not await the pending promise, or make it settle.

@codewithchai0605

Copy link
Copy Markdown
Contributor Author

@greptile-apps review

@greptile-apps

greptile-apps Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Want your agent to iterate on Greptile's feedback? Try greploops.

@bajrangCoder
bajrangCoder merged commit 83288b5 into Acode-Foundation:main Oct 3, 2026
1 check passed
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