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

Sweep: Features: Change variable values as buffers #157

Closed

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented May 14, 2024

Description

This pull request introduces significant improvements to the way variables are handled within the Hurl plugin. It streamlines the process of editing global variables directly within the buffer, enhancing the user experience by allowing inline edits. Additionally, it ensures that variable values are updated across the board by refreshing the buffer display after changes are made. This update also includes a mechanism to persist these changes by capturing variable values on buffer writes, ensuring that the global configuration remains consistent with the user's modifications.

Summary

  • Changed the method of editing variables to allow inline edits directly in the buffer, removing the need for a separate input prompt.
  • Implemented a buffer refresh feature to update the display of variables immediately after any change, providing real-time feedback to the user.
  • Added an on_write callback to various commands to capture and persist changes made to variables directly from the buffer, ensuring that the global configuration is always up-to-date.
  • Enhanced user experience by streamlining the process of modifying global variables, making it more intuitive and efficient.

Fixes #155.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

This is an automated message generated by Sweep AI.

Copy link
Contributor Author

sweep-ai bot commented May 14, 2024

Rollback Files For Sweep

  • Rollback changes to lua/hurl/main.lua

This is an automated message generated by Sweep AI.

Copy link

codesandbox bot commented May 14, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

changeset-bot bot commented May 14, 2024

⚠️ No Changeset found

Latest commit: 2c3af36

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@sweep-ai sweep-ai bot added the sweep label May 14, 2024
@jellydn jellydn closed this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Features: Change variable values as buffers
1 participant