mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-04 02:48:25 +01:00
550028a882
Summary: Depends on D19661. Ref T13077. See PHI840. When a user edits a page normally, add a "Save as Draft" button. Much of this change is around making that button render and behave properly: it needs to be an `<input type="submit" ...>` so browsers submit it and we can figure out which button the user clicked. Then there are a few minor rules: - If you're editing a page which is already a draft, we only give you "Save as Draft". This makes edits to update/revise a draft more natural. - Highlight "Publish" if it's a likely action that you might want to take. Internally, there are two types of edits. Both types create a new version with the new content. However: - A "content" edit sets the version shown on the live page to the newly-created version. - A "draft" edit does not update the version shown on the live page. Test Plan: Edited a published document, edited the draft. Published documents. Reverted documents. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13077 Differential Revision: https://secure.phabricator.com/D19662 |
||
---|---|---|
.. | ||
button | ||
calendar | ||
object-item | ||
workboards | ||
phui-action-list.css | ||
phui-action-panel.css | ||
phui-badge.css | ||
phui-basic-nav-view.css | ||
phui-big-info-view.css | ||
phui-box.css | ||
phui-bulk-editor.css | ||
phui-chart.css | ||
phui-cms.css | ||
phui-comment-form.css | ||
phui-comment-panel.css | ||
phui-crumbs-view.css | ||
phui-curtain-view.css | ||
phui-document-pro.css | ||
phui-document-summary.css | ||
phui-document.css | ||
phui-feed-story.css | ||
phui-fontkit.css | ||
phui-form-view.css | ||
phui-form.css | ||
phui-head-thing.css | ||
phui-header-view.css | ||
phui-hovercard.css | ||
phui-icon-set-selector.css | ||
phui-icon.css | ||
phui-image-mask.css | ||
phui-info-view.css | ||
phui-invisible-character-view.css | ||
phui-left-right.css | ||
phui-lightbox.css | ||
phui-list.css | ||
phui-object-box.css | ||
phui-pager.css | ||
phui-pinboard-view.css | ||
phui-property-list-view.css | ||
phui-remarkup-preview.css | ||
phui-segment-bar-view.css | ||
phui-spacing.css | ||
phui-status.css | ||
phui-tag-view.css | ||
phui-timeline-view.css | ||
phui-two-column-view.css |