Skip to content

Add script name on top - #1341

Closed
joey-wheeler99 wants to merge 4 commits into
Redot-Engine:masterfrom
joey-wheeler99:add_script_name_on_top
Closed

Add script name on top#1341
joey-wheeler99 wants to merge 4 commits into
Redot-Engine:masterfrom
joey-wheeler99:add_script_name_on_top

Conversation

@joey-wheeler99

@joey-wheeler99 joey-wheeler99 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick from godotengine/godot@206d4a0.

The previous cherry-pick (#1239) hit a regression.

Summary by CodeRabbit

  • New Features
    • Improved script editor headers with centered, truncated document titles.
    • Added a shared toolbar row for filtering methods and toggling alphabetical sorting.
    • Increased spacing between items in thumbnail-mode file lists.

@joey-wheeler99
joey-wheeler99 requested review from a team August 7, 2026 03:33
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 07c2123f-a89b-478b-b2dc-60cec3e5e0bb

📥 Commits

Reviewing files that changed from the base of the PR and between 89bb193 and fd002e5.

📒 Files selected for processing (3)
  • editor/docks/filesystem_dock.cpp
  • editor/script/script_editor_plugin.cpp
  • editor/script/script_editor_plugin.h

Walkthrough

The editor now adds scaled spacing between filesystem thumbnails. The script editor displays the active script or help title in a centered, ellipsis-trimmed label and moves method filtering and sorting controls into the overview row.

Changes

Filesystem thumbnail spacing

Layer / File(s) Summary
Thumbnail item spacing
editor/docks/filesystem_dock.cpp
Thumbnail-mode file list items now use a horizontal separation of 10 * EDSCALE.

Script editor header

Layer / File(s) Summary
Script title and overview controls
editor/script/script_editor_plugin.cpp, editor/script/script_editor_plugin.h
The script editor uses a visible centered script title label for script and help selections. The label clears when no tab remains. The obsolete filename and icon members are removed. The methods filter and alphabetical-sort toggle move into the overview button row.

Estimated code review effort: 2 (Simple) | ~15 minutes

Possibly related PRs

Suggested labels: enhancement, topic:editor, topic:gui

Suggested reviewers: generalprotectionfault

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

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