WIP
Don't rely on contacts popover or contacts list for theming Add metrics id to request body Clean up some code and comments Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
co-authored by
Mikayla Maki
parent
9694771752
commit
0200fc5542
+13
-15
@@ -25,7 +25,7 @@ pub struct Theme {
|
||||
pub command_palette: CommandPalette,
|
||||
pub picker: Picker,
|
||||
pub editor: Editor,
|
||||
// pub feedback_box: Editor,
|
||||
pub feedback: Feedback,
|
||||
pub search: Search,
|
||||
pub project_diagnostics: ProjectDiagnostics,
|
||||
pub breadcrumbs: ContainedText,
|
||||
@@ -120,21 +120,19 @@ pub struct ContactList {
|
||||
pub calling_indicator: ContainedText,
|
||||
}
|
||||
|
||||
// TODO FEEDBACK: Remove or use this
|
||||
// #[derive(Deserialize, Default)]
|
||||
// pub struct FeedbackPopover {
|
||||
// #[serde(flatten)]
|
||||
// pub container: ContainerStyle,
|
||||
// pub height: f32,
|
||||
// pub width: f32,
|
||||
// pub invite_row_height: f32,
|
||||
// pub invite_row: Interactive<ContainedLabel>,
|
||||
// }
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct Feedback {
|
||||
pub feedback_popover: FeedbackPopover,
|
||||
pub feedback_editor: FieldEditor,
|
||||
}
|
||||
|
||||
// #[derive(Deserialize, Default)]
|
||||
// pub struct FeedbackBox {
|
||||
// pub feedback_editor: FieldEditor,
|
||||
// }
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct FeedbackPopover {
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub height: f32,
|
||||
pub width: f32,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct ProjectRow {
|
||||
|
||||
Reference in New Issue
Block a user