A Thousand Ships
68f638cf02
Use (r)find_char
instead of (r)find
for single characters
2024-11-17 10:02:18 +01:00
Pāvels Nadtočajevs
f5fad7592f
Use processed filter list for native dialogs.
2024-11-15 12:08:33 +02:00
Pāvels Nadtočajevs
932b2269f8
Fix missing native file dialog title translation.
2024-11-14 14:48:52 +02:00
kobewi
ad8ede2411
Restore original root name if renaming instance to empty
2024-11-12 20:29:10 +01:00
Thaddeus Crews
646cef2ca2
Merge pull request #98680 from jaydensipe/expose-toast-notification-methods
...
Expose `get_editor_toaster` method to `EditorInterface`
2024-11-12 12:13:22 -06:00
Thaddeus Crews
9374e8da32
Merge pull request #97946 from WhalesState/editor-spin-slider
...
Fix `EditorSpinSlider` grabber `TextureRect` doesn't follow parent when scrolling.
2024-11-12 09:27:42 -06:00
Jayden Sipe
722d932466
Expose toast notification methods
2024-11-11 19:39:33 -05:00
Thaddeus Crews
cea186af2a
Merge pull request #98797 from KoBeWi/toastkill_f
...
Close toasts instantly when Close button is pressed
2024-11-11 14:18:38 -06:00
Thaddeus Crews
563355637e
Merge pull request #97722 from dustdfg/fix_wrong_groups_tooltip
...
Fix tooltip message of button that opens groups/signals dock
2024-11-11 14:18:13 -06:00
Michael Alexsander
bb07b2d619
Add a lock toggle to prevent involuntary bottom editor switching
2024-11-11 12:09:57 -03:00
kobewi
cb7304662b
Close toasts instantly when Close button is pressed
2024-11-10 21:23:48 +01:00
Thaddeus Crews
0f5f3bc954
Merge pull request #98558 from jasonmorgado/add-track-filter
...
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Add type filters to AnimationPlayer's "Add Track"
2024-11-10 12:13:10 -06:00
Thaddeus Crews
297ceda96d
Merge pull request #98794 from KoBeWi/programming_a_toaster_aka_internet_of_things
...
Improve EditorToaster code
2024-11-10 12:13:00 -06:00
Thaddeus Crews
63838c936c
Merge pull request #98278 from a-johnston/fuzzy-search-rebase
...
Add fuzzy string matching to quick open search
2024-11-10 12:12:56 -06:00
Jason Morgado
d5176757c0
Add type filters to AnimationPlayer's "Add Track"
...
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-11-09 10:14:06 -05:00
Felix Yuan
f491d2fe24
Don't try to move selection if there are no visible elements
2024-11-09 01:29:44 -08:00
Thaddeus Crews
89a311205f
Style: Apply clang-tidy
fixes
...
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
kobewi
025976dc45
Improve EditorToaster code
2024-11-03 14:16:22 +01:00
Thaddeus Crews
696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
...
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Thaddeus Crews
b7a0971ad2
Merge pull request #97934 from adamscott/give-AThousandShips-a-break
...
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
2024-10-29 19:25:36 -05:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
Adam Johnston
3ac043c508
Add fuzzy string matching to quick open search
...
Co-authored-by: sam <samsface@gmail.com>
2024-10-28 11:24:36 -07:00
Thaddeus Crews
cf313e4492
Merge pull request #96786 from passivestar/spin-slider-focus-fix
...
Fix EditorSpinSlider blocking viewport from getting focus
2024-10-25 13:03:47 -05:00
Adam Scott
0d350e7108
Set clang-format RemoveSemicolon
rule to true
...
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Thaddeus Crews
975f42227f
Merge pull request #97706 from lalitshankarchowdhury/fix-create-folder
...
Display proper message on invalid folder path
2024-10-21 16:39:10 -05:00
Clay John
f6279ffd56
Merge pull request #97885 from timothyqiu/useful-tooltip
...
Make `EditorFileDialog`'s Recent and Fav list show full path in tooltip
2024-10-17 16:53:55 -07:00
Lalit Shankar Chowdhury
25687c5b99
Display proper message on invalid folder path
2024-10-17 13:06:48 +05:30
Jayden Sipe
7261321d34
Show correct icons in EditorDebuggerRemoteObject
2024-10-15 16:40:16 -04:00
Mounir Tohami
5862da6f90
Fix EditorSpinSlider
grapper TextureRect
doesn't follow parent when scrolling.
2024-10-07 18:34:39 +00:00
Haoyu Qiu
ecb56fca26
Make EditorFileDialog's Recent and Fav list show full path in tooltip
2024-10-06 21:32:31 +08:00
Rémi Verschelde
db66bd35af
Merge pull request #97820 from passivestar/quick-open-bg
...
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Fix quick open background panel style
2024-10-04 22:44:00 +02:00
Rémi Verschelde
0d1873da9c
Merge pull request #95544 from KoBeWi/clean_code™
...
Misc code cleanup in EditorFileDialog
2024-10-04 22:43:13 +02:00
passivestar
08af57fb86
Fix quick open background panel style
2024-10-05 00:20:19 +04:00
Rémi Verschelde
3b41f73105
Merge pull request #80473 from KoBeWi/they're_the_same_picture
...
Unify make dir and duplicate dialogs
2024-10-03 15:27:04 +02:00
Stijn Hinlopen
6d23fac021
Fix crash in QuickOpenDialog because of double free.
2024-10-02 19:42:07 +02:00
kobewi
e2a96dde48
Unify make dir and duplicate dialogs
2024-10-02 14:57:37 +02:00
Yevhen Babiichuk (DustDFG)
4a5ae8c388
Fix tooltip message of button that opens groups/signals dock
...
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-02 13:35:12 +03:00
Stijn Hinlopen
06791e1acd
New Quick Open Dialog
...
- Updated list view with thumbnails, and separate file name.
- Added a grid view which has larger icons.
- Added toggle to filter out files from addons.
- Store history for each opened resource type.
New Editor settings for Quick Open:
- Startup display mode (grid or list):
- Determined by the requested resource type.
- Whatever was last used.
- Toggle to filter out files from addons (for persistence).
Notes
- The dialog is now created once in EditorNode, and globally available for other components.
- A fixed number of result scenes are instantiated, and reused based on query.
- Drop support for multiselect.
2024-10-01 21:39:16 +02:00
Haoyu Qiu
38579a1e84
Unify editor version buttons
2024-09-28 23:26:23 +08:00
Rémi Verschelde
645af49919
Merge pull request #97488 from KoBeWi/zakaz_tłumaczeń
...
Disable auto translation in EditorDirDialog
2024-09-26 18:45:53 +02:00
Rémi Verschelde
344ce2b047
Merge pull request #97344 from pafuent/editor_file_dialog_filter_sort
...
Add filter & sort to editor file dialog
2024-09-26 18:45:24 +02:00
Pablo Andres Fuente
163753949e
Add filter & sort to editor file dialog
...
Closes https://github.com/godotengine/godot-proposals/issues/2721
On `EditorFileDialog`:
* Add filter box that only shows folders and files in current directory that match
* Add sort button to sort files and directories
* Add a shortcut for CTRL+F for selecting the filter box
Also moved common code between `EditorFileDialog` and `FileSystemDock`
to it's own file.
Co-authored-by: fox <12120644+foxydevloper@users.noreply.github.com>
2024-09-26 11:08:13 -03:00
kobewi
4b734aeda9
Disable auto translation in EditorDirDialog
2024-09-26 14:28:48 +02:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Rémi Verschelde
7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
...
Add translation domain
2024-09-20 16:06:23 +02:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format
changes
2024-09-20 08:09:48 -05:00
Rémi Verschelde
d788205826
Merge pull request #97173 from timothyqiu/drag-preview-translation
...
Set auto translate mode for drag previews
2024-09-19 17:13:50 +02:00
Haoyu Qiu
14321b8ed5
Set auto translate mode for drag previews
...
- Controls
- `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
- `TabBar`: Use the same auto translate mode as the node.
- `RichTextLabel`: Always disable since auto translation is done
differently from other controls (selection text you get
programmatically is always after auto translation).
- Editor
- Disable drag preview auto translation if the text is user input,
filename, or class name.
- Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
kobewi
ad99c79472
Rework creating new folders in editor
2024-09-17 12:40:25 +02:00
Haoyu Qiu
818acb4290
Make editor use translation domains
...
How editor plugins use this feature:
1. Pick a unique translation domain name.
2. `_enter_tree()`: load translations into that translation domain.
3. Call `set_translation_domain()` for its root UI node.
4. `_exit_tree()`: remove that translation domain.
Plugins can also set the translation domain to `godot.editor` for
nested nodes that should use editor translations. `EditorFileDialog`
automatically does this.
2024-09-17 13:09:44 +08:00