Skip to content

Commit 205b0d7

Browse files
authored
Merge pull request #2941 from codecrafters-io/arpan/cc-1837-hide-extension-ideas-if-all-extension-ideas-as-released
Hide extension ideas if all extension ideas as released
2 parents 5b69f23 + 6af8c76 commit 205b0d7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/controllers/roadmap/course-extension-ideas.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default class CourseExtensionIdeasController extends Controller {
2727

2828
get orderedCourses() {
2929
return this.model.courseExtensionIdeas
30+
.rejectBy('developmentStatusIsReleased')
3031
.mapBy('course')
3132
.uniq()
3233
.rejectBy('releaseStatusIsDeprecated')

mirage/data/course-extension-ideas.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ export default [
1111
slug: 'redis-geospatial-commands',
1212
course_slug: 'redis',
1313
name: 'Geospatial commands',
14-
development_status: 'not-started',
14+
development_status: 'not_started',
1515
description_md:
1616
"[HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) is the protocol that powers the web. In this challenge, you'll build a HTTP/1.1 server that is capable of serving multiple clients. \n\nAlong the way you'll learn about TCP servers, [HTTP request syntax](https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html), HTTP/1.1's [request pipelining](https://en.wikipedia.org/wiki/HTTP_pipelining) and more.",
1717
},
1818
{
1919
slug: 'sqlite-insert',
2020
course_slug: 'sqlite',
2121
name: 'Insert rows',
22-
development_status: 'not-started',
22+
development_status: 'not_started',
2323
description_md:
2424
"[Shells](https://en.wikipedia.org/wiki/Unix_shell) are a command-line interface to your operating system. In this challenge, you'll build your own version of `bash` that is capable of executing basic shell commands. \n\nAlong the way, you'll learn about [pipes](https://en.wikipedia.org/wiki/Pipeline_(Unix)), [redirection](https://en.wikipedia.org/wiki/Redirection_(computing)), [fork+exec](https://en.wikipedia.org/wiki/Fork%E2%80%93exec) and more.",
2525
},
2626
{
2727
slug: 'extension-idea-1',
2828
course_slug: 'dummy',
2929
name: 'Extension idea 1',
30-
development_status: 'not-started',
30+
development_status: 'not_started',
3131
description_md: 'This is the first extension idea for the dummy course',
3232
},
3333
];

0 commit comments

Comments
 (0)