Skip to content

Feature request: Improve the language style of uiTasks #1019

Description

@tickBit

What do you want to see in the API?

Improved language style of uiDailyTasks.ts.

How do you think this should work?

Make every sentence to start with capital letter in src/dailyTasks/uiDailyTasks/uiDailyTasks.ts. Also end each sentence either with a period (.) or question mark (?).

In this part

[UITaskName.HUNTING_FOR_VALUES]: {
    title: { fi: 'Miten ohjenuorasi rakentuu. minkälaisia arvoja edustat?' },
    type: UITaskName.HUNTING_FOR_VALUES,
    points: TASK_CONSTS.POINTS.DAILY_TASK.SMALL,
    coins: 10,
    amount: 1,
    timeLimitMinutes: 60,
  },

should be title: { fi: 'Miten ohjenuorasi rakentuu? Minkälaisia arvoja edustat?' },

Any additional info?

Please check from OPETUSPAKETIN_TEHTÄVÄT, that each daily task is either in uiDailyTasks.ts or in serverTaskName.enum.ts. In the latter the expression is in single quotes and in "task title" on the link page provided. (AI might be able to check that link and the information on those files in seconds)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

changeChange of the existing functionalityfeatureNew feature to add

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions