Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Merge requests
!257
Improve comment-list view + 2 bug fixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Improve comment-list view + 2 bug fixes
288-do-not-display-search-input-if-there-are-no-comments-yet
into
master
Overview
6
Commits
4
Pipelines
2
Changes
9
All threads resolved!
Show all comments
Merged
Lukas Mauß
requested to merge
288-do-not-display-search-input-if-there-are-no-comments-yet
into
master
5 years ago
Overview
6
Commits
4
Pipelines
2
Changes
2
All threads resolved!
Show all comments
Expand
Comment-list view
- Display search bar only if comments exist
- If there are no comments yet, show only a big add-button
- Change sorting for participants to by time
General
- Show time in header only on desktop devices
- Fix carets/placeholder in several input fields
Closes
#288 (closed)
Edited
5 years ago
by
Lukas Mauß
0
0
Merge request reports
Viewing commit
fac5b55b
Prev
Next
Show latest version
2 files
+
27
−
2
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
fac5b55b
Display search bar only if comments exist
· fac5b55b
Lukas Mauß
authored
5 years ago
src/app/components/shared/comment-list/comment-list.component.html
+
8
−
1
Options
<div
fxLayout=
"row"
id=
"search-container"
>
+2
<div
fxLayout=
"row"
id=
"search-container"
*ngIf=
"comments.length > 0"
>
<mat-label
fxLayoutAlign=
"center center"
>
<mat-icon
class=
"search-icon"
>
search
</mat-icon>
</mat-label>
@@ -72,6 +72,13 @@
</mat-menu>
</div>
<div
fxLayout=
"row"
fxLayoutAlign=
"center"
*ngIf=
"comments.length < 1"
>
<button
mat-fab
class=
"fab-extended"
(click)=
"openCreateDialog()"
>
{{'comment-list.add-comment' | translate}}
<mat-icon
class=
"add"
>
add
</mat-icon>
</button>
</div>
<div
*ngIf=
"!isLoading"
>
<app-comment
*ngFor=
"let current of hideCommentsList ? filteredComments : comments"
[comment]=
"current"
[parseVote]=
"getVote(current)"
></app-comment>
</div>