Skip to content

Commit

Permalink
Tooltips content fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baudelotphilippe committed Jun 7, 2024
1 parent 43967ad commit 073351d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions izanami-frontend/src/components/ConditionInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ function ConditionInput(props: { index: number }) {
<label>
Strategy to use
<Tooltip id="user-strategy">
All activate this rule for every user.
All - activate this rule for every user.
<br />
Percentage activate this rule only for the given percentage of
Percentage - activate this rule only for the given percentage of
users.
<br />
User list activates this rule only for specified users.
User list - activate this rule only for specified users.
<br />
Both time rule and user rule must be active to activate this
condition.
Expand Down
4 changes: 2 additions & 2 deletions izanami-frontend/src/components/FeatureForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ function LegacyFeatureForm(props: {
<label>
Enabled
<Tooltip id="legacy-enabled">
Wether feature is enabled or disabled. Disabled feature is
Whether feature is enabled or disabled. The disabled feature is an
inactive event if its conditions match.
</Tooltip>
<input
Expand Down Expand Up @@ -1003,7 +1003,7 @@ export function V2FeatureForm(props: {
<label className="mt-3">
Enabled
<Tooltip id="modern-enabled">
Wether feature is enabled or disabled. Disabled feature is
Whether feature is enabled or disabled. The disabled feature is an
inactive event if its conditions match.
</Tooltip>
<input
Expand Down
2 changes: 1 addition & 1 deletion izanami-frontend/src/components/WasmInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function WasmInput() {
<span>
Open Policy Agent
<Tooltip id="opa">
Wether your script is an Open Policy Agent script.
Whether your script is an Open Policy Agent script.
</Tooltip>
</span>
<input
Expand Down
6 changes: 3 additions & 3 deletions izanami-frontend/src/pages/queryBuilder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export function QueryBuilder() {
<label className="w-100">
Existing url
<Tooltip id="paste_url">
Paste an existing URL to fill below fields
Paste an existing URL to fill below fields.
</Tooltip>
<div className="input-group">
<input
Expand Down Expand Up @@ -239,7 +239,7 @@ export function QueryBuilder() {
<label className="w-100">
Projects&nbsp;
<Tooltip id="projects">
All features of these projects will be evaluated
All features of these projects will be evaluated.
</Tooltip>
<Select
value={projectOptions?.filter(({ value }) =>
Expand All @@ -260,7 +260,7 @@ export function QueryBuilder() {
Features (Project) &nbsp;
<Tooltip id="features" position="top">
These features will be evaluated, even if their projects are
not selected
not selected.
</Tooltip>
<Select
value={featureOptions?.filter(
Expand Down
10 changes: 5 additions & 5 deletions izanami-frontend/src/pages/tenantSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ function IzanamiV1ImportForm(props: {
Inline WASM scripts as Base64
<Tooltip id="inline-scripts">
<div>
Wether Izanami should store wasm script in its own database
Whether Izanami should store Wasm script in its own database
</div>
<div>(inBase64 format) or rely on Wasmo</div>
<div>to provide scripts at runtime. </div>
Expand Down Expand Up @@ -513,7 +513,7 @@ function IzanamiV1ImportForm(props: {
<label className="mt-3">
Timezone
<Tooltip id="import-timezone">
Timezine to use for date/time in imported scripts.
Timezone to use for date/time in imported scripts.
</Tooltip>
<Controller
name="zone"
Expand All @@ -535,7 +535,7 @@ function IzanamiV1ImportForm(props: {
project
</div>
<div>
from its name,by splitting it into project / name
from its name, by splitting it into project / name
combination.
</div>
</Tooltip>
Expand Down Expand Up @@ -574,7 +574,7 @@ function IzanamiV1ImportForm(props: {
>
Import in a new project
<Tooltip id="import-in-new-project">
Wether to import feature in a new or an existing project
Whether to import feature in a new or an existing project.
</Tooltip>
<input
type="checkbox"
Expand All @@ -594,7 +594,7 @@ function IzanamiV1ImportForm(props: {
<label className="mt-3">
Target project
<Tooltip id="target-existing-project">
Project to import features into
Project to import features into.
</Tooltip>
<Controller
name="project"
Expand Down

0 comments on commit 073351d

Please sign in to comment.