Skip to content

AI feedback disposable provider #4480

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

Open
wants to merge 2 commits into
base: 4449-feedback-on-changelog
Choose a base branch
from

Conversation

sergeibbb
Copy link
Member

@sergeibbb sergeibbb commented Jul 8, 2025

Description

This is a follow-up of #4449 and #4479

It wraps static ai-feedback related values to a disposable provided linked to the container.

Checklist

  • I have followed the guidelines in the Contributing document
  • My changes follow the coding style of this project
  • My changes build without any errors or warnings
  • My changes have been formatted and linted
  • My changes include any required corresponding changes to the documentation (including CHANGELOG.md and README.md)
  • My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
  • My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

@sergeibbb sergeibbb requested a review from eamodio July 8, 2025 19:36
@sergeibbb
Copy link
Member Author

sergeibbb commented Jul 8, 2025

Hi @eamodio

There are 2 pull requests.

  • The first one is the implementation for Changelogs in a similar manner how it's been done for markdown previews.
  • The second one (this one) is a follow-up. It wraps static values to a disposable provided linked to the container.

Please let me know if you think that creating such provider is unnecessary or if you suggest it should be improved.

@sergeibbb sergeibbb self-assigned this Jul 8, 2025
@sergeibbb sergeibbb linked an issue Jul 8, 2025 that may be closed by this pull request
4 tasks
@sergeibbb sergeibbb force-pushed the 4449-feedback-on-changelog branch from 4437459 to 8b7c748 Compare July 9, 2025 13:48
@sergeibbb sergeibbb force-pushed the 4449-feedback-provider branch from 5fc533a to 51f82c3 Compare July 9, 2025 13:48
@sergeibbb sergeibbb marked this pull request as ready for review July 9, 2025 14:12
@sergeibbb sergeibbb requested a review from axosoft-ramint July 9, 2025 14:15
@sergeibbb sergeibbb force-pushed the 4449-feedback-on-changelog branch from 8b7c748 to 5233993 Compare July 9, 2025 14:20
sergeibbb added a commit that referenced this pull request Jul 9, 2025
Centralizes management of AI feedback context and changelog document
URIs
into a dedicated provider, improving modularity and cleanup. Updates
relevant usages to access changelog feedback context through the new
provider, removing redundant context management logic from command
files.

Simplifies resource cleanup on document close and ensures consistent
context availability for AI-related features.
(#4449, #4480)
@sergeibbb sergeibbb force-pushed the 4449-feedback-provider branch from 51f82c3 to e815a8e Compare July 9, 2025 14:20
sergeibbb added a commit that referenced this pull request Jul 9, 2025
Consolidates storage and context updates for AI feedback responses
from the command layer into the provider, improving separation of
concerns and maintainability. Ensures feedback state is managed
centrally, reducing duplication and potential for inconsistencies.
(#4449, #4480)
@sergeibbb sergeibbb added this to the 17.4 milestone Jul 10, 2025
@sergeibbb sergeibbb force-pushed the 4449-feedback-on-changelog branch from 5233993 to 28c7ed5 Compare July 14, 2025 09:20
Centralizes management of AI feedback context and changelog document
URIs
into a dedicated provider, improving modularity and cleanup. Updates
relevant usages to access changelog feedback context through the new
provider, removing redundant context management logic from command
files.

Simplifies resource cleanup on document close and ensures consistent
context availability for AI-related features.
(#4449, #4480)
@sergeibbb sergeibbb force-pushed the 4449-feedback-provider branch from e815a8e to 1f08c2d Compare July 14, 2025 09:21
sergeibbb added a commit that referenced this pull request Jul 14, 2025
Consolidates storage and context updates for AI feedback responses
from the command layer into the provider, improving separation of
concerns and maintainability. Ensures feedback state is managed
centrally, reducing duplication and potential for inconsistencies.
(#4449, #4480)
Consolidates storage and context updates for AI feedback responses
from the command layer into the provider, improving separation of
concerns and maintainability. Ensures feedback state is managed
centrally, reducing duplication and potential for inconsistencies.
(#4449, #4480)
@sergeibbb sergeibbb force-pushed the 4449-feedback-provider branch from 1f08c2d to f851fe3 Compare July 14, 2025 14:07
Copy link
Contributor

@axosoft-ramint axosoft-ramint left a comment

Choose a reason for hiding this comment

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

I'm having a hard time parsing the need for this between all of the linked issues and PRs, nor do I know how to test it, so I will defer to @eamodio 's review on this one, unless you can give me a full rundown/explanation as someone who hasn't been involved with this work @sergeibbb .

@sergeibbb
Copy link
Member Author

I just thought that since the implementation is stateful it might be worth to attach it to the container as a stateful class.
@axosoft-ramint @ericf-axosoft

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.

Capture sentiment feedback about AI feature effectiveness
2 participants