Repository navigation
feat(timeOff): add, change and delete time off types in Settings - #188
Merged
artem-broccoli merged 13 commits intoNov 8, 2026
Merged
artem-broccoli merged 13 commits into
artem-broccoli merged 13 commits into
Conversation
…er, and polish the type dialog
… and reload a terms stack when shown
…es back when starting over
…p allowance runs from racing a delete
… the type panel while saving
…n column from Time off settings
artem-broccoli
deleted the
artem/bro-247-add-a-time-off-type-and-change-how-it-looks
branch
November 8, 2026 16:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Admins can now add a company time off type, change any type's name, icon, colour and privacy, and delete a type, in Settings › Time off.
/settings/time-off/<id>), like a set of terms. Its fields are edited in place; Cancel and Save appear once something changed. The footer says that name, look and privacy are the same in every set of terms.timeOff.createType,timeOff.changeTypeandtimeOff.deleteType, each with a payloaderror(InvalidInputError;NotFoundErroron change and delete;ConflictErroron delete).TimeOffTypegainsprivate.Screenshots
Settings › Time off:
A type's panel:
Deleting a type:
Add time off type:
A terms stack: "· Private" on private types, and a new type not offered:
Testing
NotFoundError.pnpm check,pnpm test:integration(1073) andpnpm test:e2e(250) pass.pnpm devand the demo workspace:docs/qa/time-off-settings.mdcovers the list, adding, the panel and deleting.Release Notes: