Skip to content

Conversation

@jfeingold35
Copy link
Contributor

No description provided.

@@ -0,0 +1,3 @@
module.exports = {
FEEDBACK_SURVEY_BANNER: `What do you think of Salesforce Code Analyzer? Take our feedback survey at https://research.net/r/SalesforceCA.`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a new common messages file instead of putting the banner as a constant.

.it('Ensure normalized severity is not outputted when --normalize-severity not provided', ctx => {
const output = JSON.parse(ctx.stdout);
// The first line is a header. Strip that away, and parse the rest as JSON.
const output = JSON.parse(ctx.stdout.split('\n')[1]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move all the banner-related test fixes to a smaller area (such as a separate module with functions that can be invoked) so that there'll be less code to clean up once we remove the banner?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfeingold35 @rmohan20 I have the same comments as PR 748 and PR 752. Can we discuss Monday afternoon via huddle?

So I would consider this message a toast, so let's follow CCX toast conventions.

My three suggestions:

"We released a new version of Salesforce Code Analyzer. Tell us what you think! Give Feedback."

OR

"We've improved Salesforce Code Analyzer. Tell us what you think! Give Feedback."

OR

"We're constantly improving Salesforce Code Analyzer. Tell us what you think! Give Feedback."

Link on Give Feedback-Can we include a Give Feedback button? To see more of what I'm talking about, check out the "spotlight on a toast" about 25% down this page: https://confluence.internal.salesforce.com/display/DOCTEAM/toast

Copy link
Contributor

@rmohan20 rmohan20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a minor comment about the spread of test changes. Overall, looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants