Add article edit + draft preview, move scroll-to-top to FAB#137
Open
malkoG wants to merge 16 commits intohackers-pub:mainfrom
Open
Add article edit + draft preview, move scroll-to-top to FAB#137malkoG wants to merge 16 commits intohackers-pub:mainfrom
malkoG wants to merge 16 commits intohackers-pub:mainfrom
Conversation
Entire-Checkpoint: 48c8ad7f1c73
Entire-Checkpoint: 48c8ad7f1c73
Entire-Checkpoint: 48c8ad7f1c73
Entire-Checkpoint: 48c8ad7f1c73
Entire-Checkpoint: 48c8ad7f1c73
Entire-Checkpoint: 48c8ad7f1c73
Entire-Checkpoint: 492736d83e11
Entire-Checkpoint: 7666dc6ad482
Entire-Checkpoint: 7666dc6ad482
This reverts commit ba69206. Entire-Checkpoint: 0ffbf561c47a
Entire-Checkpoint: 73e97b033601
Entire-Checkpoint: 73e97b033601
Entire-Checkpoint: 21e30816f624
Entire-Checkpoint: f7a1c1d36910
Entire-Checkpoint: fee062eb2705
Entire-Checkpoint: da8d4f518086
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an Edit entry to the article detail action menu (gated by
ARTICLE_EDIT_ENABLED, off by default untilupdateArticleis deployed to prod) that opensComposeArticleScreenpreloaded from the originalArticleContentand commits changes via the newupdateArticlemutation. Also adds a server-rendered preview toggle for draft composition that callssaveArticleDraftand renders the returnedcontentHtml. Lastly, moves scroll-to-top out of the crowded top bar into a circular FAB pinned to the content's top-right that fades in only after scrolling past the fold.Assisted-By: Claude Code(claude-opus-4-7)