Skip to content

Disable shortcut buttons preference checkbox if Files view not selected

Simon Knox requested to merge psi-disable-box into master

What does this MR do and why?

Followup from !119946 (comment 1393489029)

Disable field when Overview preference is not "Files and Readme", as it has no effect

Screenshots or screen recordings

Enabled Disabled
Screenshot_2023-05-17_at_19.28.02 Screenshot_2023-05-17_at_19.28.06

How to set up and validate locally

  1. Go to preferences page
  2. Change mode from "Files and Readme" to "Readme" or "Activity"
  3. Checkbox below disabled

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Simon Knox

Merge request reports