wceu / contributor-orientation-tool Goto Github PK
View Code? Open in Web Editor NEWA WordPress plugin aiming to help new contributors decide which make team/s to contribute to or join at Contributor Day.
License: GNU General Public License v3.0
A WordPress plugin aiming to help new contributors decide which make team/s to contribute to or join at Contributor Day.
License: GNU General Public License v3.0
Instead of showing all the teams that someone is qualified to contribute, we could give points to each team based on the user's choices, and then sort the 3 teams that are more suitable.
We could still put a "View all" button, so the users would be able to see all teams sorted from the most suitable one to the less suitable one.
In this case, it also could make sense put a "fit percentage", so it would be clear to the user how suitable they are.
Add option for user to display this text before shortcode (this make it easier for the user to start with plugin usage out of the box):
Hello,
Thank you for your interest in contributing to WordPress project.
Even though this tool is created by WordCamp Europe organising team, it is meant to help you decide in less than 1 minute which team to join at any WordCamp Contributor Day in order to start contributing. As a matter of fact, you don’t even have to use it specifically for Contributor Day.
We are not collecting nor storing any data from this form. It is completely anonymous and purely informative nature. This means that you can use it any time and as many times you want. Only you will know your results and these results are, by no means, obligatory for you to join recommended teams.
Please note that this survey will not register you for any Contributor Day. You still need to do that if you want to attend Contributor Day. For more info on that please visit the website for WordCamp you are planning to attend and/or contact its organizers.
For options page we should use manage_options
capability rather than administrator
role.
src/src/WPCOTool/Admin/Settings.php:21
Fix texts and questions data based on this document:
https://docs.google.com/document/d/14L76f1OjXNQl6LNOtDB79l5Ki7QOkFM-me33U7K7cno/edit#
Add rtunon and francina to the list of plugin contributors in the src/README.txt
Let's remove all instances once they're not needed for development any more.
Create basic plugin structure, autoloader included.
Create some kind of prototype to check proposed logic for the teams selection
For the WCEU 2020, the contributing team will prepare the Skills matrix, google sheets document that will represent which team is appliable per skill/role. When we have this ready, we need to refactor the sections in this repository src/src/WPCOTool/config folder. There we will need to modify labels and assigned teams.
This will be on hold until we have the Skills matrix ready.
If the user is suitable to the Polyglots team, so we could also ask their locale, and point them out to the local community (if available). If their locale is not available, so we could point them out to create a new one.
Add option to select which teams to use in the tool.
https://github.com/wceu/contributor-orientation-tool/blob/master/src/src/WPCOTool/Frontend/Team.php
As we are using it in admin options make only id and name requierd.
In file README.txt add init info as:
CREATED 11th February 2019
Apply new design.
Basically all structure is there, only the section with arrows (steps) is missing and it need to be connected with active section index.
Also, currently we have fixed width that was used to support only desktop for prototype, we need to make it responsive to support all common breakpoints. Bootstrap breakpoints are fine :)
https://codepen.io/vbaimas/pen/ROWqMG
fa-check http://fa2png.io/
Main Color : rgba(0,0,0,.75)
#8E1254
#DB0577
#E8F5F6
#1B646C
Create plugin uninstall page to clean up wpcot_enabled_teams option from database
Remove "Previous section" button from last section. We don't want them to go back after getting the list of teams.
Hi! I'm a Gutenberg contributor from Japan.
Shusei, a Japanese community member, suggested that we could make use of this tool in Japan, and he has created a translation file for us.
I have built an environment and tried to incorporate the translation file, but I just couldn't get the translation to work. I may be doing something wrong, but could you please incorporate this translation file?
Here are the po
and mo
files for Japanese generated from the pot file:
Perhaps it would be better to do so after the build process by #62 is complete.
If you have any questions, please contact me 👍
Add explanation how to sync plugin dist folder to VVV or docker and use it in development
The WCEU contributing team will prepare a new document, the skills matrix, for the other issue on this repository. When filling this document, each wp.org team should enter the description for its team which we will use for the last section of the tool.
When we have new descriptions of the teams we need to refactor the file: https://github.com/wceu/contributor-orientation-tool/blob/master/src/src/WPCOTool/config/teams.php
Add vbaimas to list of plugin contributers in plugin root file README.txt. He is responsible for such a great design
From Vasilis Baimas in Trello
- The site buttons have rounded corners, so the checkboxes controls are nice to have rounded corners as well.
- Instead of green or red, I use yellow color for the step control. Red and Green are colors that have been used on the site as Call to action and links. So the user will confused with this option.
- The color in the checked option should have a “default” color. Even if the green is used in the palette of colors, it gives the feeling that the user has chosen the right choice, since the green color in the selection is correct.
- I add the steps with some description, which represents the content of each step.
Form :
border-radius : .1875rem;Selected step :
Step: font-weight:700
Description : font-weight:400 (normal)Unselected step :
Step : font-weight:700, text-transform:uppercase
Description : font-weight:400 (normal)
Color : rgba (0,0,0,0, 0.60);Next button
Default: font-weight:700;, background color : rgba(229, 43, 138, 1);Hover : font-weight:700;, background-color : rgba(142, 18, 84, 1);
Go-back
Color : rgba (0,0,0,0, .85);
Font-weight: normalSeparate line
Color : rgba (0,0,0,0, .85);
Just to make sure we apply WordPress Coding Standards in every way, let's align all array item keys and values. For example, array in WPCOTool/config/teams.php
would be more readable if values were aligned as well.
We need to get a new design that matches the current WCEU 2020 theme and apply it.
As we are going to use the same domain this year for this tool, https://orientation.wp-europe.org, we need to have a design that will match the new one of the WCEU 2020.
Add this attached PDF
orientation-tool-Verzija 2.pdf
The current suggestion engine is not aware of the CLI team and thus never recommends it.
The CLI team should be added for all scenarios that make sense, and I'm happy to provide assistance in any way.
Related link: https://make.wordpress.org/cli/2018/07/14/contributing-to-wp-cli/ (Document describing the different ways one can contribute to the CLI team)
Currently, there are a few ways question accessibility could be improved. Noted some details below.
<fieldset>
and <legend>
tags to ensure the wrapping question is read when the answer choices are interacted with via tab or other navigational keys.tabindex="-1"
on the <li>
element I believe. This should work fine but might be worth testing to be sure.We need to add:
The following fatal error occurs when the activated plugin's environment is switched to PHP 5.6, which as of this writing is still supported by WordPress.
Catchable fatal error: Argument 1 passed to WPCOTool\Plugin::__construct() must be an instance of WPCOTool\string, string given, called in .../contributor-orientation-tool/contributor-orientation-tool.php on line 32 and defined in .../contributor-orientation-tool/src/WPCOTool/Plugin.php on line 74
The error stems from use of the string
scalar type declaration in class constructors, support for which was added in PHP 7.0.
I came across this issue after switching PHP versions to test a PHP-version-specific WordPress core patch.
I understand that the plugin is marked as requiring a minimum of PHP 7.0, however, the source of this fatal error may not be apparent to some users. Preventing the occurrence of the resultant white screen of death would be a preferable alternative 😂 ...at least until PHP 5.6 support is officially dropped.
Currently, the steps are not really as accessible as they could be. These suggestions could bring much better functionality for all.
aria-current
to the active step <li>
tag.If I select every role (Developer, Designer, ...) I see these options:
I would love to select "Accessibility" here, cause I'm super passionate about it. But I can't see it.
Only if I select
I get the Team "Accessibility"- Which only attract people who already now stuff about it. But it would be great also to have contributers on the A11y-Table who are new to Accessibility but are intresting in learning it (in fact, thats typical for the a11y table on a contributor day).
It would be also great to not only make it possible for developers, but also for designers and other skills, as Accessibility needs a wide range of skills.
For example, I am a Designer and still contribute to Accessibility, so I would suggest to make "Accessibility" a selected item on the screen "what are you passionate about".
This task is not related to coding anything within this plugin.
In order to match the orientation site design with the WCEU 2020 site design, we need to have the same theme applied at orientation.wp-europe.org. So when the new design for this tool is ready, user of the tool can relate to the new WordCamp Europe theme while using this tool.
Change Based on your answers, we recommend that you join some of teams below! to Based on your answers, we recommend that you join some of teams below:
Last characher ! => :
There is a typo (extra space after user):
I'm a WordPress user / other
Currently, the results could use refactoring for better accessibility. For example, instead of having two links that go to the same place, you could accomplish it this way.
<a href="https://make.wordpress.org/core">About Core: The core team makes WordPress. Whether you’re a seasoned PHP developer or are just learning to code, we’d love to have you on board. You can write code, fix bugs, debate decisions, and help with development.</a>
Few bugs detected:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.