-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Writing Flow: Shorter writing prompt #29611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Size Change: -29 B (0%) Total Size: 1.42 MB
ℹ️ View Unchanged
|
Hi Joen. @jasmussen We discussed the issue during a design triage. Here is a link to the discussion: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try this, the current copy has felt a bit convoluted for a while regardless of length. Is there any way we could mark the /
differently? Maybe with <mark>
?
I'd love to explore "or pick a pattern" here too, opening the quick inserter just with patterns
db7369d
to
8d5aa09
Compare
@gziolo I'm struggling with making this string translatable. Do you have a moment to point me in the right direction? I'd like something like:
|
A couple of things that I noticed as well, in order of importance:
One crazier idea would be to show a few 'greyed out blocks' like heading 2, paragraph, or bullets for new users to click on when their page is blank but I'm not sure this would be a better experience (would have to play with it to see how it felt). |
@ellatrix essentially a question about how the |
This is going to be dependant on the theme, as it would inherit the font and style of whichever theme it was seen on.
We actually tried this way back, and although the current design has improved vastly since then, ultimately we found that if the blocks were pre-selected, it quickly became dead weight, and if they were chosen by "frecency", it messed with muscle memory.
Yep, I'll try that as the next step here. Once we have that working we can look at next steps. Thank you! |
Created trac patch here: https://core.trac.wordpress.org/ticket/52948 |
Suggested dev note:
|
I added the dev note to remind of the trac ticket. I don't think we need one. :) |
@jasmussen Done in #30393. |
Recently merged, WordPress/gutenberg#29611, changed the default writing prompt text. WordPress core offers the `write_your_story` filter with a default value using the same text. This change updates the default text to match the recent change in the block editor. Props Joen, SergeyBiryukov. Fixes #52948. git-svn-id: https://develop.svn.wordpress.org/trunk@50647 602fd350-edb4-49c9-b593-d223f7449a82
Recently merged, WordPress/gutenberg#29611, changed the default writing prompt text. WordPress core offers the `write_your_story` filter with a default value using the same text. This change updates the default text to match the recent change in the block editor. Props Joen, SergeyBiryukov. Fixes #52948. git-svn-id: https://develop.svn.wordpress.org/trunk@50647 602fd350-edb4-49c9-b593-d223f7449a82
Recently merged, WordPress/gutenberg#29611, changed the default writing prompt text. WordPress core offers the `write_your_story` filter with a default value using the same text. This change updates the default text to match the recent change in the block editor. Props Joen, SergeyBiryukov. Fixes #52948. Built from https://develop.svn.wordpress.org/trunk@50647 git-svn-id: http://core.svn.wordpress.org/trunk@50259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Recently merged, WordPress/gutenberg#29611, changed the default writing prompt text. WordPress core offers the `write_your_story` filter with a default value using the same text. This change updates the default text to match the recent change in the block editor. Props Joen, SergeyBiryukov. Fixes #52948. Built from https://develop.svn.wordpress.org/trunk@50647 git-svn-id: https://core.svn.wordpress.org/trunk@50259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
* Crudely fork web implementation to remove invariant violations * WIP - Better UI for testing. Reset Autocomplete on delete content * Use a synthetic event to bind onEnter to the autocompletion * Mobile - Move onEnter logic to native Rich Text * Simplify event conformance in native RichText * Remove native variant of block-editor autocomplete This adds the block completer * Use Platform variant to wrap text on native, leaving web unchanged * Extract autocomplete functions * Merge autocomplete variants, and create an autocomplete ui variant * WIP - add Popover library and begin experimenting * Move optional from this to function * WIP - Popover changes * Extract default useItems hook from autocomplete ui * Rename extracted ui for consistency * Remove Popover library. Add UI for the slash inserter selector * Remove lodash usage * Fix preventDefault on Android * Simplify customEditableOnKeyDown stubs * Rename autocompletion slot fill and move to mobile components * Reset scroll position when autocomplete items change * Adjust styles for BlurView (for iOS - needs Android changes) * Update autocompletion item container view styles for Android * Update autocomplete styles * Fix order of imports * Put feature behind __DEV__ flag * Remove mobile wrapper since it no longer uses the label attribute to render the block name * Add missing line break * Update active item styles * Revert "Put feature behind __DEV__ flag" This reverts commit 528a83f. * Add slash-inserter e2e test * Update light-mode active background color for slash complete option * Update placeholder text to hint the slash inserter * Slash inserter animation and active item color update * Styles cleanup * Pass isVisible to useCallback * Adjust autocompleter animation timing * Remove redundant text decoration * Adjust colors * Use shorter writing prompt This is taken from #29611 * Make test description more specific Co-authored-by: Enej Bajgoric <enej.bajgoric@automattic.com> * Styles update * Mobile: Update default text placeholder, fix autocompleter position in Android * Use I with serif for italic format library icon This is to distinguish the character from the slash character to avoid confusion with the slash inserter (especially with the new writing prompt that says to type "/"). * Mobile - Add Slash inserter e2e tests * Unify e2e files * Revert placeholders change * Mark AutocompletionItemsSlot and AutocompletionItemsFill as __unstable * Update styles to BEM naming * Revert "Use I with serif for italic format library icon" This reverts commit c251037. * Fix slash inserter e2e * Fix e2e test on Android * Extract slash inserter assertion into separate function * Extract platform variants for BackgroundView to separate files Co-authored-by: Matthew Kevins <mmkevins@yahoo.com> Co-authored-by: Matthew Kevins <mkevins@users.noreply.github.com> Co-authored-by: Enej Bajgoric <enej.bajgoric@automattic.com>
Recently merged, WordPress/gutenberg#29611, changed the default writing prompt text. WordPress core offers the `write_your_story` filter with a default value using the same text. This change updates the default text to match the recent change in the block editor. Props Joen, SergeyBiryukov. Fixes #52948. Built from https://develop.svn.wordpress.org/trunk@50647 git-svn-id: http://core.svn.wordpress.org/trunk@50259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Description
The current writing prompt is rather verbose when duplicated (#13599), and even when there's only one:
This reduces it:
I like the shorter prompt as it indicates that there's an empty block. The writing feels implied with the reduced block borders.
If we are fans, this needs a core patch (see also #5549).
Checklist: