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

Add Write button to component menu #11523

Merged
merged 4 commits into from
Nov 13, 2024
Merged

Add Write button to component menu #11523

merged 4 commits into from
Nov 13, 2024

Conversation

vitvakatu
Copy link
Contributor

Pull Request Description

Closes #10486

write.button.mp4

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.
  • If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

import { ExternalId } from 'ydoc-shared/yjsModel'

/** Allows to recompute certain expressions (usually nodes). */
export function useNodeExecution(projectStore: ProjectStore) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is instantiated by GraphNode and RecordControl, but looks like it should be shared state so that e.g. a node's recomputation status would be influenced by the execution environment's global recomputation status..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, fixed

@@ -255,14 +255,23 @@ export class ExecutionContext extends ObservableV2<ExecutionContextNotification>

/** TODO: Add docs */
Copy link
Contributor

Choose a reason for hiding this comment

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

The function signature is getting more complex; this would be a good time to add docs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just added a link to the function we call (it has a link to the LS docs).

@vitvakatu vitvakatu requested a review from kazcw November 12, 2024 11:28
@vitvakatu
Copy link
Contributor Author

@MrFlashAccount @somebody1234 could you review this one, please?

Copy link
Contributor

@somebody1234 somebody1234 left a comment

Choose a reason for hiding this comment

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

CR ✅

@vitvakatu vitvakatu added the CI: Ready to merge This PR is eligible for automatic merge label Nov 13, 2024
@mergify mergify bot merged commit 3d38b71 into develop Nov 13, 2024
37 checks passed
@mergify mergify bot deleted the wip/vitvakatu/run-once branch November 13, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-gui CI: Ready to merge This PR is eligible for automatic merge x-new-feature Type: new feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Component menu Record button updates
3 participants