Skip to content

Commit

Permalink
feat(salariesByLocation): improve descriptions for salaries input
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom committed Sep 5, 2024
1 parent 00363cb commit c0a021f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions studio/schemas/objects/compensations/salariesByLocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const salariesByLocation = defineField({
name: "salaries",
title: "Salaries by Location",
description:
"Details of the salaries specific to a particular location. Each location should have a unique entry with the yearly salaries for that location.",
"Yearly salary data specific to a particular location. Each location should have a unique entry with the yearly salaries for that location.",
type: "array",
of: [
{
Expand All @@ -28,7 +28,8 @@ export const salariesByLocation = defineField({
defineField({
name: "yearlySalaries",
title: "Yearly Salaries",
description: "Salary tiers for each year",
description:
"Salary data reflecting salaries given to employees for a given year. ",
type: "array",
options: {
sortable: false,
Expand All @@ -46,6 +47,8 @@ export const salariesByLocation = defineField({
defineField({
name: "salaries",
title: "Salaries",
description:
"Salary amounts for each examination year. File upload expects a CSV file (.csv) containing lines of '{year},{salary}', e.g. '2024,600000'.",
type: "string",
components: {
input: SalariesInput,
Expand Down

0 comments on commit c0a021f

Please sign in to comment.