-
Notifications
You must be signed in to change notification settings - Fork 478
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
Make scripts editable in Fleet UI #24195
Comments
FYI @noahtalerman I've added this prototype to show editing scripts from the script library page. |
FYI (to discuss) @noahtalerman I've updated the design and the prototype. After thinking about this a little bit, I wanted to be clearer to people when text has been entered into the edit field (in case they accidentally did something. So when people first hit the modal, the button at the bottom is . If they enter text or delete text the button changes to with a secondary button. A few questions:
Thanks! Hope you had a great Thanksgiving! |
FYI @noahtalerman Updated the design and prototype so that the modal always displays "Cancel" and "Save" buttons in the interest of maintaining consistency with other areas where we surface editable querys (i.e. policies). |
@eugkuo Can you add the PR for the new activity so it's apparent which fields that activity has? Or spec which fields the activity has if you want to avoid editing Go code (since the activity documentation is based off of the code)? |
I think we're good now for API/activity specs (subject to the follow-up API spec PR I filed). Thanks! |
For #24195. The existing POST /scripts method uses a multipart request, and I figure that since we use multipart for both create and edit on installers, we want the same level of consistency on scripts. If we _don't_ want this, and want a JSON payload instead, we probably still want to rename `script_contents` to `script` for consistency with the field name in the create API.
- `GET /activities` API design for the following user story: - #24195
I can QA this |
See #24601 (comment) for QA. |
Removed from 4.63.0 docs release branch, now expected in 4.64.0 release
@sharon-fdm @dantecatalfamo this feature is looking good! Heads up, it looks like we have a small unreleased bug for this one: #26323 |
Goal
Key result
Every sprint, ship small UX improvements based on dogfooding or customer feedback
Original requests
Context
Changes
Product
Engineering
QA
Risk assessment
Manual testing steps
@xpkoala, please complete testplan together with @dantecatalfamo
Testing notes
Confirmation
The text was updated successfully, but these errors were encountered: