Skip to content

Commit

Permalink
chore: use simpler text in sub-menus
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed Oct 24, 2023
1 parent 116230b commit 93900ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/example-grid-menu.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ describe('Example - Grid Menu', () => {

it('should open Export->Excel context sub-menu then open Feedback->ContactUs sub-menus and expect previous Export menu to no longer exists', () => {
const subCommands1 = ['Text', 'Excel'];
const subCommands2 = ['Request update from shipping team', '', 'Contact Us'];
const subCommands2 = ['Request update from supplier', '', 'Contact Us'];
const subCommands2_1 = ['Email us', 'Chat with us', 'Book an appointment'];

const stub = cy.stub();
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/example-plugin-contextmenu.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ describe('Example - Context Menu & Cell Menu', () => {

it('should open Export->Excel sub-menu then open Feedback->ContactUs sub-menus and expect previous Export menu to no longer exists', () => {
const subCommands1 = ['Text', 'Excel'];
const subCommands2 = ['Request update from shipping team', '', 'Contact Us'];
const subCommands2 = ['Request update from supplier', '', 'Contact Us'];
const subCommands2_1 = ['Email us', 'Chat with us', 'Book an appointment'];

const stub = cy.stub();
Expand Down Expand Up @@ -859,7 +859,7 @@ describe('Example - Context Menu & Cell Menu', () => {

it('should open Export->Excel context sub-menu then open Feedback->ContactUs sub-menus and expect previous Export menu to no longer exists', () => {
const subCommands1 = ['Text', 'Excel'];
const subCommands2 = ['Request update from shipping team', '', 'Contact Us'];
const subCommands2 = ['Request update from supplier', '', 'Contact Us'];
const subCommands2_1 = ['Email us', 'Chat with us', 'Book an appointment'];

const stub = cy.stub();
Expand Down
2 changes: 1 addition & 1 deletion examples/example-grid-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ <h2>View Source:</h2>
{
command: 'feedback', title: 'Feedback',
commandItems: [
{ command: "request-update", title: "Request update from shipping team", iconCssClass: "sgi sgi-tag-outline", tooltip: "this will automatically send an alert to the shipping team to contact the user for an update" },
{ command: "request-update", title: "Request update from supplier", iconCssClass: "sgi sgi-tag-outline", tooltip: "this will automatically send an alert to the shipping team to contact the user for an update" },
"divider",
{
command: 'sub-menu', title: 'Contact Us', iconCssClass: "sgi sgi-user", subMenuTitle: "contact us...", subMenuTitleCssClass: "italic",
Expand Down
4 changes: 2 additions & 2 deletions examples/example-plugin-contextmenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ <h2>View Source:</h2>
{
command: 'feedback', title: 'Feedback',
commandItems: [
{ command: "request-update", title: "Request update from shipping team", iconCssClass: "sgi sgi-star", tooltip: "this will automatically send an alert to the shipping team to contact the user for an update" },
{ command: "request-update", title: "Request update from supplier", iconCssClass: "sgi sgi-star", tooltip: "this will automatically send an alert to the shipping team to contact the user for an update" },
"divider",
{
command: 'sub-menu', title: 'Contact Us', iconCssClass: "sgi sgi-user", subMenuTitle: "contact us...", subMenuTitleCssClass: "italic",
Expand Down Expand Up @@ -481,7 +481,7 @@ <h2>View Source:</h2>
{
command: 'feedback', title: 'Feedback',
commandItems: [
{ command: "request-update", title: "Request update from shipping team", iconCssClass: "sgi sgi-tag-outline", tooltip: "this will automatically send an alert to the shipping team to contact the user for an update" },
{ command: "request-update", title: "Request update from supplier", iconCssClass: "sgi sgi-tag-outline", tooltip: "this will automatically send an alert to the shipping team to contact the user for an update" },
"divider",
{
command: 'sub-menu', title: 'Contact Us', iconCssClass: "sgi sgi-user", subMenuTitle: "contact us...", subMenuTitleCssClass: "italic",
Expand Down

0 comments on commit 93900ec

Please sign in to comment.