Dev Chat Summaries for May 24 & 31, 2017

bp-nouveau

@hnla gave an update of the work done for the past two weeks:

  • Improved Group invites screen
  • Updated the search styling/markup to match to directory search input
  • Improved general styles and icons
  • Updated the action button for groups and activity arg functions to better check and switch the url nonces from href to data attr depending on element selection.
  • Tweaked JS to ensure we target correctly the newer elements so screen messages display within grid loop boxes
  • Added Ajax support for state changes
  • Changed a range of action links to button elements
  • Added missing labels for form controls
  • Merged pull requests from new contributors, @jon007 & @s-ferdie, for cover-image-header correction and adding parameters to allow Sass variables to be overridden.

Trac Tickets

Remove `remove_node` ‘edit’ in `bp-core-adminbar.php` (#6831) @tw2113 has committed patch to trunk.

Remove/Replace `title` attributes with Tooltips usable in all devices (#7188) Screenshots on Mac OS for latest patches posted by @dcavins. Feedback from @hnla. @r-a-y recommended using `data-bp-tooltip` instead of `data-title`. @mercime will refresh patch and commit.

Only load component action and screen code when we’re on the component’s page (#7218) @r-a-y has patch. @boonebgorges has posted feedback.

Don’t show the sorting box and the meta information (#7312) Related: #6754.

When user is not logged in, in he/she clicks email link to view new messages gets 404 page when should get login page (#7349) @r-a-y has committed a couple of patches fixing redirection issue and adding notices. Has new patch for `visibility` and `redirection` updates.

Fix for profile image upload on Microsoft Edge breaks iOS Safari and Chrome (#7416) @r-a-y has patch. Needs iOS user to test. Update: @mrjarbenne has tested patch and the issue still exists on Mobile Safari on iOS.

Resize member avatar error with cyrillic (not latin) filename (#7484) @r-a-y has patch. @boonebgorges: “I’d have to spend more time with it to understand in greater depth, but at a glance it looks like a clever fix.”

`bp_group_has_members` performs unnecessary query (#7513) @dcavins has patch. Dev feedback requested.

Messages are not deleted from DB, when user is deleted (#7523) @r-a-y has refreshed patch based on discussion during dev chat.

Counter for “All” tab for activity and groups table (#7526) @bhargavbhandari90 has patch. @r-a-y will review the patch.

Fetching of ALL users from `bp_friends_prime_mentions_results()` for non logged in users (#7530) @r-a-y has committed patch to trunk.

Slack logs:
May 24: https://wordpress.slack.com/archives/C02RQBYUG/p1495652618137375
May 31: https://wordpress.slack.com/archives/C02RQBYUG/p1496257388695772
(A WordPress Slack account is required to view the logs.)

Building Bridges between Students and Educators in Nepal

Arjun Bhattarai shares how he built the largest community website for students in Nepal at https://buddypress.org/2017/05/building-bridges-between-students-and-educators-in-nepal/

#case-study, #developers

General Summary as of May 17, 2017

This post covers the BuddyPress Dev Chats for May 3, 10, and 17. Information has been updated to current status.

bp-nouveau

A friendly reminder from @hnla re testing and patches for bp-nouveau.

@hnla has committed styling updates, concentrated on some issue areas with what’s new update form and user screens, in particular messaging and the bulk action filters & search form elements, hacking away at the Backbone templates to bring the markup into line with the general selector and search form visual styles & updating the JS show/hide events to work with classes rather than jQuery .hide().

@hnla: “The what’s new form could still do with some further attention on the general show/hide nature of its control actions, I removed some earlier styles & tidied up the new autocomplete input where `post in groups` is selected, however we currently have no onBlur event to hide the controls so anyone that fancies delving into backbone could help out looking at what we could do to add some fun to the what’s new form. At this stage We have clean code supporting this feature, pretty much a blank canvas for playing around with effects that might look good rather than our rather staid `onfocus` open.”

@r-a-y reviewed bp-nouveau. Fixed issues for loading Ajax on component request and updated actions now they’re button elements, comments counts, notice errors, and set up the `buddypress-wrap` class dynamically.

@netweb has kept on top of the tooling for the project, updating the style-lint config modules, updating grunt file and fixed linting issues.

@mercime has been working on #130 where consensus during dev chat was to use option 2 for the implementation.

@dcavins was added to the sitewide notices ticket #137.

At this stage we need more devs taking tickets/project cards and moving into In Progress column.

Trac Tickets

Include BP Edit Group Slug into the core (#6014) @dcavins has committed patch to trunk.

Messages: member page messages are queried for the loggedin user (#7096) @dcavins has refreshed patch. @r-a-y and @Offereins have provided feedback.

Remove/Replace `title` attributes with Tooltips usable in all devices (#7188) @mercime has examples in ticket. The choice was the second example, though  @dcavins is making a case for the third example.

Only load component action and screen code when we’re on the component’s page (#7218) @r-a-y has patch.

Use JOIN rather than Subquery on user search (#7442) @brandonliles has patch. Needs dev feedback.

Resize member avatar error with cyrillic (not latin) filename (#7484) @r-a-y has patch which relies on newer PHP functions (v5.4). It’s either that or wait for WP core to fix #WP22363 #WP24661 #WP15955. Dev feedback requested.

bp_group_has_members performs unnecessary query (#7513) @r-a-y has patch. Dev feedback requested before committing.

BuddyPress Case Studies

Thanks to all who have shared their BuddyPress use cases with the community! The growing list of published articles are available in the BuddyPress Codex for your reference. If you’re interested in sharing your own BuddyPress use case, fill up this form and we’ll get back to you ASAP.

Slack logs:
May 3: https://wordpress.slack.com/archives/C02RQBYUG/p1493838015001913
May 10: https://wordpress.slack.com/archives/C02RQBYUG/p1494442868540761
May 17: https://wordpress.slack.com/archives/C02RQBYUG/p1495047787891614
(A WordPress Slack account is required to view the logs.)

#dev-chat

A Community for Organising Sweden’s Largest Environmental NGO

Alexander Berthelsen shares his case study of the development journey through the years for Naturkontakt, Sweden’s Largest Environmental NGO, at https://buddypress.org/2017/05/naturkontakt-organising-swedens-largest-environmental-ngo/

#case-study, #developers

Largest Turkish Recipe Site Spiced Up with BuddyPress

Mustafa Uysal (Twitter: m_uysl) of Nefisyemektarifleri.com shares how they scale their BuddyPress site with ~2.2 Million users at https://buddypress.org/2017/05/largest-turkish-recipe-site-spiced-up-with-buddypress/

#case-study, #developers

Total Wellness Challenge: Fitness with BuddyPress

Tara Claeys (Twitter: design_tlc) of Design TLC, LLC kicks off our new series of BuddyPress case studies from Developers and Site Builders. Read all about it at Total Wellness Challenge: Fitness with BuddyPress

#case-study, #developers

Dev Chat Summaries for April 19 & 26, 2017

BuddyPress 2.9

  • June 7 – Beta 1
  • June 14 – Beta 2
  • June 28 – Release Candidate 1
  • July 5 – BP 2.9.0 Release Date
  • There are currently 45 tickets slated for this release (19 closed, 26 open).

bp-nouveau

@hnla updates:

  • @mercime and I have been tackling various tasks including a11y aspects for form elements.
  • Made adjustments to the message displays to improve those adding icons as separate child elements rather than hooking to the parent element to be able to hide using aria roles.
  • New buddypress-wrap class added to the main wrapper so we don’t use the same class for body as we do the inner div.
  • Improving the ease of updating search & filter wrapping elements extracting to one include file so we only need to work in three files for all elements.
  • Created a new function to manage group descriptions excerpts to change $length values if the list display is set as grid boxes, which was required to effect an equal height-ish box.
  • Improved group grid layouts to improve those for min-heights and general breakpoints.
  • Refactored action elements in list layout views for better positioning & flow, removing absolute positioning in favor of stacking to the left on larger screens.
  • General refining of elements such as title sizes, metadata, and displays. A little attention was given to single screen subnavs to try and define them better visually at small/mobile screen layouts.
  • Travis CI is now up and running for bp-nouveau. Thanks @netweb. to the project

BP Trac Tickets

Only load component action and screen code when we’re on the component’s page (#7218) @r-a-y has refreshed patch. Requests opinion on the approaches taken before proceeding.

friends_add_friend() should convert accepted arguments (#7506) @r-a-y has committed fix to trunk.

Add identifying tag parameter to bp_has_*() loop arguments. (#7503) @dcavins requested dev feedback.

When user is not logged, if he/she clicks email link to view new messages gets 404 page when should get login page (#7349) @r-a-y has committed fixes for redirection issues and improving UX. Has refreshed patch after commits. Dev feedback requested.

Use stylelint to lint SCSS & CSS replacing Ruby Gem `scss_lint` (#7028) @hnla follows up with @netweb. We need to get this in early in dev cycle to test.

Move asset template parts away from bp-legacy (#7116) @r-a-y’s proposal only applies to core functionality like emails, embed, and attachments.

bp_group_has_members performs unnecessary query (#7513) @dcavins has patch for dev feedback.

JS Enqueued On Non-BuddyPress Admin Pages (#7512) @r-a-y has looked into issue posted by @kstover and requested more information since BP’s caret.js is enqueued correctly on admin pages.

Resize member avatar error with cyrillic (not latin) filename (#7484) @r-a-y has patch for dev feedback.

Fix for profile image upload on Microsoft Edge breaks iOS Safari and Chrome (#7416) @r-a-y has patch. Needs a Mac user to test.

Take advantage of BP_Groups_Group magic methods in groups component setup (#7416) @dcavins has patch. Ready to commit. Dev feedback requested.

BP_PHPMailer needs to set the `Date` header (#7509) @r-a-y has committed fix to trunk.

Test depends on PHP EXIF support; should fail more gracefully when absent (#7432) @r-a-y has committed fix to trunk.

{{user.site_url}} token not using HTTPS when site is on SSL (#7508) @r-a-y has committed fix to trunk.

BP Use Cases from BP Developers/Site Builders

@mercime announced that guest posts from BP Developers/Site Builders will be published soon at BuddyPress.org. The first batch of informative and interesting case studies have been submitted by developers who signed up during the BuddyPress 2016 Survey.

Slack logs:
April 19: https://wordpress.slack.com/archives/C02RQBYUG/p1492628459684302
April 26: https://wordpress.slack.com/archives/C02RQBYUG/p1493233250835528

#dev-chat