Skip to content

Commit b878e52

Browse files
committed
Add initial AI prompt
1 parent 0d8ba8a commit b878e52

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

AI-prompt.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Build an x0 application using the x0 framework from https://github.com/WEBcodeX1/x0,
2+
The backend in Python should use the https://github.com/clauspruefer/python-micro-esb project
3+
The CSS styling is done with the x0 contained Bootstrap default theme and should look modern.
4+
The browser-frontend consists of 3 x0 screens / 3 menu entries:
5+
1. Screen1 "User Credentials": contains 2 groups of formfields (x0 object of type `sysObjectFormfieldList`): group a) GitHub API User/Token credentials group b) Stackfield API User/Token Credentials
6+
1.1. On each formfield group there must be a button "verify user credentials" to test if the API authentication is working
7+
2. Screen2 "Issue / Task Mapping": contains the mapping between GitHub Issues and Stackfield Tasks
8+
2.1. On top there should be 1 formfield / search input and a search execution button (x0 object of type `sysObjectFormfieldList`)
9+
2.2. Under the search must be a list (x0 object of type `sysObjectList` containing the search results
10+
2.3. The search result list from 2.2. contains a x0 object of type `sysObjContextMenu` with one entry "Connect Stackfield Task"
11+
2.4. On button click from 2.1 the relevant python-micro-esb backend service must be called and the given result list from 2.2 must be filled with the result data from the backend service
12+
3. Screen3 "Connect Stackfield Task"
13+
3.1. Contains detailed GitHub Task properties from GitHub API webservice result (encapsulated from python-micro-esb backend), e.g. 3 or four formfields describing the task properties from API result
14+
3.2. On right click of screen 2 object result display list single row, the GitHub task properties fields of Screen3 will be updated from the row data
15+
3.3. Also there should be relevant Stackfield properties where to map the Stackfield Task (Stackfield room or similar, please find the best possible fields from the API to map)
16+
3.4. At the bottom there must be 1 button (x0 object type `sysObjButton`), on click a NEW STACKFIELD TASK will be generated from the relevant GitHub Issue/Task data from Screen3 formfield data.

0 commit comments

Comments
 (0)