Add project processes/notifications commands and enhance service list #234
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
zcli project processescommand to list running and pending processes for a projectzcli project notificationscommand to list notifications with pagination supportzcli service listto display active app version ID and creation timestampNew Commands
zcli project processesLists all currently RUNNING and PENDING processes for a project (deployments, builds, service starts/stops, etc.).
zcli project notificationsLists notifications for a project with pagination support.
--limit--offsetEnhanced
zcli service listNow includes active app version information:
New columns:
app version id,app version createdChanges
New Files
src/cmd/projectProcesses.go- Processes commandsrc/cmd/projectNotifications.go- Notifications commandsrc/entity/userNotification.go- UserNotification entitysrc/entity/repository/userNotification.go- Notification repositorysrc/uxHelpers/process.go- Process list renderingsrc/uxHelpers/notification.go- Notification list renderingCLAUDE.md- Developer guideModified Files
src/cmd/project.go- Register new subcommandssrc/entity/process.go- Add fields (Created, LastUpdate, Started, CreatedByUser, ServiceNames, CreatedBySystem)src/entity/service.go- Add ActiveAppVersionId, ActiveAppVersionCreated fieldssrc/entity/repository/process.go- Add GetRunningAndPendingProcessesByProjectsrc/entity/repository/service.go- Map ActiveAppVersion in serviceFromEsSearchsrc/uxHelpers/service.go- Add app version columns to tablesrc/uxBlock/styles/styles.go- Add shared DateTimeFormat constantsrc/i18n/en.go- Add translationssrc/i18n/i18n.go- Add i18n constantsTest Plan
zcli project processes -P <project>and verify output shows running/pending processeszcli project notifications -P <project>and verify pagination works with --limit/--offsetzcli service list -P <project>and verify app version columns appeargo build ./...- passesgo test ./src/...- passes