Skip to content

Commit

Permalink
[backend] Fix export tags in scenarios and show expectations (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
savacano28 authored Jun 25, 2024
1 parent 03ba3d8 commit 6655128
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public class InjectOutput {
@JsonProperty("inject_teams")
private Set<String> teams;

@JsonProperty("inject_content")
private ObjectNode content;

public InjectOutput(
String id,
String title,
Expand Down Expand Up @@ -85,5 +88,6 @@ public InjectOutput(
);
this.injectType = injectType;
this.teams = teams != null ? new HashSet<>(Arrays.asList(teams)) : new HashSet<>();
this.content = content;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class ScenarioExportMixins {
"scenario_message_header",
"scenario_message_footer",
"scenario_mail_from",
"scenarios_tags",
"scenario_tags",
"scenario_documents",
})
public static class Scenario {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const iconSelector = (type, isPayload, variant, fontSize, done, disabled, onClic
height: fontSize === 'small' || variant === 'inline' ? 20 : 24,
borderRadius: 4,
cursor: onClick ? 'pointer' : 'default',
filter: `${done ? 'filter:hue-rotate(100deg);' : `brightness(${disabled ? '30%' : '100%'})`}`,
filter: `${done ? 'filter:hue-rotate(100deg)' : `brightness(${disabled ? '30%' : '100%'})`}`,
};
if (!type) {
return (
Expand Down Expand Up @@ -52,7 +52,7 @@ const iconSelector = (type, isPayload, variant, fontSize, done, disabled, onClic
width: fontSize === 'small' || variant === 'inline' ? 20 : 24,
height: fontSize === 'small' || variant === 'inline' ? 20 : 24,
borderRadius: 4,
filter: `${done ? 'filter:hue-rotate(100deg);' : `brightness(${disabled ? '30%' : '100%'})`}`,
filter: `${done ? 'filter:hue-rotate(100deg)' : `brightness(${disabled ? '30%' : '100%'})`}`,
}}
/>

Expand Down

0 comments on commit 6655128

Please sign in to comment.