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

Hide lock info debug suggestion on lock page if it's already enabled. #763

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

JeremiahChurch
Copy link
Contributor

Super small change to hide the suggestion to turn the lock_info config on if the config value is already enabled.

potentially save some head scratching if you have the config enabled but are still seeing that message when you don't have lock info for whatever reason

Copy link
Owner

@mhenrixon mhenrixon left a comment

Choose a reason for hiding this comment

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

Perhaps this page shouldn't even be available unless the setting is turned on but then it might not be discovered.

Thanks for your contribution.

@mhenrixon mhenrixon closed this Mar 11, 2023
@mhenrixon mhenrixon reopened this Mar 11, 2023
@mhenrixon mhenrixon enabled auto-merge (squash) March 11, 2023 17:41
@JeremiahChurch JeremiahChurch mentioned this pull request Mar 13, 2023
@mhenrixon mhenrixon merged commit cc2a8d5 into mhenrixon:main Mar 13, 2023
mhenrixon pushed a commit that referenced this pull request Jul 14, 2023
…#763)

only show lock info suggestion if value is not already on
mhenrixon added a commit that referenced this pull request Jul 14, 2023
* Fix active worker detection by using correct keys (#756)

Rename keys from :workers to :work since that's correct name set in Redis

* chore(lint): fix linter issues

* fix(unlock): ensure callback and unlock (#771)

* chore(deps): update gems (solargraph is awesome)

* fix(unlock): ensure unlock and callback runs

* chore(lint): lint'em real good
# Conflicts:
#	.github/workflows/rspec.yml
#	myapp/.tool-versions

* fix: backport the fix for the return value of #deep_transform_keys (#750)

Backport fix the return value of #deep_transform_keys

* Hide lock info debug suggestion on lock page if it's already enabled. (#763)

only show lock info suggestion if value is not already on

* chore(v7): backport fixes from v8

* chore(ci): backport ci changes from v8

---------

Co-authored-by: Dominik Szromik <dodox360@gmail.com>
Co-authored-by: Egor Romanov <unsaidxpl@gmail.com>
Co-authored-by: Jeremiah <jeremiahchurch@gmail.com>
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.

None yet

2 participants