-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add independent component for side config panel #1505
Add independent component for side config panel #1505
Conversation
2d4d6bd
to
e69734c
Compare
<transition | ||
enter-active-class="transition-transform duration-500 ease-in-out" | ||
leave-active-class="transition-transform duration-0 ease-in-out" | ||
enter-from-class="translate-x-full opacity-0" | ||
enter-to-class="translate-x-0 opacity-100" | ||
leave-from-class="translate-x-0 opacity-100" | ||
leave-to-class="translate-x-full opacity-0" | ||
> | ||
<div | ||
v-if="store.isElementsPropsDrawerVisible && store.editingMode && store.elementToShowOnDrawer" | ||
class="flex fixed w-[250px] h-[78vh] right-0 top-0 border-l-[1px] border-[#FFFFFF44] text-white elevation-5 bg-[#051e2d]" | ||
> | ||
<ElementConfigPanel /> | ||
</div> | ||
</transition> | ||
|
||
<SideConfigPanel position="right"> | ||
<ElementConfigPanel v-if="store.elementToShowOnDrawer?.hash" /> | ||
</SideConfigPanel> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always nice to see this kind of cleaning happening in the code.
Can we also remove the styles and other parts not used anymore in this file?
@@ -27,6 +27,7 @@ export const useAppInterfaceStore = defineStore('responsive', { | |||
configComponent: -1, | |||
isGlassModalAlwaysOnTop: false, | |||
isTutorialVisible: false, | |||
configPanelVisible: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit and the last one should be squashed. One does not function without the other.
@@ -0,0 +1,531 @@ | |||
<template> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were there code changes or was the only modification the change on the name of the file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were code changes, indeed but hidden by the file rename process.
The files now is renamed on its EditMenu implementation commit
e69734c
to
b660812
Compare
Signed-off-by: Arturo Manzoli <[email protected]>
Signed-off-by: Arturo Manzoli <[email protected]>
Signed-off-by: Arturo Manzoli <[email protected]>
b660812
to
0f63aa8
Compare
** As part of the "Extend survey to generic MAVLink commands" implementation