Everyday tasks
Recipes for the jobs people actually bring to the agent. Each one ends with you looking at your preview.
Recipes for the jobs people actually bring to the agent. Each one ends with you looking at your preview.
Do not skip step 3. "Fix it" without a reproducible report leads to a plausible-looking change that fixes nothing.
On the frontpage, change the hero button text to "Book et møde" and make it the same blue as the header.
The agent edits and hands you the link. Iterate in the same chat: "a bit darker", "also on the English page". None of this is published until you say so.
You can ask the agent to create pages, modules, news items, users — anything you would otherwise click through in the admin:
Create a page called "Testside" under Content with a chat module and a headline "Hej".
It uses the admin API, then opens the page in a browser to confirm it looks right, and gives you both the website link and the admin link.
Pictures and files you upload on your preview stay on your worker. They do not land on the real CDN.
Fix PM-1234.
The agent reads the ticket, reproduces, fixes, and shows you the preview. When you are happy:
Push the changes, open a PR, and post the result on PM-1234.
That puts the branch on GitHub, opens the pull request, and writes a comment on the ticket with the links. Nothing goes to Tickets unless you ask.
Some tickets are handled without a human in the chat. When support escalates a bug from Brain, it lands in Tickets with the Worker label. A pool of bugfix workers picks those up on their own.
What a bugfix worker does:
https://eph-<branch>.agent.gopublic.dk running the fix. Where it can, it builds a small demo page on that site so you can see the fixed thing in one click.If the worker gets stuck (cannot reproduce, needs a screenshot, needs a decision), it writes a comment headed Worker handoff (waiting) with what it tried and what it needs, and removes the Worker label. Answer in the ticket, put the Worker label back on, and a worker picks it up again with your answer.
Test sites are removed when the pull request is merged, or after 7 days.
The agent can log in to a Staging or POC client site as "GoPublic Agent" and check or set up content there — for example, filling in pages before a go-live:
Look at the frontpage of dkr on Staging and tell me which modules are on it.
Reading is free. Writing to a site with real visitors needs your explicit yes in the chat, and the agent asks for it. Production sites are not open to the agent yet.
A client's website address in a bug report is not a reason to touch that site. The agent reproduces on its preview, as always.
Not every chat has to change something:
How does the newsletter module decide who gets the mail?
What did we decide about cookie banners for municipalities?
The agent reads the code, checks Brain, and answers. No files change.
After a bigger change, the agent offers to run the automatic tests on your preview. Say yes if you want the extra confidence; it takes a few minutes. Tiny tweaks do not need it.