Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/renderer/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export interface Chevron {
/**
* The chevron icon.
*/
// TODO - improve the type here to be more specific about which icons are allowed, if possible
// Note: consider narrowing this type to the specific icons that are allowed.
icon: FC<OcticonProps>;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/core/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { rendererLogError, rendererLogInfo, toError } from './logger';
* This function reads the old unified storage format and splits it into separate stores.
* Should be called once on app startup.
*
* TODO: Remove this migration function in a future major release
* Note: remove this migration function in a future major release
* once all users have migrated from the old Context-based storage format.
*/
export function migrateLegacyStoreToZustand() {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/notifications/formatters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('renderer/utils/notifications/formatters.ts', () => {
});

it('keeps the brand name intact for GitLab to-do items', () => {
// Camel-splitting would render this as "Git Lab Todo".
// Camel-splitting would render this as "Git Lab To-Do".
const notification = mockPartialGitifyNotification({
title: 'Sample',
type: 'GitLabTodo',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/notifications/formatters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function formatProperCase(text: string) {

/**
* Labels for subject types whose camel-case split reads wrong. `GitLabTodo`
* would otherwise render as "Git Lab Todo", because the split fires inside the
* would otherwise render as "Git Lab To-Do", because the split fires inside the
* brand name.
*/
const SUBJECT_TYPE_LABELS: Partial<Record<SubjectType, string>> = {
Expand Down
Loading