-
Notifications
You must be signed in to change notification settings - Fork 119
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
Added support to edit saved settings from the details view #3498
Conversation
2241a07
to
40255a6
Compare
I'm a bit busy this week - I may not get to this so quickly. |
40255a6
to
903032d
Compare
rebasing to resolve conflicts |
apps/dashboard/config/locales/en.yml
Outdated
@@ -261,6 +262,9 @@ en: | |||
missing_settings: "Selected saved settings not found." | |||
launch_label: "Launch" | |||
launch_title: "Launch %{app_title} with %{settings_name} parameters" | |||
edit_label: "Edit" |
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.
This is duplicate of just edit
later in this file. I know this is in the batch_connect
portion, but I'd like to reuse those common simple words if we can.
redirect_to batch_connect_setting_path(token: @app.token, id: template_name), | ||
notice: t('dashboard.bc_saved_settings.saved_message', settings_name: template_name) | ||
end | ||
format.json { head :no_content } |
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.
Does the javascript use this json API? I don't see it if so. If nobody actually uses it, I'd rather just remove it entirely.
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.
No, the javascript does not use this API. I added the JSON response because the create
method had one.
I have removed.
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.
LGTM
Added support to edit the saved settings from the saved settings details page.
As well, added a
save and close
feature to allow the user to save the saved settings from the BatchConnect context page without having to launch an application.Other improvements: