Skip to content

feat(ui): add tooltips to icon-only buttons#4

Merged
Tomaszal merged 1 commit into
mainfrom
feature/ui-tooltips
May 6, 2025
Merged

feat(ui): add tooltips to icon-only buttons#4
Tomaszal merged 1 commit into
mainfrom
feature/ui-tooltips

Conversation

@moosebay
Copy link
Copy Markdown
Contributor

@moosebay moosebay commented May 6, 2025

  • Add tooltips to icon-only buttons throughout the UI
  • Set custom delay of 750ms for responsive display
  • Add tooltip support to AddButton component
  • Remove redundant tooltip from buttons with text labels

By submitting a PR to this repository, you agree to the terms within the Contributor Covenant Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Describe the purpose of this PR along with any background information and the impacts of the proposed change. For the benefit of the community, please do not assume prior context.

Provide details that support your chosen implementation, including: breaking changes, alternatives considered, changes to the API, etc.

If the UI is being changed, please provide screenshots.

References

Include any links supporting this change such as a:

  • GitHub Issue/PR number addressed or fixed
  • StackOverflow post
  • Related pull requests/issues from other repos

If there are no references, simply delete this section.

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (platform/browser version).

Checklist

  • I have added a Version Plan for new/changed functionality in this PR
  • All checks for formatting and tests are passing

@moosebay moosebay requested a review from Tomaszal May 6, 2025 14:27
- Add tooltips to icon-only buttons throughout the UI
- Set custom delay of 750ms for responsive display
- Add tooltip support to AddButton component
- Remove redundant tooltip from buttons with text labels
@Tomaszal Tomaszal force-pushed the feature/ui-tooltips branch from 5db5f5f to f8c316b Compare May 6, 2025 14:46
@Tomaszal
Copy link
Copy Markdown
Contributor

Tomaszal commented May 6, 2025

LGTM, although we should add a reusable UI component for tooltips later. Also, please always run task lint before submitting a PR, especially with AI generated code, as it always fails.

@Tomaszal Tomaszal merged commit 8242788 into main May 6, 2025
3 checks passed
@Tomaszal Tomaszal deleted the feature/ui-tooltips branch May 6, 2025 14:49
ElecTwix added a commit that referenced this pull request Jan 26, 2026
Implement POC #4 and #5 for improved AI tool discovery:

- Add AIParam struct with typed parameters (name, description, type)
- Add SourceHint field for auto-chaining between tools
- Create {{ ai('name', 'desc', 'type', 'source') }} syntax parser
- Add AIParamProvider interface for nodes to declare parameters
- Add DescribableNode interface for custom tool descriptions
- Add discover_tools function for on-demand tool discovery (POC #3)
- Create AI expression functions (ai, aivar, airef, aidesc, aichain)
- Add comprehensive integration tests comparing 5 POC approaches

Test results show POC #4+#5 combination is most effective:
- Typed params give AI clear input requirements
- SourceHint tells AI exactly where to get chained values
- Reduces tool calls and improves success rate
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