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

Danger.location() function #2968

Closed
wants to merge 4 commits into from
Closed

Danger.location() function #2968

wants to merge 4 commits into from

Conversation

berekuk
Copy link
Collaborator

@berekuk berekuk commented Jan 13, 2024

Requested by @mlao-pdx in this thread.

After adding this, I also realized that it would give the location of location() call, not of a value.

So maybe we should add Tag.location too? Then @location decorator would return the entire range of the definition, that's a bit more precise.

Copy link

changeset-bot bot commented Jan 13, 2024

🦋 Changeset detected

Latest commit: 3919192

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@quri/squiggle-lang Patch
@quri/squiggle-components Patch
@quri/prettier-plugin-squiggle Patch
@quri/versioned-squiggle-components Patch
vscode-squiggle Patch
@quri/squiggle-textmate-grammar Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link

vercel bot commented Jan 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quri-hub ✅ Ready (Inspect) Visit Preview Jan 28, 2024 2:54pm
quri-ui ✅ Ready (Inspect) Visit Preview Jan 28, 2024 2:54pm
squiggle-components ✅ Ready (Inspect) Visit Preview Jan 28, 2024 2:54pm
squiggle-website ✅ Ready (Inspect) Visit Preview Jan 28, 2024 2:54pm

* main: (101 commits)
  First parts of CR
  Refactored ViewerProvider to be back in SquiggleViewer
  Refactored RootProvider to be top-level
  Fix for mode title
  Attempt at better API of SquiggleChart
  First pass at Squiggle Viewer refactor
  Adds VDict safeGet method
  Fixed scrollEditorToPath not firing issue
  move focusOnPath to ItemStore
  no need for custom `key`
  refactor auto-focus zoomed in values
  Adds changeset
  Focus->Zoom In
  Formatted CSS
  Fixed weird focus for website, without important
  Fixed styles
  Responded to other comments
  Addressed most code parts of CR
  Update packages/components/src/components/SquiggleViewer/SqViewNode.tsx
  Made/use/store ValueWithContextViewerHandle refactor
  ...
@OAGr
Copy link
Contributor

OAGr commented Jan 31, 2024

Can we close this? I assume the tag does the main thing.

@berekuk berekuk closed this Feb 4, 2024
@berekuk berekuk deleted the location branch February 4, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants