-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a DiscussionsSection.vue in AnalysisView components, updated th…
…e analysis model to return an injected discussion object, and updating the styling of the buttons to match figma more closely
- Loading branch information
Showing
4 changed files
with
79 additions
and
5 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
frontend/src/components/AnalysisView/DiscussionSection.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<template> | ||
<div class="rosalution-section-container"> | ||
<input type="checkbox" v-bind:id="section_toggle" /> | ||
<div class="rosalution-section-header"> | ||
<h2 class="rosalution-section-header-text">Discussion</h2> | ||
<span class="rosalution-section-center" data-test="header-datasets"/> | ||
<button class="primary-button new-discussion-button">New Discussion</button> | ||
<label class="collapsable-icon" v-bind:for="section_toggle"> | ||
<font-awesome-icon icon="chevron-down" size="lg"/> | ||
</label> | ||
</div> | ||
<div class="rosalution-section-seperator"></div> | ||
<div class="section-content"> | ||
Content | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "", | ||
Check failure on line 21 in frontend/src/components/AnalysisView/DiscussionSection.vue GitHub Actions / nodejs-ci (16.2)
Check failure on line 21 in frontend/src/components/AnalysisView/DiscussionSection.vue GitHub Actions / nodejs-ci (16.2)
|
||
props: { | ||
header: { | ||
type: String, | ||
}, | ||
}, | ||
data() { | ||
return | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.new-discussion-button { | ||
margin-bottom: 10px; | ||
margin-right: 10px | ||
} | ||
.collapsable-icon { | ||
color: var(--rosalution-grey-200); | ||
cursor: pointer; | ||
} | ||
input[type="checkbox"] { | ||
display: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters