WW<CODE> Maker Bytes
Written by WWCode Core Team
Issue 164
We are building features for the Women Who Code community and we want to highlight that work with our stakeholders, you! THANK YOU to our contributors for dedicating their valuable time to help us build tech a place where women can excel.
You can follow all of our work on github. Below are a few snippets of our awesome features.
Released
Over the past few weeks, the Women Who Code Core Team has been hard at work on a number of upgrades, improvements, and the implementation of functionality across the entire website to make your WWCode online experience even better! Check out some of the exciting updates below.
Changed
Remove Extra Comma on /events
When the state on a Network was an empty string (""), the nil-checking part of the method would miss it, and we'd end up with a random comma in the location.
We replaced "compact", which only gets rid of nils, with "delete_if" which will look for empty strings and nils.
Updating Network#show meta description
We updated the meta description that displays on mobile to be more search engine friendly.
New JobPosts Search Bar
We made a new JobPosts Search component with updated styles to match the additional functionality that is being implemented.
react-rails gem 2.3.1 –> 2.5.0 upgrade
We were able to finish stair-stepping our react-rails gem to the most recent version (v2.5.0)
During this process we came across a few console errors and alerts, which were resolved by:
– Removing the react-rails-img gem
– The image affected now lives in the public folder
– Setting specific versions of the React build for development and production
– Changing React.PropTypes to PropTypes
– Using Boolean values instead of strings for input values expecting a Boolean
– Returning undefined instead of false for non-existent errors.
– This logic was moving to one place inErrorUtils.js.jsx
Updating Profile Seed Data
We resolved a console error on "/profile" while logged in under our seed data's user.
update partner logos
We updated the partner logos displayed on our /about and /companies page and updated how we store partner company data in welcome_helper.rb.
Job Search Data Lifecycle fix
While searching for jobs we were intermittently seeing a "None Found" message in addition to job search results. Therefore, we refined the data lifecycle for search results and set it up to keep track of the master list of search results in WithSearch.js.jsx.
Added
Adding /jobs/index json endpoint
We don't want to re-render filter data every time we search for jobs. So we made /jobs/index respond to json and return filters data that can be eventually printed out in a dropdown filters area.
Upcoming and Past Events on Search Endpoint
We added the params upcoming and past to the search endpoint, allowing the front end to toggle the options. EventsSharedEventListArea needed to be updated to pass upcoming to maintain current functionality.
Add new seed data
We updated seeds to include more items for pagination, added helper methods to DataPop module, reordered seeds to put like items together for easier read through, and implemented some general robocop fixes.
Add New Relic APM gem
When we experience performance lag and general service degradation, we don't have a great way to see where the problem(s) lie. Lately, we've seen some higher latency in the US East coast afternoons, but don't have much insight into why that might be happening. Therefore, we set up New Relic to monitor our application performance and see where these problems are coming from.
Removed
Remove events from networks index and update specs
We moved Network events from the main Network page to the Network Highlights page.
Applauds!
Talk to us
Any ideas about existing features, new features, getting involved as a contributor, please share it in this FORM and/or watch our repos on Github.
To submit feedback, comments or questions email coreteam@womenwhocode.com, we would love to hear from you.
User Research is a Team Sport
Join our User Research Team! Be the first to check out all of the great products that we are building and have your voice heard from the earliest stages of development.