Skip to content

Commit

Permalink
Merge pull request #459 from aecreations/branches/7.0-mv3
Browse files Browse the repository at this point in the history
Branches/7.0-mv3
  • Loading branch information
aecreations authored Jun 5, 2024
2 parents 52edeb2 + 0efc3bb commit 9970211
Show file tree
Hide file tree
Showing 15 changed files with 575 additions and 387 deletions.
99 changes: 1 addition & 98 deletions test/more-placeholders.json
Original file line number Diff line number Diff line change
@@ -1,98 +1 @@
{
"version": "6.1",
"createdBy": "Clippings/wx",
"userClippingsRoot": [
{
"name": "New demo clippings",
"children": [
{
"name": "Multi-select placehldr w/ default value containing special chars",
"content": "$[NAME]\n\n$[PlaceholderWithSpecialChars{Whoa!|This is OK?|Foo/bar _baz_|La-a|Censored profanity: @#%&!|The \"Best\" thing 'ever'|Lotsa Ca$h|£22.00 ea., in GBP|¥99 Japanese Yen|süß (German for «sweet» as in taste)|EUR €99.88|*Hello, world!?*|¡Hola! 89¢ per item}]\n\nTested with love on $[HOSTAPP]",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 0
},
{
"name": "Normal placeholder w/ default value containing special chars",
"content": "$[NAME]\nHello, cruel world!\n\n$[PlaceholderWithSpecialChars{Whoa! This is OK? Foo/bar _baz_ La-a is an actual name! Censored profanity: @#%&! The \"Best\" thing 'ever'. Lotsa Ca$h: £22.00 ea. in GBP, ¥99 Japanese Yen... süß (German for «sweet» as in taste) ... EUR €99.88 -- *Hello, world!?* ¡Hola! 89¢ per item}]\n\nGoodbye, cruel world!",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 2
},
{
"name": "Moment.js test",
"content": "Today's date and time, expressed in various formats:\n\nDefault date: $[DATE]\nLong format: $[DATE(MMMM D, YYYY)]\nLong format with abbreviated month: $[DATE(MMM. DD, YYYY)]\nFull format with day of week: $[DATE(dddd, MMMM Do, YYYY)]\nShort American format: $[DATE(MM/DD/YYYY)]\n\nDefault time: $[TIME]\nNorth American time: $[TIME(h:mm A)]\n\nISO date: $[DATE(YYYY-MM-DD)]\nBritish date: $[DATE(D MMMM YYYY)]\n\nMilitary time with seconds: $[DATE(HH:mm:ss)]\n\nDate and time: $[DATE(ddd, MMM DD, YYYY hh:mm a)]\nDate and time as two separate placeholders: $[DATE(dddd, MMMM Do, YYYY)] @ $[TIME(h:mm A)]",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 5
},
{
"name": "Multi-select placehldr w/ default value containing special chars #2",
"content": "$[NAME]\n\n$[PlaceholderWithSpecialChars{Whoa!|This is OK?|Foo/bar _baz_|La-a|Censored profanity: @#%&!|The \"Best\" thing 'ever'|Lotsa Ca$h|£22.00 ea., in GBP|¥99 Japanese Yen|süß (German for «sweet» as in taste)|EUR €99.88|*Hello, world!?*|¡Hola! 89¢ per item}]\n\nTested on $[HOSTAPP] $[beta{beta|}]\n$[UA]",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 1
},
{
"name": "Placeholders used multiple times",
"content": "$[salutation] $[name],\n\nMy name is $[senderName{Adrianna|Casi|Holly|Jewelya|Poesia|Riley|Taya|Veronica}]. I think you are awesome! Keep doing what you're doing, $[name]!\n\nHave a nice day, $[name]! :)\n\n$[closing{Yours truly|Best regards|Love}],\n\n$[senderName]",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 3
},
{
"name": "Single placeholder used multiple times",
"content": "Hello $[name], how are you? It was really nice meeting you, $[name]. Have a nice day, $[name]!",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 4
}
],
"seq": 1
},
{
"name": "Placeholder values with Symbols & Emoji",
"children": [
{
"name": "Symbols and emoji",
"content": "Arrows: $[arrows{←|→|⇑|⇓|⇿}]\nMathematical Operators: $[math{∀|∈|∞|⋿}]\nMiscellaneous Symbols: $[misc{☀|☘|♠|♫|⛩}]\nDingbats: $[dingbats{✅|❌|➿}]\nMiscellaneous Symbols and Pictographs: $[pictographs{🌀|🌎|🌞|🍅|🍕|🏀|👍|💖|💰|🔔|🔥|🗿}]\nEmoticons (Emoji): $[emoji{😀|😃|😄|😆|😎|🙁|🙂|🙏}]\nTransport and Map Symbols: $[transport{🚀|🚘|🚨}]\nSupplemental Symbols and Pictographs: $[supplmtSymbols{🤘|🤠|🤣|🥑|🦷|🧿}]",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 0
},
{
"name": "macOS symbols and emoji",
"content": "Emoji - Smileys and People: $[smileys{😀|👍|🌂}]\nEmoji - Animals and Nature: $[nature{🍄|🌵|🐶|☔}]\nEmoji - Food and Drink: $[food{🍏|🍕|🧂}]\nEmoji - Activity: $[activity{⚽️|🏆|🧩}]\nEmoji - Travel and Places: $[travel{🚗|✈️|⛩|🌁}]\nEmoji - Objects: $[objects{📀|⚙|🔓}]\nEmoji - Symbols: $[symbols{❤️|☮️|❌|🔴|🟦|🔔|🕧}]\nEmoji - Flags: $[flags{🏁|🏴‍☠️|🚩|🏳️|🏴|🏳️‍🌈|🇨🇦|🇺🇸|🇿🇼}]\nBullets and Stars: $[bullets{●|★|☆|❖|※}]\nCurrency: $[currency{¢|€|£|₧}]\nLetter-like: $[letterLike{®|©|™|℅}]\nMath Symbols: $[math{±|×|℮|∅|∑|√}]\nParentheses: $[parens{【|】|‹|›|«|»}]\nPictographs: $[picto{☀|☯|☮|⚑}]\nPunctuation: $[punct{¡|§|¶}]\n**Unsupported Punctuation: $[unsupportedPunct{¡|~}]\nTechnical Symbols: $[tech{⌘|⇥|⌦|⌥|⏏|⎈}]",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 1
},
{
"name": "Embedded symbols and emoji",
"content": "I feel $[emoji{happy 😃|sad 🙁|angry 😡|funny 🤣|cool 😎}]!\n\nMy favorite symbol is: $[symbol{← left arrow|⇒ double right arrow|★ star|® registered trademark}] ",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 2
},
{
"name": "Test Clipping for issue #418",
"content": "Unicode symbols / emojis not supported in placeholders' default values (#418)\n\n$[foo{bar|baz}]\n$[quux{←|→}]\n$[qux{💪|🚀}]",
"shortcutKey": "",
"sourceURL": "",
"label": "",
"seq": 3
}
],
"seq": 2
}
]
}
{"version":"6.1","createdBy":"Clippings/mx","userClippingsRoot":[{"name":"New demo clippings","children":[{"name":"Multi-select placehldr w/ default value containing special chars","content":"$[NAME]\n\n$[PlaceholderWithSpecialChars{Whoa!|This is OK?|Foo/bar _baz_|La-a|Censored profanity: @#%&!|The \"Best\" thing 'ever'|Lotsa Ca$h|£22.00 ea., in GBP|¥99 Japanese Yen|süß (German for «sweet» as in taste)|EUR €99.88|*Hello, world!?*|¡Hola! 89¢ per item}]\n\nTested with love on $[HOSTAPP]","shortcutKey":"","sourceURL":"","label":"","seq":0},{"name":"Normal placeholder w/ default value containing special chars","content":"$[NAME]\nHello, cruel world!\n\n$[PlaceholderWithSpecialChars{Whoa! This is OK? Foo/bar _baz_ La-a is an actual name! Censored profanity: @#%&! The \"Best\" thing 'ever'. Lotsa Ca$h: £22.00 ea. in GBP, ¥99 Japanese Yen... süß (German for «sweet» as in taste) ... EUR €99.88 -- *Hello, world!?* ¡Hola! 89¢ per item}]\n\nGoodbye, cruel world!","shortcutKey":"","sourceURL":"","label":"","seq":2},{"name":"Moment.js test","content":"Today's date and time, expressed in various formats:\n\nDefault date: $[DATE]\nLong format: $[DATE(MMMM D, YYYY)]\nLong format with abbreviated month: $[DATE(MMM. DD, YYYY)]\nFull format with day of week: $[DATE(dddd, MMMM Do, YYYY)]\nShort American format: $[DATE(MM/DD/YYYY)]\n\nDefault time: $[TIME]\nNorth American time: $[TIME(h:mm A)]\n\nISO date: $[DATE(YYYY-MM-DD)]\nBritish date: $[DATE(D MMMM YYYY)]\n\nMilitary time with seconds: $[DATE(HH:mm:ss)]\n\nDate and time: $[DATE(ddd, MMM DD, YYYY hh:mm a)]\nDate and time as two separate placeholders: $[DATE(dddd, MMMM Do, YYYY)] @ $[TIME(h:mm A)]","shortcutKey":"","sourceURL":"","label":"","seq":5},{"name":"Multi-select placehldr w/ default value containing special chars #2","content":"$[NAME]\n\n$[PlaceholderWithSpecialChars{Whoa!|This is OK?|Foo/bar _baz_|La-a|Censored profanity: @#%&!|The \"Best\" thing 'ever'|Lotsa Ca$h|£22.00 ea., in GBP|¥99 Japanese Yen|süß (German for «sweet» as in taste)|EUR €99.88|*Hello, world!?*|¡Hola! 89¢ per item}]\n\nTested on $[HOSTAPP] $[beta{beta|}]\n$[UA]","shortcutKey":"","sourceURL":"","label":"","seq":1},{"name":"Placeholders used multiple times","content":"$[salutation] $[name],\n\nMy name is $[senderName{Adrianna|Casi|Holly|Jewelya|Poesia|Riley|Taya|Veronica}]. I think you are awesome! Keep doing what you're doing, $[name]!\n\nHave a nice day, $[name]! :)\n\n$[closing{Yours truly|Best regards|Love}],\n\n$[senderName]","shortcutKey":"","sourceURL":"","label":"","seq":3},{"name":"Single placeholder used multiple times","content":"Hello $[name], how are you? It was really nice meeting you, $[name]. Have a nice day, $[name]!","shortcutKey":"","sourceURL":"","label":"","seq":4}],"seq":1},{"name":"Placeholder values with Symbols & Emoji","children":[{"name":"Symbols & emoji","content":"Arrows: $[arrows{←|→|⇑|⇓|⇿}]\nMathematical Operators: $[math{∀|∈|∞|⋿}]\nMiscellaneous Symbols: $[misc{☀|☘|♠|♫|⛩}]\nDingbats: $[dingbats{✅|❌|➿}]\nMiscellaneous Symbols and Pictographs: $[pictographs{🌀|🌎|🌞|🍅|🍕|🏀|👍|💖|💰|🔔|🔥|🗿}]\nEmoticons (Emoji): $[emoji{😀|😃|😄|😆|😎|🙁|🙂|🙏}]\nTransport and Map Symbols: $[transport{🚀|🚘|🚨}]\nSupplemental Symbols and Pictographs: $[supplmtSymbols{🤘|🤠|🤣|🥑|🦷|🧿}]","shortcutKey":"","sourceURL":"","label":"","seq":0},{"name":"macOS symbols & emoji","content":"Emoji - Smileys and People: $[smileys{😀|👍|🌂}]\nEmoji - Animals and Nature: $[nature{🍄|🌵|🐶|☔}]\nEmoji - Food and Drink: $[food{🍏|🍕|🧂}]\nEmoji - Activity: $[activity{⚽️|🏆|🧩}]\nEmoji - Travel and Places: $[travel{🚗|✈️|⛩|🌁}]\nEmoji - Objects: $[objects{📀|⚙|🔓}]\nEmoji - Symbols: $[symbols{❤️|☮️|❌|🔴|🟦|🔔|🕧}]\nEmoji - Flags: $[flags{🏁|🏴‍☠️|🚩|🏳️|🏴|🏳️‍🌈|🇨🇦|🇺🇸|🇿🇼}]\nBullets and Stars: $[bullets{●|★|☆|❖|※}]\nCurrency: $[currency{¢|€|£|₧}]\nLetter-like: $[letterLike{®|©|™|℅}]\nMath Symbols: $[math{±|×|℮|∅|∑|√}]\nParentheses: $[parens{【|】|‹|›|«|»}]\nPictographs: $[picto{☀|☯|☮|⚑}]\nPunctuation: $[punct{¡|§|¶}]\n**Unsupported Punctuation: $[unsupportedPunct{¡|~}]\nTechnical Symbols: $[tech{⌘|⇥|⌦|⌥|⏏|⎈}]","shortcutKey":"","sourceURL":"","label":"","seq":1},{"name":"Embedded symbols & emoji","content":"I feel $[emoji{happy 😃|sad 🙁|angry 😡|funny 🤣|cool 😎}]!\n\nMy favorite symbol is: $[symbol{← left arrow|⇒ double right arrow|★ star|® registered trademark}] ","shortcutKey":"","sourceURL":"","label":"","seq":2},{"name":"Test Clipping for issue #418","content":"Unicode symbols / emojis not supported in placeholders' default values (#418)\n\n$[foo{bar|baz}]\n$[quux{←|→}]\n$[qux{💪|🚀}]","shortcutKey":"","sourceURL":"","label":"","seq":3}],"seq":2}]}
Loading

0 comments on commit 9970211

Please sign in to comment.