Skip to content

feat(frontend): add api application http call#18

Merged
mcollina merged 10 commits intoplatformatic:mainfrom
rozzilla:feat/frontend/add-api-application-http-call
Feb 19, 2025
Merged

feat(frontend): add api application http call#18
mcollina merged 10 commits intoplatformatic:mainfrom
rozzilla:feat/frontend/add-api-application-http-call

Conversation

@rozzilla
Copy link
Copy Markdown
Contributor

@rozzilla rozzilla commented Feb 18, 2025

Retrieve live data related to the running wattpm instance.

QA done locally ✅

wattpm not running
image

wattpm running
image

rozzilla and others added 7 commits February 18, 2025 18:04
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
}
}

return {}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is empty, we should not be showing anything, but a page reporting "start a watt application"

pltVersion,
lastStarted
}
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are more than one, we'd need to show a selector for the application.

@rozzilla rozzilla requested a review from mcollina February 19, 2025 11:59
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
@mcollina
Copy link
Copy Markdown
Member

Take the latest tag: curl https://registry.npmjs.org/wattpm | jq '.["dist-tags"].latest'

Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit eb43adb into platformatic:main Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants