Implemented the functionality to add a WL Action
This commit is contained in:
22
README.md
22
README.md
@@ -81,10 +81,24 @@ finish in the background and update their related activities.
|
||||
## Workload Actions
|
||||
|
||||
The missing Act badge includes a separate plus control that opens an Action form
|
||||
with Team, Start date, End Date, Status, Complexity and Notes. This is currently
|
||||
UI-only: Save is disabled and the form never submits a request. Cancel or
|
||||
Escape dismisses the form. Creation options and API integration are pending;
|
||||
the form is unavailable to SALES_REP users, like the other Action features.
|
||||
with Owner, Role, Action, Team, Start date, End Date, Status, Complexity and Notes.
|
||||
Opening the form loads team members and action lookups using the WWB-TS token.
|
||||
Team members use the product RevnId; when multiple workloads are available, the
|
||||
user selects one before its members are requested. Owner options use email for
|
||||
both label and value; lookup options display name and submit code.
|
||||
All Action selects support local autocomplete by label or code, arrow-key
|
||||
navigation and Enter selection. Escape or leaving the field restores the last
|
||||
selected option; typed search text is never submitted as an option value.
|
||||
Fields are enabled only after both metadata requests return HTTP 200. Loading,
|
||||
errors and manual retry are supported, and debug logs mask the credential.
|
||||
Save validates all required fields and the date range before posting to the WWB
|
||||
actions endpoint. Dates are sent at midnight UTC in ISO format; notes are an
|
||||
array of strings (empty when omitted). The current user.id supplies createdBy
|
||||
and updatedBy. While saving, editing and dismissal are locked to prevent duplicate
|
||||
submissions. Success closes the form and displays a toast; failure preserves the
|
||||
form and displays an error toast without automatically retrying the POST.
|
||||
Cancel or Escape dismisses an idle form. The form is unavailable to SALES_REP
|
||||
users, like the other Action features.
|
||||
|
||||
SR and Action filter badges appear before Status for users allowed to view these
|
||||
activities. They filter the loaded data without issuing requests and combine with
|
||||
|
||||
Reference in New Issue
Block a user