wcz-layout
Version:
81 lines (75 loc) • 4.88 kB
Markdown
# WiCOP Setup
Ask the user only through the **AskUserQuestion** pop-up, never as chat text
waiting for a typed reply, and never with a single `Continue`-style option —
that is a wait, not a question. Ask only when there is a real choice, always
with at least two concrete options; enable free text only for open-ended
values (cost center, employee ID), not for yes/no decisions.
To wait for something the user does in the browser, poll in a tool loop:
wait ~5 s, re-read the page, repeat until the expected state appears or ~5
minutes pass, then carry straight on. Never end your turn while waiting —
announcing "I'll continue once you have signed in" and stopping ends the
session, and nothing resumes it.
1. Open [WiCOP](https://wicop.wistron.com/). If the sign-in page appears, do
not ask for any application-form values yet. Say in one line that the user
should finish the Microsoft sign-in, then poll (wait, re-read, repeat)
inside the same turn until the signed-in shell is visible — the user name
in the header and the left navigation — and continue without asking.
2. Open **Application Forms > New Account Combo Flow > Start**. Select **New
Account Combo**, set **Purpose** to `Initialization of a new application.`,
and select **OK**.
3. On **IBU Apply**, ask via **AskUserQuestion** for the **Cost Center** and
whether to create **QAS**, **PRD**, or both. Fill the form sequentially from top to bottom;
never interact with a field while a required field above it is incomplete.
Leave prefilled and unneeded fields unchanged. The controls appear on the
page in this order — use these values as each one is reached:
- **I already have an IBU**: keep `No, apply a new IBU`. **IBU Group
(Service Name)** is generated from the fields below; never type into it.
- _Cloud Environment_
- Service Provider: `K8S`
- Application Name (EA ID): the user selects it — see step 4
- Service(System) Alias Name: read `package.json` `name` converted to
uppercase letters and digits only, with spaces and punctuation removed
(`my-app` becomes `MYAPP`)
- Cloud Type: `Satellite Cloud`
- Cloud Site / Plant: `WCZ` / `WCZ`
- Environment: tick only the requested boxes (DEV, QAS, PRD in that
order); each ticked box enables its own **Cloud Cluster ID** and
**Budget (TWD)** below it
- QAS cluster / budget: `wcz-sat-qas-01` / `0`
- PRD cluster / budget: `wcz-sat-prd-01` / `0`
- _Owner information_
- Cost Center: the user-provided value, entered in the editable IBU
control, not the prefilled read-only IBG control
- _Charge Setting_
- Charge Type: `By Fixed Amount (per IBU)`
- Charge Groups: reuse the same Cost Center if its row asks for one
4. When **Application Name (EA ID)** is reached, leave it entirely to the
user: do not type, search, or select a value. Say in one line that the user
should pick the EA ID, then poll the field until it holds a value and
resume filling the form sequentially. Select **Next >** when complete.
5. On **IBG Apply**, verify the inherited read-only values and select
**Next >**.
6. On **Project Apply**, set **Memory (GB)** to `2` for each selected
environment; leave other fields unchanged. Ask via **AskUserQuestion**
before selecting **Next >**.
7. On **Team Apply**, ask via **AskUserQuestion** for the GitLab team manager's
name or ID.
Populate all other team fields automatically. Add `C0708003`, `C1107048`,
`C2503017`, `C2404003`, `C2404002`, and `C2508015` as GitLab members,
excluding the selected manager from the member list. Use **Copy & Paste
Now** for all other teams. Create a JSM team and select its license-charge
agreement when requested, then copy the GitLab team to it. Do not add a
member row after the final member.
8. On **Review & Confirm**, present the summary to the user, then ask via
**AskUserQuestion**: **"Submit the WiCOP request?"** with options `Submit` /
`Not yet`. Only after they select `Submit`, select **Submit**; in the dialog,
accept the CCoE Policy and select **Confirm**. On the successful-submission
dialog, select **Let's Go** to open **Apply Status**.
9. Close the current browser session.
This applies on every page and to every advancing control (**OK**, **Next >**,
**Submit**, **Confirm**, **Let's Go**): after selecting it, inspect the next
step and continue the workflow without pausing unless user input, a required
confirmation, or a final submission decision is needed. If the UI does not
visibly advance, select the same control once more, then stop.
Do not submit the final request without the user's confirmation. WiCOP sends
the application to the manager, owner, and owner division head for approval.