Skip to content

Updates for publishing#2088

Draft
alhambrav wants to merge 9 commits intocraftercms:masterfrom
alhambrav:update-project-tools-publishing
Draft

Updates for publishing#2088
alhambrav wants to merge 9 commits intocraftercms:masterfrom
alhambrav:update-project-tools-publishing

Conversation

@alhambrav
Copy link
Member

Ticket reference or full description of what's in the PR

Update project tools publishing for 5.0

craftercms/craftercms#7769
craftercms/craftercms#6766

@coderabbitai
Copy link

coderabbitai bot commented Feb 16, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Documentation updated to v5.0.0: "Project Tools" terminology applied; publishing UI labels standardized to Package Title, Submission Comment, Publishing Target; unlock-publish flow removed; publish workflows, images, and Publishing Queue/status taxonomy expanded; small workflow/staging wording adjustments.

Changes

Cohort / File(s) Summary
Project Tools — Publishing & Status
source/by-role/common/project-tools/publishing-and-status.rst
Version bumped to 5.0.0. Replaced generic
Author docs — Publish visuals & Submitted
source/by-role/author/index.rst
Increased image display widths for publish workflow illustrations. Added "View Packages" option and dialog to Submitted flow and widened associated visuals. Added Version History Actions/Description table.
Workflow states & Staging
source/by-role/common/project-tools/setting-workflow-states.rst, source/by-role/common/staging.rst
Bumped last‑updated to 5.0.0. Reworded workflow state dialog guidance and added new workflow states ("Clear new", "Clear modified"). Simplified staging wording to reference a unified Publish dialog and adjusted related wording.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • sumerjabri
🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Updates for publishing' is vague and generic, using non-descriptive language that doesn't clearly convey the specific changes made to the codebase. Revise the title to be more specific about the main changes, such as 'Update publishing workflow documentation and UI terminology for 5.0' or 'Update project tools publishing documentation for version 5.0'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description follows the template structure and provides ticket references with a clear summary of the update scope, though it could be more detailed about the specific changes involved.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
source/by-role/common/project-tools/publishing-and-status.rst (2)

91-91: ⚠️ Potential issue | 🟡 Minor

Typo: file extension should be .xml.

The path shows index.xm, which will confuse users.

🛠️ Suggested fix
-- Edit the Home page (/site/website/index.xm) from the command line or anywhere other than Studio
+- Edit the Home page (/site/website/index.xml) from the command line or anywhere other than Studio

151-151: ⚠️ Potential issue | 🟡 Minor

Add missing space in “items(publishing packages)”.

This reads like a typo in the rendered docs.

🛠️ Suggested fix
-The **Publishing Queue** tab allows the user to see the items(publishing packages) that are in the queue for publishing.
+The **Publishing Queue** tab allows the user to see the items (publishing packages) that are in the queue for publishing.
🤖 Fix all issues with AI agents
In `@source/by-role/common/project-tools/publishing-and-status.rst`:
- Around line 159-163: Fix the subject/verb agreement in the heading sentence
that currently reads "Publishing packages contains the following
information:"—change it to "Publishing packages contain the following
information:"; edit the literal phrase in the text block containing "Package
Title", "Publishing Target", and "Submitter" so the plural subject "Publishing
packages" matches the plural verb "contain".
🧹 Nitpick comments (2)
source/by-role/common/project-tools/publishing-and-status.rst (2)

77-77: Fix “commit ids” capitalization.

Use “commit IDs” for standard capitalization in docs.

✏️ Suggested edit
-The **Publish changes made via direct git actions against the repository or pulled from a remote repository** allows the user to publish by tags or commits ids
+The **Publish changes made via direct git actions against the repository or pulled from a remote repository** allows the user to publish by tags or commit IDs

178-178: Remove or convert the “UPDATE NEEDED” note into a tracked task.

Inline TODOs in published docs are easy to miss and may ship to users.

Do you want me to draft a short tracked issue/placeholder note that won’t ship, or convert this into a proper “pending update” admonition block?

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
source/by-role/common/project-tools/publishing-and-status.rst (2)

151-152: ⚠️ Potential issue | 🟡 Minor

Fix missing space in “items(publishing packages)”.

Insert a space after “items” for readability.

📝 Proposed fix
-The **Publishing Queue** tab allows the user to see the items(publishing packages) that are in the queue for publishing.
+The **Publishing Queue** tab allows the user to see the items (publishing packages) that are in the queue for publishing.

77-78: ⚠️ Potential issue | 🟡 Minor

Grammar: “commits ids” → “commit IDs”.

Standardize the plural form.

📝 Proposed fix
-The **Publish changes made via direct git actions against the repository or pulled from a remote repository** allows the user to publish by tags or commits ids
+The **Publish changes made via direct git actions against the repository or pulled from a remote repository** allows the user to publish by tags or commit IDs
🤖 Fix all issues with AI agents
In `@source/by-role/common/project-tools/publishing-and-status.rst`:
- Around line 164-165: Update the text token "Submission comment" to match the
project's capitalization and punctuation by changing it to "Submission Comment:"
so it aligns with other labels; locate the occurrence of the exact string
"Submission comment" (near the adjacent "Status" line) and replace it with
"Submission Comment:" ensuring the capital C and trailing colon are added.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@source/by-role/common/project-tools/publishing-and-status.rst`:
- Line 162: The description for the glossary entry "Publishing Target" is
awkward and uses a slash with a missing article; update the entry for
``Publishing Target`` (the bullet line "* ``Publishing Target``: where package
is published to/to be published") to a clear, grammatically correct phrase such
as "the location where the package is published" or "the target repository or
registry where the package is published" so the intent is unambiguous.
- Line 136: Replace the awkward sentence "Remember to click on the checkbox that
you understand that the entire site will be published" with a clearer, concise
instruction such as: "Please check the box to confirm you understand that
publishing will make the entire site public." Locate the sentence in the
publishing-and-status.rst content where the phrase "click on the checkbox that
you understand that the entire site will be published" appears and substitute
the suggested wording (or a similar concise variant) to improve clarity and
tone.
🧹 Nitpick comments (1)
source/by-role/common/project-tools/publishing-and-status.rst (1)

163-163: Fix inconsistent spacing after colon.

There are two spaces after the colon in the Submitter field description, while other fields use one space.

🔧 Proposed fix
-* ``Submitter``:  user that sent/requested publishing package
+* ``Submitter``: user that sent/requested publishing package

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@source/by-role/common/project-tools/publishing-and-status.rst`:
- Line 198: The bullet "* **Staging Failed**: The package failed to be published
to stage target" uses "stage" instead of the document-preferred "staging";
update that phrase to "staging target" so the line reads "* **Staging Failed**:
The package failed to be published to staging target" and scan nearby bullets
for any other occurrences to ensure consistent use of "staging" throughout the
section.
- Line 171: Update the line that currently reads "* ``Submitted On`` /
``Scheduled For``: schedule for publishing the package" to separate and
correctly describe the two fields: make one entry for "Submitted On" that states
it is the submission timestamp and a separate entry for "Scheduled For" that
states it is the scheduled publish time; reference the exact field names
"Submitted On" and "Scheduled For" when editing the sentence so the meanings are
unambiguous.
- Line 120: The sentence repeats "commit id" — simplify the instruction to
reference the previous step once; replace "Paste the commit id from the step
where we got the commit id, fill in the ``Package Title`` and ``Submission
Comment``, then select the ``Publishing Target``, finally, click on the
``Publish`` button" with a shorter line such as "Paste the commit id from the
previous step, fill in the ``Package Title`` and ``Submission Comment``, select
the ``Publishing Target``, then click the ``Publish`` button" to remove the
duplication while preserving meaning.

In `@source/by-role/common/project-tools/setting-workflow-states.rst`:
- Line 21: Split the long instruction sentence that starts "A dialog will launch
prompting you to set the state for your selection, by clicking on the slider
next to the state you want to set, then click on the ``Confirm`` button" into
two clearer actions: one sentence that tells the user to choose the desired
state by clicking the slider next to it, and a second sentence that tells the
user to click the ``Confirm`` button to apply the change.

In `@source/by-role/common/staging.rst`:
- Line 11: Revise the awkward sentence in source/by-role/common/staging.rst so
it reads more concisely; replace "select to which publishing target to publish
to" with a tighter phrase such as "select the publishing target" (or "select
which publishing target to publish to") to remove the redundancy and improve
readability.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 369192f5-80f2-41c6-86a9-1d9db963bd5b

📥 Commits

Reviewing files that changed from the base of the PR and between 14ac614 and 20bd691.

📒 Files selected for processing (13)
  • source/_static/images/page/page-workflows-request-publish-later.webp
  • source/_static/images/page/page-workflows-request-publish.webp
  • source/_static/images/page/page-workflows-submitted-view-packages-option.webp
  • source/_static/images/page/page-workflows-view-packages-dialog.webp
  • source/_static/images/page/page-workflows.webp
  • source/_static/images/site-admin/project-config-select-state-dialog.webp
  • source/_static/images/site-admin/project-tools-publishing-package.webp
  • source/_static/images/site-admin/project-tools-workflow-states.webp
  • source/_static/images/system-admin/staging-publish-option.webp
  • source/by-role/author/index.rst
  • source/by-role/common/project-tools/publishing-and-status.rst
  • source/by-role/common/project-tools/setting-workflow-states.rst
  • source/by-role/common/staging.rst
✅ Files skipped from review due to trivial changes (1)
  • source/by-role/author/index.rst

@alhambrav
Copy link
Member Author

commit 20bd691: add/edit screens and text for publishing package craftercms/craftercms#7580

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (3)
source/by-role/common/project-tools/setting-workflow-states.rst (1)

21-21: Simplify the instruction flow.

The sentence is improved but still somewhat awkward. The phrase "by clicking on the slider next to the state you want to change" creates a long dependent clause, and there's inconsistency between "choose the state" and "the state you want to change."

✏️ Suggested improvement
-A dialog will launch prompting you to choose the state for your selection, by clicking on the slider next to the state you want to change. Click on the ``Confirm`` button to set the state.
+A dialog will launch prompting you to set the state for your selection. Click the slider next to the desired state, then click the ``Confirm`` button.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@source/by-role/common/project-tools/setting-workflow-states.rst` at line 21,
Replace the awkward single sentence "A dialog will launch prompting you to
choose the state for your selection, by clicking on the slider next to the state
you want to change. Click on the ``Confirm`` button to set the state." with a
simpler, consistent two‑step instruction: state that a dialog will open,
instruct the user to select the desired state by clicking the slider next to
that state, and then tell them to click the "Confirm" button to apply the change
(use "select" consistently instead of mixing "choose" and "change").
source/by-role/common/staging.rst (1)

11-11: Tighten the sentence and fix "setup" → "set up".

The sentence still has minor issues:

  1. "setup" should be "set up" (compound verb form)
  2. "to publish to" has a redundant trailing preposition
  3. The phrasing remains somewhat verbose
✏️ Suggested improvements
-When staging is setup, the **Publish** dialog gives the user the option to select which publishing target to publish to:
+When staging is set up, the **Publish** dialog lets the user select the publishing target:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@source/by-role/common/staging.rst` at line 11, The sentence "When staging is
setup, the **Publish** dialog gives the user the option to select which
publishing target to publish to:" should be tightened and corrected: change
"setup" to "set up", remove the redundant trailing preposition and shorten the
phrasing — for example replace that sentence with "When staging is set up, the
**Publish** dialog lets the user select a publishing target." Locate the
sentence by searching for the original fragment "When staging is setup, the
**Publish** dialog gives the user the option to select which publishing target
to publish to:" and update it accordingly.
source/by-role/common/project-tools/publishing-and-status.rst (1)

120-120: Consider tightening the instruction sequence.

The sentence is improved but "finally" with a comma before the last action makes it slightly awkward. The past review suggested smoother flow.

✏️ Minor refinement
-Paste the commit id from the earlier step, fill in the ``Package Title`` and ``Submission Comment``, then select the ``Publishing Target``, finally, click on the ``Publish`` button
+Paste the commit id from the earlier step, fill in the ``Package Title`` and ``Submission Comment``, select the ``Publishing Target``, then click the ``Publish`` button
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@source/by-role/common/project-tools/publishing-and-status.rst` at line 120,
The sentence "Paste the commit id from the earlier step, fill in the ``Package
Title`` and ``Submission Comment``, then select the ``Publishing Target``,
finally, click on the ``Publish`` button" reads awkwardly; replace the tail with
a smoother sequence such as: "Paste the commit id from the earlier step, fill in
the ``Package Title`` and ``Submission Comment``, select the ``Publishing
Target``, and click the ``Publish`` button" (remove the commaed "finally" clause
and join the final action with "and" for better flow).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@source/by-role/common/project-tools/publishing-and-status.rst`:
- Line 120: The sentence "Paste the commit id from the earlier step, fill in the
``Package Title`` and ``Submission Comment``, then select the ``Publishing
Target``, finally, click on the ``Publish`` button" reads awkwardly; replace the
tail with a smoother sequence such as: "Paste the commit id from the earlier
step, fill in the ``Package Title`` and ``Submission Comment``, select the
``Publishing Target``, and click the ``Publish`` button" (remove the commaed
"finally" clause and join the final action with "and" for better flow).

In `@source/by-role/common/project-tools/setting-workflow-states.rst`:
- Line 21: Replace the awkward single sentence "A dialog will launch prompting
you to choose the state for your selection, by clicking on the slider next to
the state you want to change. Click on the ``Confirm`` button to set the state."
with a simpler, consistent two‑step instruction: state that a dialog will open,
instruct the user to select the desired state by clicking the slider next to
that state, and then tell them to click the "Confirm" button to apply the change
(use "select" consistently instead of mixing "choose" and "change").

In `@source/by-role/common/staging.rst`:
- Line 11: The sentence "When staging is setup, the **Publish** dialog gives the
user the option to select which publishing target to publish to:" should be
tightened and corrected: change "setup" to "set up", remove the redundant
trailing preposition and shorten the phrasing — for example replace that
sentence with "When staging is set up, the **Publish** dialog lets the user
select a publishing target." Locate the sentence by searching for the original
fragment "When staging is setup, the **Publish** dialog gives the user the
option to select which publishing target to publish to:" and update it
accordingly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 834bde82-46c9-48fd-b9b6-a7ce48e6354d

📥 Commits

Reviewing files that changed from the base of the PR and between 20bd691 and edb2c00.

📒 Files selected for processing (3)
  • source/by-role/common/project-tools/publishing-and-status.rst
  • source/by-role/common/project-tools/setting-workflow-states.rst
  • source/by-role/common/staging.rst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants