feat: build x0 github2stackfield application#1
Draft
Copilot wants to merge 1 commit into
Draft
Conversation
- static/menu.json: 3 navigation links (User Credentials, Issue/Task Mapping, Connect Stackfield Task) - static/object.json: all x0 UI objects for 3 screens (formfields, lists, buttons, service connectors, context menu) - static/skeleton.json: screen layout wiring objects to screens - python/service_implementation.py: GitHubService + StackfieldService ClassHandlers (python-micro-esb) - python/user_routing.py: ServiceRouter routing functions for all 5 backend operations - python/VerifyGitHubCredentials.py: WSGI endpoint - python/VerifyStackfieldCredentials.py: WSGI endpoint - python/SearchGitHubIssues.py: WSGI endpoint – populates issue list - python/GetGitHubIssueDetails.py: WSGI endpoint – pre-populates Screen 3 - python/CreateStackfieldTask.py: WSGI endpoint – creates Stackfield task - python/POSTData.py + StdoutLogger.py: x0 helper modules - database/01-create-schema.sql: github2sf schema, credentials + mapping tables - database/02-insert-config.sql: x0 app configuration rows - database/03-insert-text.sql: EN + DE UI text entries - docker/Dockerfile + docker-compose.yml + apache2.conf: containerised deployment - README.md: full setup and architecture documentation Agent-Logs-Url: https://github.com/WEBcodeX1/github2stackfield/sessions/9b620d8f-bd1b-45df-84a8-b2f02204213e Co-authored-by: clauspruefer <17313789+clauspruefer@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
clauspruefer
May 26, 2026 09:03
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Full implementation of the github2stackfield x0 application — a modern Bootstrap-styled browser frontend that connects GitHub Issues with Stackfield Tasks via Python backend services built on the python-micro-esb framework.
Changes
static/menu.json— 3 navigation links (User Credentials, Issue / Task Mapping, Connect Stackfield Task)static/object.json— all x0 UI objects for 3 screens:sysObjectFormfieldList,sysObjectList,sysObjContextMenu,sysObjButton,ServiceConnectorstatic/skeleton.json— screen layout wiring objects to screens / connectorspython/service_implementation.py—GitHubService+StackfieldServicesubclassingmicroesb.ClassHandlerpython/user_routing.py— python-micro-esbServiceRouterrouting functions for all 5 backend operationspython/VerifyGitHubCredentials.py— WSGI endpoint: validate + persist GitHub credentialspython/VerifyStackfieldCredentials.py— WSGI endpoint: validate + persist Stackfield credentialspython/SearchGitHubIssues.py— WSGI endpoint: search GitHub issues, return indexed rows for x0 Listpython/GetGitHubIssueDetails.py— WSGI endpoint: fetch full issue data, pre-populate Screen 3 formfieldspython/CreateStackfieldTask.py— WSGI endpoint: create Stackfield task via REST APIpython/POSTData.py+python/StdoutLogger.py— x0 helper modulesdatabase/01-create-schema.sql—github2sfschema:credentials,app_config,issue_task_mappingtablesdatabase/02-insert-config.sql— x0system.configrows forappid=github2sfdatabase/03-insert-text.sql—webui.textentries in English and German for all UI labelsdocker/Dockerfile+docker/docker-compose.yml+docker/apache2.conf— containerised deploymentREADME.md— full architecture, installation, and usage documentationScreen Overview
Screen 1 — User Credentials
Two
sysObjectFormfieldListgroups (GitHub + Stackfield), each with a Verify credentials button. On success the credentials are stored in the database.Screen 2 — Issue / Task Mapping
Search
sysObjectFormfieldList+ search button (firesSearchGitHubIssuesevent) →ServiceConnector→sysObjectListwithsysObjContextMenuentry Connect Stackfield Task (right-click → navigate to Screen 3, fireConnectStackfieldTaskevent).Screen 3 — Connect Stackfield Task
IssueDetailsConnector(ServiceConnector, listens toConnectStackfieldTask) populates twosysObjectFormfieldListinstances:sysObjButtonCreate New Stackfield Task calls the backend to POST to Stackfield's task API.python-micro-esb integration
GitHubServiceandStackfieldServiceboth extendmicroesb.ClassHandler. Each WSGI endpoint constructs aServiceRouterand callsrouter.send(routing_function, request_data), dispatching to the appropriate function inuser_routing.py.