-
Notifications
You must be signed in to change notification settings - Fork 25
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
OWA-41: Add manage settings page #7
Conversation
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.
Good work Jedidah!
Thanks @wanjikum for reviewing. 👍 |
bower.json
Outdated
"Web", | ||
"App" | ||
], | ||
"homepage": "https://github.com/andela-jomadoye/openmrs-owa-addonmanager", |
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.
Is the above url correct?
event.preventDefault(); | ||
this.setState({ | ||
AppBaseURLValue: '', | ||
AppFolderPathValue: 'appdata\\owa', |
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.
Why the backward slashes?
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.
@dkayiwa It is only 1 backslash that appears, the second backslash is used to escape it. The final output is appdata\owa
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.
Why not use a forward slash?
|
||
componentWillMount() { | ||
this.setState({ | ||
AppFolderPathValue: 'appdata\\owa', |
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.
Why the backward slashes?
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.
The double backslash is used to escape the backslash slash.
Thanks @dkayiwa all issues have been fixed. |
JIRA TICKET NAME:
OWA-41: Create Add-on Management setting UI as a migrate from the Legacy UI
SUMMARY:
This PR creates a page for the manages OWA settings.