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 "has uid" as condition #204

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Add "has uid" as condition #204

merged 2 commits into from
Jan 3, 2024

Conversation

mdroidian
Copy link
Collaborator

No description provided.

@dvargas92495
Copy link
Collaborator

why do we want this? at a high level I was hoping to abstract away uids from the user - they usually are trying to query by some other property of a block and not by its id.

at a base level, I'd probably prefer has block reference or something like that

@mdroidian
Copy link
Collaborator Author

why do we want this? at a high level I was hoping to abstract away uids from the user - they usually are trying to query by some other property of a block and not by its id.

at a base level, I'd probably prefer has block reference or something like that

I've reached for this a few times, but I forget the exact use cases for all of those.
But one specifically is with a smartblock workflow of pasting text into the current block:

  • if current block has ancestor that references a link, append that link to the pasted text

@mdroidian mdroidian merged commit fd976c4 into main Jan 3, 2024
1 check passed
@mdroidian mdroidian deleted the has-uid-condition branch January 3, 2024 23:22
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.

2 participants