Closed abhishalya closed 4 years ago
Hi, is it possible for me to work on this update?
Yes! Why not. Assigned
Can you please guide me as to how to access the information?
Wouldn't it be nice if you could figure it out ;)
@faraz16iqbal, are you still working on this?
@chttrjeankr Do you want to take up this issue?
@chttrjeankr Do you want to take up this issue?
Sure! I'd have to go through the newcomers' procedure first. I can then start working on it.
Assigned to @chttrjeankr due to inactivity of previous assignee.
Thanks for assigning. :rocket:
I think you mean this Mentors Page.
The trace led me to realize the resources/js/directives/mentors.js
file fetches data from data/projects.liquid
which in turn fetches data from site.projects
.
And since the site already has projects listed, I don't understand why it isn't automatically updating. I'm a bit new to JS so maybe I'm missing something? Could you help @abhishalya?
Figured out what to change. Discussing an appropriate solution would be needed.
The current code makes a list of all mentors who are in a project that has a status of NOT completed
.
I don't think we want that to happen. (though #491 says we do(?))
So we have multiple options for the mentors page:
GSoC19
of projects that are complete.GSoC19
projects.The choice would depend on what exactly do we want the Mentors
page to portray. Waiting for your views on the above. @abhishalya
@chttrjeankr Right, good research around this. So we want to change the existing implementation a bit, what we need is to get all mentors for the completed projects in latest program year (right now its 2019). In other words we need to list all mentors for all official (completed) projects for the latest GSoC coala participated in.
Now this might be a bit tricky with the existing data, you can have a look at https://github.com/coala/projects/pull/729 for reference. You can checkout webservices https://gitlab.com/coala/landing and see doing this is better with or without webservices involved. (webserivices might not be in good shape right now)
So we want to change the existing implementation a bit, what we need is to get all mentors for the completed projects in latest program year (right now its 2019). In other words we need to list all mentors for all official (completed) projects for the latest GSoC coala participated in.
@abhishalya The best solution to this would be if each project has a date/year attached to it. We can then filter by year
(latest program year), initiative
(GSoC) and status
(completeness) and get the required projects and their mentors.
Or, having the initiatives be different. Rather than using GSoC
, we may introduce GSoC19
initiatives, and similarly for RGSoC
and other annual programs too, to maintain uniformity. This would need some manual updating to the project structures (I'm not sure where site.projects
is fetching data from)
Now this might be a bit tricky with the existing data, you can have a look at #729 for reference. You can checkout webservices https://gitlab.com/coala/landing and see doing this is better with or without webservices involved. (webserivices might not be in good shape right now)
As far as this is concerned, the way to fetch results in #729 doesn't seem to work anymore. And yeah, webservices are in a pretty bad shape right now, with the last commit over a year ago. So, maybe involving that wouldn't be the best idea.
We should update the page with 2019 mentors instead of 2018.