Commit graph

16 commits

Author SHA1 Message Date
Nigel Breslaw
0357e2e0c4 live-preview: Fix broken header icons (#9587) 2025-10-02 10:38:59 +02:00
szecket
43a3b9a6b3
live-preview: split out the data tab and used menus for widgets (#9148) 2025-08-21 16:11:22 +02:00
szecket
5c438ec7d9
implement MenuBar so we have undo/redo and move the rest over (#9096)
Some checks are pending
CI / cpp_cmake (macos-14, 1.85) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
2025-08-08 01:43:56 +02:00
Olivier Goffart
d9a0fa8964 live-preview: implement undo-redo 2025-08-06 09:42:56 +02:00
szecket
c52fdd71bc
preview: attempting a header change to optimize usability (#6720)
changed the interaction for header view
both library and properties can be shown anytime
and selection is is a toggle button at any time
suggestions:
goes hand in hand with the selection mode
likely requires settings for toggle or single
select.

attempting a header change to optimize usability
TODO: make dragging from library automatically
into edit mode

the toggle that existed is the same as toggling a button - whcih can sit next to the closed library and properties.
properties should be editable while selection is active so those should be openable / visible whether in edit mode or not.

STILL TODO:
- make dragging from library automatically into edit mode
- add settings to either single select 'inspect' button or toggle on off
- change display of active icon OR add icon for toggled mode for clearer display than blue icon for inspect
2024-11-05 18:51:38 +01:00
Tobias Hunger
e0426353a8
live-preview: Improve icons in hide/show sidebar buttons (#6128) 2024-09-13 09:06:02 -04:00
szecket
f79043c70b
live-preview: Prettify the HeaderView (#6117)
* live-preview: Polish the header-view

* live-preview: Clean up the previous patch a bit

---------

Co-authored-by: Tobias Hunger <tobias.hunger@slint.dev>
2024-09-13 23:14:09 +12:00
Tobias Hunger
026e723029 live-preview: Add buttons to hide sidebars 2024-09-11 16:16:18 +02:00
Tobias Hunger
5682b6eae4 live-preview: Remove unnecessary padding rom HeaderView
This makes the combobox less fat and looks much nicer IMHO.
2024-09-11 11:20:07 +02:00
Tobias Hunger
677838de83 live-preview: Only show style dropdown when importing std-widgets 2024-09-10 16:21:57 +02:00
Nigel Breslaw
dd190fe83e Align refresh to the left/start 2024-09-10 14:19:54 +02:00
Tobias Hunger
242ff57d5e live-preview: Add reload preview command to Api
... and make `Ctrl-Shift-R` trigger it in edit mode, in the same broken
way we handle the `Delete` key. It works -- till you hit `Tab` to move
the focus.

We really need #4063 or similar!
2024-09-10 14:19:54 +02:00
Florian Blasius
ed8b05548d
lsp-ui: apply ux feedback for headers (#5628) 2024-07-16 11:57:13 +02:00
Florian Blasius
f32bec395b
Editor: Design Review fixes for library, properties and preview (#5604) 2024-07-11 16:36:57 +02:00
Florian Blasius
4bedeb5489 lsp: switch interact and edit on header 2024-07-10 21:09:57 +02:00
Florian Blasius
b573f1c7d8 Design Review: refactored lsp header 2024-07-10 21:09:57 +02:00