Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Merge requests
!131
Merge relevant Abstract and references
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Merge relevant Abstract and references
structure-db-with-molstar
into
dev
Overview
0
Commits
41
Pipelines
12
Changes
4
Merged
Remi PLANEL
requested to merge
structure-db-with-molstar
into
dev
1 year ago
Overview
0
Commits
41
Pipelines
12
Changes
4
Expand
merge the 2 sections
Make the way references are displayed more compact
Edited
1 year ago
by
Remi PLANEL
0
0
Merge request reports
Viewing commit
024b5d65
Prev
Next
Show latest version
4 files
+
66
−
57
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
024b5d65
search and filter 2 input different
· 024b5d65
Remi PLANEL
authored
1 year ago
components/content/RefseqDb.vue
+
30
−
22
Options
@@ -10,7 +10,8 @@ const facetStore = useFacetsStore()
const
sortBy
:
Ref
<
{
key
:
string
,
order
:
string
}[]
>
=
ref
([{
key
:
'
type
'
,
order
:
"
asc
"
}])
const
itemValue
=
ref
(
"
id
"
);
const
{
width
}
=
useDisplay
();
const
distriTaxoFullscreen
=
ref
(
false
)
const
distriSystemFullscreen
=
ref
(
false
)
const
facets
=
ref
([
"
type
"
,
"
Superkingdom
"
,
@@ -134,27 +135,34 @@ function capitalize([first, ...rest]) {
</
script
>
<
template
>
<v-row>
<v-col
cols=
"6"
>
<v-card
flat
class=
"my-3"
>
<v-card-title>
Systems Distribution
</v-card-title>
<v-card-text>
<PlotFigure
:options=
"unref(computedDistriSystemOptions)"
defer
></PlotFigure>
</v-card-text>
</v-card>
</v-col>
<v-col
cols=
"6"
>
<v-card
flat
:loading=
"pending"
>
<v-card-title>
Taxonomic Distribution
</v-card-title>
<v-card-text>
<v-select
v-model=
"selectedTaxoRank"
:items=
"availableTaxo"
density=
"compact"
label=
"Select taxonomic rank"
></v-select>
<PlotFigure
defer
:options=
"unref(computedDistriTaxoOptions)"
></PlotFigure>
</v-card-text>
</v-card>
</v-col>
</v-row>
<v-card
flat
class=
"mb-2"
>
<v-row
align=
"start"
class=
"mb-2"
>
<v-col
:cols=
"distriSystemFullscreen ? 12 : 6"
:class=
"distriTaxoFullscreen ? 'd-none' : null"
>
<v-card
flat
class=
"my-3"
>
<v-card-title>
Systems Distribution
<v-btn
variant=
"plain"
:icon=
"distriSystemFullscreen ? 'md:fullscreen_exit' : 'md:fullscreen'"
@
click=
"distriSystemFullscreen = !distriSystemFullscreen"
></v-btn></v-card-title>
<v-card-text>
<PlotFigure
:options=
"unref(computedDistriSystemOptions)"
defer
></PlotFigure>
</v-card-text>
</v-card>
</v-col>
<v-col
:cols=
"distriTaxoFullscreen ? 12 : 6"
:class=
"distriSystemFullscreen ? 'd-none' : null"
>
<v-card
flat
>
<v-card-title>
Taxonomic Distribution
<v-btn
variant=
"plain"
:icon=
"distriTaxoFullscreen ? 'md:fullscreen_exit' : 'md:fullscreen'"
@
click=
"distriTaxoFullscreen = !distriTaxoFullscreen"
></v-btn></v-card-title>
<v-card-text>
<v-select
v-model=
"selectedTaxoRank"
:items=
"availableTaxo"
density=
"compact"
label=
"Select taxonomic rank"
></v-select>
<PlotFigure
defer
:options=
"unref(computedDistriTaxoOptions)"
></PlotFigure>
</v-card-text>
</v-card>
</v-col>
</v-row>
</v-card>
<ServerDbTable
title=
"RefSeq"
db=
"refseq"
:sortBy=
"sortBy"
:headers=
"computedHeaders"
:item-value=
"itemValue"
:facets=
"facets"
>
</ServerDbTable>
Loading