Skip to content

Commit cfab364

Browse files
committed
Move project dependency to ui-core
1 parent fa59e77 commit cfab364

File tree

6 files changed

+9
-118
lines changed

6 files changed

+9
-118
lines changed

elm-git.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"git-dependencies": {
33
"direct": {
4-
"https://github.com/unisonweb/ui-core": "4c00cd6adc7a866195e65438368843da698eb577"
4+
"https://github.com/unisonweb/ui-core": "8bbbfdfbca7c6656c09cbb0206cc77d599a21988"
55
},
66
"indirect": {}
77
}

elm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@
5353
},
5454
"indirect": {}
5555
}
56-
}
56+
}

src/UnisonShare/Page/CodePageContent.elm

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,12 @@ viewSidebar perspective cfg codebaseTree =
200200
codeSection =
201201
Maybe.map
202202
(\c ->
203-
Sidebar.section "Code" [ Html.map c.codebaseTreeMsg (CodebaseTree.view c.codebaseTree) ]
203+
Sidebar.section "Code"
204+
[ Html.map c.codebaseTreeMsg
205+
(CodebaseTree.view { withPerspective = True }
206+
c.codebaseTree
207+
)
208+
]
204209
|> Sidebar.sectionWithTitleButton (Button.iconThenLabel cfg.showFinderModalMsg Icon.browse "Search" |> Button.small)
205210
|> Sidebar.sectionWithScrollable
206211
)

src/UnisonShare/Page/ProjectOverviewPage.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Code.Finder.SearchOptions as SearchOptions
88
import Code.FullyQualifiedName as FQN
99
import Code.Namespace.NamespaceRef as NamespaceRef
1010
import Code.Perspective as Perspective
11+
import Code.ProjectDependency as ProjectDependency exposing (ProjectDependency)
1112
import Code.ReadmeCard as ReadmeCard
1213
import Html exposing (Html, div, footer, form, p, span, strong, text)
1314
import Html.Attributes exposing (class)
@@ -49,7 +50,6 @@ import UnisonShare.CodeBrowsingContext as CodeBrowsingContext exposing (CodeBrow
4950
import UnisonShare.Link as Link
5051
import UnisonShare.PageFooter as PageFooter
5152
import UnisonShare.Project as Project exposing (ProjectDetails)
52-
import UnisonShare.Project.ProjectDependency as ProjectDependency exposing (ProjectDependency)
5353
import UnisonShare.Project.ProjectListing as ProjectListing
5454
import UnisonShare.Project.ProjectRef as ProjectRef exposing (ProjectRef)
5555
import UnisonShare.Route as Route

src/UnisonShare/Project/ProjectDependency.elm

Lines changed: 0 additions & 73 deletions
This file was deleted.

tests/UnisonShare/Project/ProjectDependencyTests.elm

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)