> ## Documentation Index
> Fetch the complete documentation index at: https://docs.teamslate.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Publishing

> Members only see shifts once you publish them. Publish a day or a week, or discard what you don't want.

Publishing makes a day's new and changed shifts visible to the members who work them. Until you publish, you can plan, move and rework shifts freely, and members keep seeing the schedule as it was last published.

## Overview

Teamslate keeps two versions of every shift: the one you're editing and the one members see.

* A **draft** is a shift that has never been published. Only managers see it.
* A **pending change** is an edit to a published shift: new times, a new note, a new position or a new person. Members see the old version until you publish.
* A **pending removal** is a published shift you've removed. Members still see it until you publish.

Publishing is by day. A shift belongs to the day it starts, so an overnight shift is published with the day it begins. Every change on that day of that schedule goes out together.

Why by day? It lets you finish and send out the days you're sure of, such as this weekend, while next week is still taking shape.

Only owners and admins can publish.

## See what's unpublished

* **Actions** on the day board shows a badge with the number of changes waiting.
* The filter bar notes when the day has unpublished changes.
* Each day header on the [week view](https://docs.teamslate.ai/week-view.md) shows its unpublished count.
* The [Overview](https://docs.teamslate.ai/overview.md) lists **Days to publish** for the week.
* Under **Actions > Publish day**, you'll see when the day was last published and by whom, such as "Day last published Nov 23, 9:00 AM by Ana", or **Day not published yet**.

## Publish a day

**1. Open the day**

Open the schedule's [day board](https://docs.teamslate.ai/day-board.md) for the day you want to publish.

**2. Choose Publish day**

Click **Actions > Publish day**. The dialog says what will be published, such as "3 new shifts, 1 change and 1 removal".

**3. Review the checks**

If anything needs a look, such as too little rest or someone over their hours, it's listed. Learn more about [schedule checks](https://docs.teamslate.ai/schedule-checks.md).

**4. Publish**

Click **Publish day**, or **Publish anyway** if there are checks. A toast confirms it, and says how many people were emailed.

When you publish:

* Members see their shifts as they are now.
* Removed shifts disappear.
* If a shift moved to someone else, the old person is told it was removed and the new person is told about a new shift.
* [Unassigned shifts](https://docs.teamslate.ai/unassigned-shifts.md) stay drafts.

## Publish a week

On the week view, click **Actions > Publish week**. Teamslate lists every day this week with changes, all ticked. Untick the days you're not ready to send, review any checks, then click **Publish 3 days** (or however many you chose). Each day is published in turn, exactly as if you'd published it on its own.

## Who is notified

When you publish a day, each member whose shifts that day were added, changed or removed gets one email and an [inbox](https://docs.teamslate.ai/inbox.md) item with their shifts for the day. The day's [day notes](https://docs.teamslate.ai/day-notes.md) and any [holiday](https://docs.teamslate.ai/holidays.md) are included.

* People with no changes that day get nothing.
* You aren't notified about your own shifts when you publish.
* Members can turn off **Shifts published** emails in **Settings > Notifications**. The inbox item still arrives. Learn more about [notifications](https://docs.teamslate.ai/notifications.md).

A failed email never stops the publish.

## Discard changes

Discarding is the reverse of publishing: it throws away a day's unpublished changes and puts the day back to what members see.

1. Click **Actions > Discard changes** on the day board.
2. Read what will be undone, then click **Discard changes**.

Discarding:

* Deletes the day's drafts, including unassigned shifts.
* Puts changed shifts back to their published times, note, position and person.
* Brings back shifts you removed.

Nobody is notified, because members never saw any of it. Discarding can't be undone.

On the week view, **Actions > Discard changes** lets you pick several days and discards each in turn.

## FAQ

> [accordion] I edited a published shift. Why does the member still see the old time?
>
> Edits to published shifts are pending changes. Publish the day to send them out.

> [accordion] Can I unpublish a day?
>
> No. To take a published shift away, remove it and publish the day again. The member is told it was removed.

> [accordion] Do approved swaps need publishing?
>
> No. When a manager approves a swap or give-away, the shift changes hands straight away and members see it. Learn more about [approving swaps](https://docs.teamslate.ai/approving-swaps.md).

> [accordion] Will a member be emailed every time I publish?
>
> Only when their own shifts on that day changed since it was last published.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.