mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 18:38:11 +08:00
Parse description from node doc comments (#2089)
* Parse description from node doc comments * Add node description tooltips * Code review --------- Co-authored-by: Adam G <adamgerhant@gmail.com> Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Adam G
Keavon Chambers
parent
8fdecaa487
commit
35f7cfac80
@@ -39,6 +39,16 @@ pub enum FrontendMessage {
|
||||
},
|
||||
DisplayRemoveEditableTextbox,
|
||||
|
||||
// Send prefix: Send global, static data to the frontend that is never updated
|
||||
SendUIMetadata {
|
||||
#[serde(rename = "inputTypeDescriptions")]
|
||||
input_type_descriptions: Vec<(String, String)>,
|
||||
#[serde(rename = "nodeDescriptions")]
|
||||
node_descriptions: Vec<(String, String)>,
|
||||
#[serde(rename = "nodeTypes")]
|
||||
node_types: Vec<FrontendNodeType>,
|
||||
},
|
||||
|
||||
// Trigger prefix: cause a browser API to do something
|
||||
TriggerAboutGraphiteLocalizedCommitDate {
|
||||
#[serde(rename = "commitDate")]
|
||||
@@ -245,10 +255,6 @@ pub enum FrontendMessage {
|
||||
id: NodeId,
|
||||
value: String,
|
||||
},
|
||||
UpdateNodeTypes {
|
||||
#[serde(rename = "nodeTypes")]
|
||||
node_types: Vec<FrontendNodeType>,
|
||||
},
|
||||
UpdateOpenDocumentsList {
|
||||
#[serde(rename = "openDocuments")]
|
||||
open_documents: Vec<FrontendDocumentDetails>,
|
||||
|
||||
Reference in New Issue
Block a user