Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
829
Issues
829
List
Boards
Labels
Service Desk
Milestones
Merge Requests
43
Merge Requests
43
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
354ab1b5
Commit
354ab1b5
authored
46 minutes ago
by
Mark Harding
Committed by
Mark Harding
32 minutes ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): use a feature flag for post-scheduler
parent
cfe35f02
1 merge request
!494
epic/post-scheduler
Pipeline
#82607671
failed with stages
in 29 minutes and 54 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
11 deletions
+31
-11
edit.html
src/app/modules/blogs/edit/edit.html
+9
-6
edit.spec.ts
src/app/modules/blogs/edit/edit.spec.ts
+5
-1
page.component.html
src/app/modules/canary/page.component.html
+11
-4
poster.component.html
src/app/modules/newsfeed/poster/poster.component.html
+1
-0
poster.component.scss
src/app/modules/newsfeed/poster/poster.component.scss
+5
-0
No files found.
src/app/modules/blogs/edit/edit.html
View file @
354ab1b5
...
...
@@ -170,12 +170,15 @@
(validThreshold)=
"validThreshold = $event"
#thresholdInput
></m-wire-threshold-input>
<m-poster-date-selector
*ngIf=
"checkTimePublished()"
[date]=
"getTimeCreated()"
(dateChange)=
"onTimeCreatedChange($event)"
(onError)=
"posterDateSelectorError($event)"
></m-poster-date-selector>
<ng-container
*mIfFeature=
"'post-scheduler'"
>
<m-poster-date-selector
*ngIf=
"checkTimePublished()"
[date]=
"getTimeCreated()"
(dateChange)=
"onTimeCreatedChange($event)"
(onError)=
"posterDateSelectorError($event)"
></m-poster-date-selector>
</ng-container>
</div>
<div
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/blogs/edit/edit.spec.ts
View file @
354ab1b5
...
...
@@ -26,7 +26,7 @@ import { By } from '@angular/platform-browser';
import
{
Session
}
from
'
../../../services/session
'
;
import
{
sessionMock
}
from
'
../../../../tests/session-mock.spec
'
;
import
{
mindsTitleMock
}
from
'
../../../mocks/services/ux/minds-title.service.mock.spec
'
;
import
{
MockComponent
}
from
'
../../../utils/mock
'
;
import
{
MockComponent
,
MockDirective
}
from
'
../../../utils/mock
'
;
import
{
InMemoryStorageService
}
from
'
../../../services/in-memory-storage.service
'
;
import
{
inMemoryStorageServiceMock
}
from
'
../../../../tests/in-memory-storage-service-mock.spec
'
;
...
...
@@ -245,6 +245,10 @@ describe('BlogEdit', () => {
inputs
:
[
'
date
'
,
'
dateFormat
'
],
outputs
:
[
'
dateChange
'
],
}),
MockDirective
({
selector
:
'
[mIfFeature]
'
,
inputs
:
[
'
mIfFeature
'
],
}),
BlogEdit
,
MDLMock
,
],
// declare the test component
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/canary/page.component.html
View file @
354ab1b5
...
...
@@ -45,11 +45,18 @@
<h2>
Experiments
</h2>
<ul
class=
"m-canaryExperiments__list"
>
<li>
M
edia Modals
<a
href=
"https://gitlab.com/minds/front/merge_requests/
467
"
>
(front!
469
)
</a
M
ulti Currency Wire
<a
href=
"https://gitlab.com/minds/front/merge_requests/
508
"
>
(front!
508
)
</a
>
- 20th August '19
- 17th September '19
</li>
<li>
Post scheduler
<a
href=
"https://gitlab.com/minds/front/merge_requests/494"
>
(front!494)
</a
>
- 17th September '19
</li>
</ul>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/newsfeed/poster/poster.component.html
View file @
354ab1b5
...
...
@@ -100,6 +100,7 @@
[date]=
"meta.time_created"
(dateChange)=
"onTimeCreatedChange($event)"
(onError)=
"posterDateSelectorError($event)"
*mIfFeature=
"'post-scheduler'"
></m-poster-date-selector>
<button
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/newsfeed/poster/poster.component.scss
View file @
354ab1b5
...
...
@@ -287,6 +287,11 @@ m-hashtags-selector {
white-space
:
normal
;
}
}
m-poster-date-selector
{
padding-right
:
$minds-padding
;
}
.m-posterActionBar__CreateBlog
{
cursor
:
pointer
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment