Skip to content

Conversation

@jpenilla
Copy link
Member

The plan is to also change the static factories on (Component)TooltipSuggestion to be called suggestion. This makes static imports much cleaner when creating a variety of suggestions with and without tooltips for example.

The plan is to also change the static factories on (Component)TooltipSuggestion to be called suggestion. This makes static imports much cleaner when creating a variety of suggestions with and without tooltips for example.
@github-actions
Copy link

Test Results

 84 files  ±0   84 suites  ±0   14s ⏱️ -1s
415 tests ±0  415 ✅ ±0  0 💤 ±0  0 ❌ ±0 
459 runs  ±0  459 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 509c4cd. ± Comparison against base commit 463ec6c.

@jpenilla jpenilla merged commit 4f38070 into suggestion-mapper Feb 24, 2024
@jpenilla jpenilla deleted the suggestion-simple branch February 24, 2024 20:17
jpenilla added a commit that referenced this pull request Feb 24, 2024
* Add back configurable suggestion mapper to command manager

this is useful for more easily implementing a ComponentTooltipSuggestion, for example

* remove final

* adjust MappingSuggestionFactory#mapped

* Apply suggestion mappers before suggestion processors.

* SuggestionProcessor#and -> #then

* Rename Suggestion.simple(String) to Suggestion.suggestion(String) (#695)

The plan is to also change the static factories on (Component)TooltipSuggestion to be called suggestion. This makes static imports much cleaner when creating a variety of suggestions with and without tooltips for example.
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