-
Notifications
You must be signed in to change notification settings - Fork 847
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
BASH-11 Open help link from config #593
Conversation
I don't see any issues with this particular change. Makes a lot of sense. We allow overriding our help docs on the server-side. Added the |
Actually, a question: what happens if |
@jasonblais It will open the link regardless, the value at the moment. So it would link to nothing, but the default is set MM |
@csduarte @dmeza Would it be okay to ask that if the value is blank, then the option isn't shown in the Help Menu? Otherwise it would appear as a bug if nothing actually happens. It's also consistent with how we handle help link settings server-side. If you feel this is feature creep, let us know. We can also make this change ourselves. |
@jasonblais it should not be a problem to hide if the value is blank, sounds good to have consistency. |
@jasonblais @yuya-oc if help link is blank in config file, then the option isn't shown in the Help Menu: |
@dmeza Looks good. I think you haven't pushed the code yet. If you feel it's done, would you push it? |
@yuya-oc pushed. |
Thanks! @jasonblais These are test builds.
|
@jasonblais Nothing. Artifacts were correctly build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to merging of #586, please rebase the branch.
@yuya-oc rebased and tested. |
https://circleci.com/gh/mattermost/desktop/1064#artifacts The feature correctly works. By using following {
"1": {
"helpLink": null
}
} |
Description
This PR changes the behavior of the Help menu Learn More item to open the link that is defined for the helpLink property in the base.json file (src/common/config/base.json). This property can be overridden by defining the helpLink property in the override.json file (src/common/config/override.json).
npm run lint:js
for proper code formattingTest Cases
Add override values like this:
Notes
includes BASH-20