Comments (19)
@pavitra14 Yeah, I think this will be better, I suggested above one if you dont want to change anything in content folder.
Lets wait for @kgodey as she is one who implemented it.
from creativecommons.github.io-source.
@pavitra14 please go ahead.
from creativecommons.github.io-source.
@techievivek I do not intend them to navigate, I wanted to do it all from a single page.
Right now, I added data-filters to each button and assigned filter values to each idea via classes.
Rest is handled automatically via jQuery and Event handlers.
I did not need to edit the contents much, only had to add a filter-value variable in the model.
Also, the user must be able to selected multiple filters at once and should see the result instantly.
I did that only.
from creativecommons.github.io-source.
@pavitra14 perfect oneπ
from creativecommons.github.io-source.
The GSoC project ideas page is no longer up, but we have a new project ideas page with the same issue: https://opensource.creativecommons.org/internships/project-ideas/
from creativecommons.github.io-source.
Thanks for the update @kgodey.
It would also be nice to be able to select multiple skills. There are projects that require knowledge of both python and JavaScript to complete.
from creativecommons.github.io-source.
@kgodey I will like to try to implement this feature if no one is working on it. This feature will be really handy if implemented.
Thank you
from creativecommons.github.io-source.
Go ahead @techievivek
from creativecommons.github.io-source.
@kgodey Mam can you please tag the developer who has implemented this feature, as this seems tough with the current directory structure and given code logic.
Because suppose a person has clicked on a difficulty level now we will show them two different links like https://opensource.creativecommons.org/internships/project-ideas/difficulty-easy/ so that he can choose another difficulty level and another type of link like https://opensource.creativecommons.org/internships/project-ideas/difficulty-hard/skill-javascript/ so that he can navigate to the project-ideas that are hard and requires skill Javascript and vice-versa.
We may need to alter the directory structure.
from creativecommons.github.io-source.
I implemented this feature.
Under the current implementation, we would have to generate a new page for every single combination of filters, which will probably get infeasible. The better way is probably to scrap the current implementation and implement filtering on the client side using JavaScript.
from creativecommons.github.io-source.
I would like to take up this issue if no one else is doing it.
I can write up a logic on the client side javascript to filter things out.
from creativecommons.github.io-source.
@pavitra14 Also if you need any help, feel free to tag me.
from creativecommons.github.io-source.
@kgodey @pavitra14 I think it will be better to make use of current URL the user is in.
There can be 3 cases:-
- If they are on all, on clicking any difficulty level or skill we can directly make them navigate to that page.
- If they are on a particular difficulty level they can either navigate to all or to a skill, so accordingly we can do by looking at href of clicked link.
- Similarly for skills.
We can have a class to all the links and then add listener and disable the deafult behaviour and checkcurrent Url and target url
and redirect accordingly or filter records by using basic regex to get and match skill or difficulty.
All can be done in Plain Js without the need to alter anything in content folder.
from creativecommons.github.io-source.
@techievivek
Also we will any how need to edit the content as the old redundant content needs to be removed.
Since we're showing everything on the front end, there's no need for the skill/difficulty category folders inside content anymore.
This was requested in the review by @kgodey
from creativecommons.github.io-source.
@pavitra14 Yes If we have to do everything in frontend then definitely we dont need any folder more.
I have seen your updated PR, its perfect.
from creativecommons.github.io-source.
Removed the redirect /internships/project-ideas/all
Now the /internships/project-ideas/ is the root folder for all ideas.
Compatibility checked with lektor and can be easily managed via the admin backend.
from creativecommons.github.io-source.
hello , My self Abhishek mishra , I want to work on this issue.
from creativecommons.github.io-source.
can i work on this
from creativecommons.github.io-source.
@Abhishek856
Kindly go through the issue, I've already sent a PR, writing tests is left, if you can do that, kindly checkout the linked PR.
from creativecommons.github.io-source.
Related Issues (20)
- [Feature] Email field place holder not properly alligned HOT 5
- [RFC] Request for Comments: issues encountered
- [Change] Add `#cc-dev-searchportal` slack channel information to site HOT 1
- [Feature] Improve multi-author support: multiple gravatar images HOT 4
- Avatar image covers the content when inspect is opened HOT 3
- [Bug] some minute grammatical issues HOT 2
- [Bug] Align lists in Get Involved Section on Homepage HOT 6
- [Bug] Responsiveness of the website HOT 8
- Email textbox not optimized for mobile view HOT 15
- [Feature] Add "Other Opportunties" section to Work Programs overview HOT 6
- [Change] The `lektor-google-analytics` needs to be removed, due to its incompatibility with GA4 properties, and lack of updates
- [Bug] The twitter link redirects to the main CC page HOT 9
- Responsive issue in Nav element HOT 16
- Subscribe Button Issue: No Input Validation or Error Feedback HOT 2
- [Bug] Broken Link in the ReadME section HOT 1
- [Bug] The footer has old twitter logo that needs to be updated HOT 11
- [Feature] Recent Posts Design HOT 8
- Inconsistent height of div HOT 4
- Utilize organization default community health files HOT 2
- [Bug] README.md file out of date HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from creativecommons.github.io-source.