Move instigating source out of contributing paths (#253)

* Refactor contributing_paths into contributing_sources, deleting project node sources

* Instead of changing contributing_paths, add instigating_source

* Remove InstanceMetadata::project_node

* Stop pushing project path to front of contributing_paths since it doesn't matter now

* Remove accidental UI change for path display
This commit is contained in:
Lucien Greathouse
2019-10-04 17:34:05 -07:00
committed by GitHub
parent 2025b8a494
commit 052ca52cc3
9 changed files with 60 additions and 41 deletions

View File

@@ -264,18 +264,11 @@ impl<F: ImfsFetcher> UiService<F> {
}
};
let project_node = match &metadata.project_node {
None => HtmlContent::None,
Some(node) => html! {
<div>"project node: " { format!("{:?}", node) }</div>
},
};
let content = html! {
<>
<div>"ignore_unknown_instances: " { metadata.ignore_unknown_instances.to_string() }</div>
<div>"instigating source: " { format!("{:?}", metadata.instigating_source) }</div>
{ contributing_paths }
{ project_node }
</>
};