Skip to content

Commit

Permalink
Add WorkflowProperties event and group with Marker and SAUpsert into …
Browse files Browse the repository at this point in the history
…new Other group
  • Loading branch information
Alex-Tideman committed Jul 19, 2024
1 parent 2d20650 commit 6d612fb
Show file tree
Hide file tree
Showing 9 changed files with 592 additions and 56 deletions.
6 changes: 2 additions & 4 deletions src/lib/components/lines-and-dots/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,13 @@ export const DetailsConfig: GraphConfig = {
export const CategoryIcon: Record<EventTypeCategory, IconName> = {
workflow: 'workflow',
signal: 'signal',
command: 'terminal',
activity: 'activity',
marker: 'marker',
nexus: 'nexus',
timer: 'retention',
'local-activity': 'feather',
'child-workflow': 'relationship',
update: 'update',
other: 'terminal',
};

export const timelineTextPosition = (
Expand Down Expand Up @@ -298,8 +297,7 @@ export const getStatusColor = (

export const getCategoryColor = (type: EventTypeCategory): string => {
switch (type) {
case 'command':
case 'marker':
case 'other':
case 'local-activity':
return '#ebebeb';
case 'timer':
Expand Down
1 change: 1 addition & 0 deletions src/lib/i18n/locales/en/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const Strings = {
activity: 'Activity',
'child-workflow': 'Child Workflow',
command: 'Command',
other: 'Other',
'local-activity': 'Local Activity',
marker: 'Marker',
nexus: 'Nexus',
Expand Down
Loading

0 comments on commit 6d612fb

Please sign in to comment.