Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Improve video tag in edit form

Chocobozzzcb9244de9759
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html
index 4f92b4908f..9acbafcb67 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.html
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html
@@ -10,7 +10,7 @@
</div>
<div class="form-group">
- <label class="label-tags">Tags</label> <span class="little-information">(press enter to add the tag)</span>
+ <label class="label-tags">Tags</label> <span>(press Enter to add)</span>
<tag-input
[ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
formControlName="tags" maxItems="5" modelAsStrings="true"
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.scss b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
index 4f8f031cfe..81e3a0d19b 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.scss
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
@@ -43,6 +43,10 @@
margin-right: 10px;
}
}
+
+ .label-tags + span {
+ font-size: 15px;
+ }
}
.submit-container {
@@ -95,6 +99,14 @@
border: 1px solid #C6C6C6;
border-radius: 3px;
padding: 5px !important;
+ height: 40px;
+ }
+
+ tag-input-form {
+ input {
+ height: 30px !important;
+ background-color: #fff !important;
+ }
}
tag {
@@ -120,6 +132,8 @@
padding-left: 6px !important;
svg {
+ position: relative;
+ top: -1px;
height: auto !important;
vertical-align: middle !important;
fill: #585858 !important;
diff --git a/server/lib/activitypub/process/process-announce.ts b/server/lib/activitypub/process/process-announce.ts
index c9738f926c..55f8a62d2b 100644
--- a/server/lib/activitypub/process/process-announce.ts
+++ b/server/lib/activitypub/process/process-announce.ts
@@ -1,4 +1,4 @@
-import { ActivityAnnounce, ActivityCreate } from '../../../../shared/models/activitypub'
+import { ActivityAnnounce } from '../../../../shared/models/activitypub'
import { logger, retryTransactionWrapper } from '../../../helpers'
import { sequelizeTypescript } from '../../../initializers'
import { ActorModel } from '../../../models/activitypub/actor'