Skip to content

Commit

Permalink
Update tooltip texts (#85)
Browse files Browse the repository at this point in the history
Signed-off-by: Nik Nasr <[email protected]>
  • Loading branch information
nikrooz authored Nov 6, 2024
1 parent f9b702b commit 8304552
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion libs/features/explainers/src/lib/HandlerType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const TITLES: Record<HandlerType, string> = {

const DESCRIPTIONS: Record<HandlerType, string> = {
Exclusive:
'A handler with exclusive access to state during execution. For any object, only one exclusive handler can run at a time, giving that handler exclusive ownership of the object and state. Invocations are queued into infinitely fine-grained virtual queues.',
"A handler with exclusive access to a Virtual Object's state while it executes. For any specific object, only one exclusive handler can operate concurrently, granting it exclusive control over the object and its state. If multiple invocations target the same Virtual Object key, they will be queued by Restate.",
Shared:
"Handler that executes concurrently to the others and doesn't have write access to the K/V state",
Workflow:
Expand Down
2 changes: 1 addition & 1 deletion libs/features/explainers/src/lib/ServiceType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const TITLES: Record<ServiceType, string> = {

const DESCRIPTIONS: Record<ServiceType, string> = {
Service:
'Services expose a collection of durably executed handlers. They do not have any concurrency limits nor K/V store.',
'Services expose a collection of durably executed handlers. They are stateless functions that can run with high parallelism.',
VirtualObject:
'Virtual objects expose a set of durably executed handlers with access to K/V state stored in Restate. To ensure consistent writes to the state, Restate provides concurrency guarantees for Virtual Objects.',
Workflow:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function AdditionalHeaders() {
Additional headers
</span>
<span slot="description" className="leading-5 text-code block">
Headers added to the discover/invoke requests to the deployment.
Headers added to the register/invoke requests to the deployment.
</span>
</FormFieldLabel>
{list?.items.map((item) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function RegistrationForm() {
{isConfirm && (
<Container
title="Services"
description="Please confirm the list of services discovered in the deployment."
description="Please confirm the list of registered services in this deployment."
>
<RegisterDeploymentResults />
</Container>
Expand Down
6 changes: 3 additions & 3 deletions libs/features/overview-route/src/lib/overview.route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function OneDeploymentPlaceholder() {
<ServiceDeploymentExplainer>
service deployments
</ServiceDeploymentExplainer>{' '}
so Restate can discover and register your{' '}
so Restate can register your{' '}
<ServiceExplainer>services</ServiceExplainer> and handlers
</p>
<div className="mt-4">
Expand All @@ -77,8 +77,8 @@ function NoDeploymentPlaceholder() {
</ServiceDeploymentExplainer>
</h3>
<p className="text-sm text-gray-500 px-4 max-w-md">
Point Restate to your deployed services so Restate can discover and
register your <ServiceExplainer>services</ServiceExplainer> and handlers
Point Restate to your deployed services so Restate can register your{' '}
<ServiceExplainer>services</ServiceExplainer> and handlers
</p>
<div className="mt-4">
<TriggerRegisterDeploymentDialog />
Expand Down

0 comments on commit 8304552

Please sign in to comment.