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

SQL Run results don't get updated when saving an edited sql string result #263

Open
1 task done
anthony2261 opened this issue Jul 17, 2024 · 5 comments
Open
1 task done
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@anthony2261
Copy link
Collaborator

Privileged issue

  • I'm @RamiAwar or he asked me directly to create an issue here.

Issue Content

-> Edit SQL string
-> Press Run
-> Press Save
-> Switch conversation and back
-> Correct edited sql string is shown, but old sql run result

@anthony2261 anthony2261 added bug Something isn't working good first issue Good for newcomers labels Jul 17, 2024
@RamiAwar
Copy link
Owner

That's indeed something we forgot to add. I think it definitely makes sense to update the run result when we press run. I had this in mind but forgot to do it.

@anthony2261
Copy link
Collaborator Author

Should we do it when we press run or when we save? I think both options are valid, but it might make more sense to come back to a conversation where the sql commands have their corresponding runs and not an edited-but-unsaved version of the command

@anthony2261
Copy link
Collaborator Author

@RamiAwar coming back to this, should we just save the run results when we click "Run"? Keen on closing this

@anthony2261 anthony2261 self-assigned this Aug 8, 2024
@RamiAwar
Copy link
Owner

RamiAwar commented Aug 9, 2024

Yeah I think this makes sense.

I'm touching that code heavily in my branch tho

@anthony2261
Copy link
Collaborator Author

Mmmm we could add the fix there, but your local changes aren't pushed yet. I think it's best to work on this fix only after your branch is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants