Add notice text field to events
Add a general text field for communicating extra information that readers of the schedule should pay special attention to, for example to highight a change made to the event.
This commit is contained in:
parent
9a46ea5af0
commit
f29b1f7afd
4 changed files with 15 additions and 3 deletions
|
@ -21,10 +21,10 @@ function fixtureClientSchedule(multiSlot = false) {
|
|||
|
||||
const events = [
|
||||
new ClientScheduleEvent(
|
||||
1, now, false, "Up", false, "", false, "What's Up?", 0, new Set(multiSlot ? [1, 2] : [1]),
|
||||
1, now, false, "Up", false, "", false, "", "What's Up?", 0, new Set(multiSlot ? [1, 2] : [1]),
|
||||
),
|
||||
new ClientScheduleEvent(
|
||||
2, now, false, "Down", false, "", false, "", 0, new Set(multiSlot ? [] : [2]),
|
||||
2, now, false, "Down", false, "", false, "", "", 0, new Set(multiSlot ? [] : [2]),
|
||||
),
|
||||
];
|
||||
const eventSlots = idMap([
|
||||
|
@ -174,7 +174,7 @@ describe("class ClientSchedule", () => {
|
|||
],
|
||||
[
|
||||
"event",
|
||||
(schedule) => ClientScheduleEvent.create(schedule, 3, "New location", false, "", false, "", 0, new Set(), { zone, locale })
|
||||
(schedule) => ClientScheduleEvent.create(schedule, 3, "New location", false, "", false, "", "", 0, new Set(), { zone, locale })
|
||||
],
|
||||
[
|
||||
"role",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue