Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

live preview: Add in new components #5428

Merged
merged 4 commits into from
Jun 19, 2024
Merged

Conversation

hunger
Copy link
Member

@hunger hunger commented Jun 18, 2024

Note: The component can not yet get renamed via the UI, that's up next.

@ogoffart
Copy link
Member

This is the current UI

image

The position of the button is strange. I think it shouldn't be within the list, but outside the list. Possibly in the toolbar.

Currently, clicking on that button adds a component call "MyComponent" in the view (the screen shot i clicked 3 times on it) but it doesn't focus the editor on it and clicking on it in the view also don't focus the editor on it so it is very confusing.

I think we should wait until this is usable before merging this, or hide it under the experimental env variable.

tools/lsp/preview.rs Show resolved Hide resolved
tools/lsp/preview/drop_location.rs Show resolved Hide resolved
tools/lsp/preview/drop_location.rs Outdated Show resolved Hide resolved
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
@hunger hunger merged commit 1f0262c into slint-ui:master Jun 19, 2024
36 checks passed
@hunger hunger deleted the push-wqswzoxrzpvs branch June 19, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants