Skip to content

Commit 0b80d20

Browse files
mma1504serifluousaren-twiliokodiakhq[bot]
authored
(feat): Add "downgrade to word list" (#4234)
* (feat): Add "downgrade to word list" * Update word-list.json * Update packages/paste-website/src/data/word-list.json Co-authored-by: Aren Goetcherian <98958520+aren-twilio@users.noreply.github.com> * fix: add comma * fix: update expected list length on cypress test --------- Co-authored-by: Sarah <sali@twilio.com> Co-authored-by: Aren Goetcherian <98958520+aren-twilio@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent af95fc8 commit 0b80d20

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cypress/integration/word-list/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe("Word list with filters", function () {
1515
it("should filter the table when a filter string is provided", () => {
1616
cy.get('[data-cy="word-list-table"] tbody tr').as("table-rows");
1717
cy.get('[data-cy="word-list-filter-input"]').click().type("ad");
18-
cy.get("@table-rows").its("length").should("eq", 4);
18+
cy.get("@table-rows").its("length").should("eq", 6);
1919
});
2020

2121
it("should show empty state when nothing returned", () => {

packages/paste-website/src/data/word-list.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"disabled": "Use for conveying a status where the entity or feature is preventing a broader feature to function. \n This is a more technical word that could be perceived as jargon, so consider content best practices (simple words!) and your audience. Use the less technical term 'off' if it won't hinder comprehension or accuracy, or if you're writing for a less technical audience (like marketers).",
2828
"dismiss": "Avoid. Use 'close' instead.",
2929
"done": "Avoid. Use 'finish' or 'close' instead, depending on the use case. Actions more closely describe what will happen when the user clicks the button.",
30+
"downgrade": "Avoid using this.",
3031
"download": "Use as a call to action when a user need to copy data from Twilio to a computer system",
3132
"duplicate": "Use when allowing user to create a replica of an existing item.",
3233
"easy / easily": "Avoid. This contains a value judgement and can make users feel dumb if it doesn't feel easy to them.",
@@ -75,6 +76,8 @@
7576
"success/successfully": "Avoid because it is almost always redundant. For example, instead of saying 'Your account was sucessfully created.' we can say 'Your account was created.'",
7677
"team member": "Don't use 'teammate' or 'team mate'",
7778
"thank you": "Don't use when users completed something they'd do otherwise. Only use when we've asked them to do something extremely inconvenient.",
79+
"update": "Use when you are moving to a newer version (most likely in the context of a minor version). For example, 'Update to the latest version of Flex', 'Auto updates for Flex'.",
80+
"upgrade": "Reserve for bigger updates that will involve a lot of work. Use the term appropriate to the amount of work involved. Consider this spectrum: [Very little work, one click] Update > Upgrade > Migrate [A lot of work, several steps]",
7881
"upload": "Use as a call to action when a user needs to copy data of the same format from a computer system into a Twilio product",
7982
"utilize": "Avoid. Use 'use' instead.",
8083
"us": "Using 'us' when referring to Twilio is okay for in-product content. Avoid in technical documentation.",

0 commit comments

Comments
 (0)