1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Thaddeus Crews
fe9cdea92c Merge pull request #106947 from Meorge/feat/quick-load-preview
Allow Quick Open dialog to preview change in scene
2025-10-21 15:11:04 -05:00
kobewi
be53dd3d04 Fix Quick Open history 2025-09-30 14:26:14 +02:00
Malcolm Anderson
2f1e8dad74 Add Instant Preview to Quick Open dialog
Add toggle for instant preview

Always keep search box selected so that keyboard navigation works

Add default setting for Instant Preview

Directly set property value for resource via Quick Load menu (no undo/redo or dirty-scene functionality yet)

Add undo/redo functionality

Update class reference

Update doc/classes/EditorSettings.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Slight improvement(?) to wording of setting

Allow previewing without committing change

Address various suggestions/improvements

Only allow Instant Preview to be used if Quick Open menu is being used to modify a property

Only allow property-based Quick Load when resource to modify is defined (otherwise default to old behavior)

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Address comments/suggestions

Get rid of duplicated code and use original callback strategy

(Attempt to) fix Instant Preview for editing multiple nodes at once and undo/redo stack for single nodes

Fix cancelling Quick Open when multiple nodes are selected

Prevent initially selected item in Quick Open dialog from overwriting the currently selected property

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Make a few changes/improvements based on feedback

- Combine some duplicated code into `_finish_dialog_setup()`
- Move `ERR_FAIL_NULL(p_obj);` to top of checks
- Fix renaming of `is_instant_preview_enabled()` across code, and remove now-redundant conditions where it is used
- Make `EditorResourcePicker::property_path` be `StringName` not `String`
2025-09-29 15:12:21 -07:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
LuoZhihao
0c74c0978f Fix Resource doesn't update when overwritten in editor 2025-06-29 01:08:11 +08:00
Malcolm Anderson
cf56390e81 Improve description of fuzzy matching in editor settings documentation
Update doc/classes/EditorSettings.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Update `max_fuzzy_misses` docs and "Fuzzy Search" tooltip to match `enable_fuzzy_matching`

Improve examples used and remove "middle of the filename" description

Apply suggestions from code review

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update doc/classes/EditorSettings.xml

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Improve phrasing for `enable_fuzzy_matching` description

Update doc/classes/EditorSettings.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Semicolons
2025-06-13 08:28:36 -07:00
Pāvels Nadtočajevs
22b5a2fc5c Change editor button focus mode to FOCUS_ACCESSIBILITY. 2025-06-08 15:53:27 +03:00
Rémi Verschelde
1dc398885a Merge pull request #107108 from Meorge/feat/what-is-fuzzy
Describe "Fuzzy Search" in Quick Open tooltip
2025-06-05 13:13:44 +02:00
Malcolm Anderson
24a1d2d11c Provide a description of fuzzy search
Update editor/gui/editor_quick_open_dialog.cpp

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-06-04 08:18:52 -07:00
Lukas Tenbrink
963c20565b Remove OAHashMap, in favour of AHashMap.
The two types had (mostly) the same decisions, but `AHashMap` is a faster implementation, and is more consistent with `HashMap`.
2025-05-31 15:50:10 +02:00
Haoyu Qiu
88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
Haoyu Qiu
f7a0b6b7cf Fix group name completion for get_node_count_in_group 2025-04-28 19:42:01 +08:00
dementive
b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04:00
Pāvels Nadtočajevs
5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Thaddeus Crews
0d267e7b1e Core: Add dedicated BitField template 2025-04-11 11:53:26 -05:00
Pāvels Nadtočajevs
302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
kobewi
fb2e9c7ba7 Cleanup QuickOpenDialog history and fix UID errors 2025-04-03 16:21:22 +02:00
Adam Johnston
163c8be884 Remove file limit for quick open window 2025-03-13 02:14:05 -07:00
kobewi
7f0d81c433 Improve path handling in EditorQuickOpenDialog 2025-02-10 22:16:24 +01:00
MewPurPur
779f5fb962 Tweak Quick Open theming 2025-02-07 11:41:32 +02:00
kobewi
e167f4df37 Remember QuickOpenDialog history between sessions 2025-01-03 11:51:28 +01:00
hakro
cf8376ba1f Add a context menu to quick open dialog 2025-01-02 20:05:51 +01:00
Chaosus
9a8d6628de [Scene] Add SceneStringName::hover 2024-12-11 11:11:25 +03: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
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
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
passivestar
08af57fb86 Fix quick open background panel style 2024-10-05 00:20:19 +04:00
Stijn Hinlopen
6d23fac021 Fix crash in QuickOpenDialog because of double free. 2024-10-02 19:42:07 +02: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