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

fix(dashboard): hash dashboard terminal section caching key to support long commands #381

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

Jay-Madden
Copy link
Contributor

@Jay-Madden Jay-Madden commented Dec 23, 2024

Description

This change hashes the caching key for snacks dashboards terminal sections instead of building the key from the command itself. This allows for arbitrary length scripts to be given as a terminal section command instead of relying on existing commands in PATH.

Related Issue(s)

#379

Screenshots

image

@Jay-Madden Jay-Madden changed the title feat: hash dashboard caching key to support long commands fix(dashboard): hash dashboard caching key to support long commands Dec 23, 2024
@Jay-Madden Jay-Madden changed the title fix(dashboard): hash dashboard caching key to support long commands fix(dashboard): hash dashboard terminal section caching key to support long commands Dec 23, 2024
@folke folke merged commit d312053 into folke:main Dec 31, 2024
4 of 5 checks passed
@folke
Copy link
Owner

folke commented Dec 31, 2024

That's awesome, thanks!
TIL about vim.fn.sha256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants