Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRJ-59 Members directory readylaunch template #4602

Open
wants to merge 252 commits into
base: release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
bbae6ac
ARCH-145 - load the custom template for the readylaunch
KartikSuthar Sep 24, 2024
90dada4
ARCH-145 - implement member directory using API
KartikSuthar Dec 19, 2024
0e6a1cf
ARCH-145 - implement API cache support
KartikSuthar Dec 20, 2024
a516fae
ARCH-145 - Load the templates from the readylaunch and restrict overw…
KartikSuthar Dec 23, 2024
16d5164
ARCH-145 - load components and templates conditionally
KartikSuthar Dec 26, 2024
116f84d
[ARCH-145] media conflict fix
chetansatasiya Dec 26, 2024
acae199
Merge branch 'release' into ARCH-145
KartikSuthar Jan 2, 2025
e5604a4
PRJ-52 - Fixed phpcbf
jitendrabanjara1991 Jan 10, 2025
3bc1176
PRJ-52 - Updated return param
jitendrabanjara1991 Jan 10, 2025
fd99993
PRJ-52 - Register menu
jitendrabanjara1991 Jan 10, 2025
02b55de
PRJ-52 - Added escaping and applied WPCS
jitendrabanjara1991 Jan 13, 2025
7fb81f9
PRJ-52 - Update selector to load ajax
jitendrabanjara1991 Jan 13, 2025
1a4f5fa
PRJ-52 - Generate minify file via grunt
jitendrabanjara1991 Jan 13, 2025
c9f8692
PRJ-53 - Register left side bar menus
jitendrabanjara1991 Jan 13, 2025
ef97bce
PRJ-52 - Added code to avoid directly access file
jitendrabanjara1991 Jan 13, 2025
edcb26f
PRJ-53 - Added code to avoid directly file access
jitendrabanjara1991 Jan 13, 2025
2108ffa
PRJ-53 - Added code to load Bottom ReadyLaunch Panel menu in the left…
jitendrabanjara1991 Jan 13, 2025
ec595a2
PRJ-53: Refactor ReadyLaunch Settings and Add Global Design Settings
jitendrabanjara1991 Jan 13, 2025
76a02c8
PRJ-53 - Update the code to ensure functions within the class return …
jitendrabanjara1991 Jan 13, 2025
0ae5e50
PRJ-53 - List out my groups in the left sidebar
jitendrabanjara1991 Jan 13, 2025
799da99
PRJ-53 - Fixed spelling mistakes
jitendrabanjara1991 Jan 13, 2025
9de162e
PRJ-53 - If group component is active then and then `Groups` setting …
jitendrabanjara1991 Jan 13, 2025
3c5f852
Merge branch 'release' into feature-readylaunch
jitendrabanjara1991 Jan 14, 2025
9cc6c0a
PRJ-52 Basic files setup
amincdev Jan 14, 2025
7818ac7
Add button component SCSS
amincdev Jan 14, 2025
5d5e37f
Register main readylaunch css file
amincdev Jan 14, 2025
fdb0e1b
Working on header section styling
amincdev Jan 14, 2025
f9bf1a3
PRJ-53 - Render dynamic middle content for left sidebar
jitendrabanjara1991 Jan 14, 2025
b0057d8
PRJ-53 - Update
jitendrabanjara1991 Jan 14, 2025
3e122a8
Add more general styles
amincdev Jan 15, 2025
85efae8
Add more utility classes
amincdev Jan 15, 2025
8d6f2c8
Header notification dropdown UI
amincdev Jan 15, 2025
d09da17
Add new icon font family
amincdev Jan 15, 2025
ff5d1ac
Make icons style general for all variants
amincdev Jan 15, 2025
06546d3
Add icon colors
amincdev Jan 15, 2025
0e42172
PRJ-52 - Style header actions button
amincdev Jan 15, 2025
f9e4d23
PRJ-53 - Remove unwanted variable
jitendrabanjara1991 Jan 15, 2025
1203fdb
PRJ-54 - Register right sidebar
jitendrabanjara1991 Jan 15, 2025
128c80b
PRJ-52 - Add search button
amincdev Jan 15, 2025
f547b48
PRJ-54 - Load activity widget for ReadyLaunch to display on right sid…
jitendrabanjara1991 Jan 16, 2025
4e2b164
PRJ-52 - Removed the bb_elementor_pro_disable_page_transition functio…
jitendrabanjara1991 Jan 16, 2025
50b929b
PRJ-52 - Style message notification dropdown
amincdev Jan 16, 2025
d3c2225
PRJ-52 - Style message multiple thread avatar
amincdev Jan 16, 2025
6660c49
PRJ-52 - Style notification dropdown
amincdev Jan 16, 2025
6da605d
PRJ-52 - Update template to load Message/notification data from ready…
jitendrabanjara1991 Jan 16, 2025
e38e381
PRJ-52 - Load Messages/Notifications Based on Type
jitendrabanjara1991 Jan 16, 2025
5ffd1d0
Add all unread tabs
amincdev Jan 16, 2025
0a0aacb
Make notification content wrap
amincdev Jan 16, 2025
b637c6e
Add view all notification button
amincdev Jan 17, 2025
1f6327d
Style readylaunch left panel
amincdev Jan 17, 2025
babdc08
Fixed Sidebar and header
amincdev Jan 17, 2025
2a48888
PRJ-52 - Remove footer link
amincdev Jan 17, 2025
fe1c9ae
PRJ-52 - Update Code to Fetch Notifications on "Load More"
jitendrabanjara1991 Jan 17, 2025
feb1422
PRJ-52 - Fixed phpcbf
jitendrabanjara1991 Jan 17, 2025
e31da72
Sidebar focus styling
amincdev Jan 17, 2025
5aafb98
PRJ-52
jitendrabanjara1991 Jan 17, 2025
0d8da20
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 17, 2025
3ac9615
PRJ-52 - Run grunt to minify js
jitendrabanjara1991 Jan 17, 2025
92f878e
Add more options dropdown
amincdev Jan 17, 2025
ea6baf2
PRJ-52 - Show hide dropdowns
amincdev Jan 17, 2025
f2bf112
Add tooltip SCSS
amincdev Jan 17, 2025
ce83906
PRJ-52 - Add tooltips on action icon buttons
amincdev Jan 17, 2025
094202d
PRJ-52- Worked on mark all notification read
jitendrabanjara1991 Jan 17, 2025
8e81bb2
PRJ-52 - Store notification IDs in a JavaScript variable.
jitendrabanjara1991 Jan 17, 2025
e6ecf71
PRJ-52 - Remove the stored IDs for mark as read notification when too…
jitendrabanjara1991 Jan 17, 2025
67f13e7
PRJ-52
jitendrabanjara1991 Jan 17, 2025
f4f6b18
PRJ-52 - Remove multiple var, use single var
jitendrabanjara1991 Jan 17, 2025
14c3886
Sidebar and content layout
amincdev Jan 20, 2025
2cee130
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 20, 2025
bb37898
PRJ-52 - Fixed - If the Dropdown going to be closed, then return. Tha…
jitendrabanjara1991 Jan 20, 2025
2aba1de
PRJ-52
jitendrabanjara1991 Jan 20, 2025
03bcc1f
PRJ-52 - Update var name
jitendrabanjara1991 Jan 20, 2025
f7ba03a
PRJ-52 - Trigger an AJAX request for messages when the "Unread" tab i…
jitendrabanjara1991 Jan 20, 2025
ef72e82
PRJ-52 - Remove notifications that have already been deleted and stor…
jitendrabanjara1991 Jan 20, 2025
4c7a1df
PRJ-51 - Run Grunt
jitendrabanjara1991 Jan 20, 2025
3cb18e2
PRJ-53 - Display all types of courses to logged-out users.
jitendrabanjara1991 Jan 20, 2025
1334b21
PRJ-53 - Update doc block comment as this function fetch all courses …
jitendrabanjara1991 Jan 20, 2025
5a8ac01
PRJ-53 - Added doc block comment to understood code
jitendrabanjara1991 Jan 20, 2025
306ff9b
PRJ-53 - Display all types of llms courses to logged-out users
jitendrabanjara1991 Jan 20, 2025
375f396
PRJ-52 - Make header responsive
amincdev Jan 20, 2025
44d24ff
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 20, 2025
5968a46
PRJ-52 - Removed All/Unread tab for messages
jitendrabanjara1991 Jan 20, 2025
ccf4252
PRJ-53 - Update prefix for js function
jitendrabanjara1991 Jan 20, 2025
67c309c
PRJ-52 - Make header notifications dropdown responsive
amincdev Jan 20, 2025
c6cae1c
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 20, 2025
c3a860a
PRJ-52 - Make admin bar sticky and adjust page spacing
amincdev Jan 20, 2025
f07e471
PRJ-52 - Remove all other plugins/themes CSS from ReadyLaunch pages.
jitendrabanjara1991 Jan 20, 2025
65e4d77
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 20, 2025
f00595c
PRJ-52 - Dequeue bbPress activity js which enqueue in activity page f…
jitendrabanjara1991 Jan 20, 2025
76c0e07
PRJ-53 - Add show more text and link for groups in left sidebar
jitendrabanjara1991 Jan 20, 2025
f3d5261
PRJ-53 - Fetch total group counts to display show more text for logge…
jitendrabanjara1991 Jan 20, 2025
3003520
PRJ-51 - Initial setup page for member
jitendrabanjara1991 Jan 20, 2025
27c0b97
PRJ-52 - Add Inter font and apply
amincdev Jan 20, 2025
b8ed6f8
PRJ-52 - Update prefix
amincdev Jan 20, 2025
a9095c3
PRJ-53 - Style show more link
amincdev Jan 20, 2025
ea64700
PRJ-59 Initial implementation for members template
bb-yudhisthir Jan 20, 2025
716b2bc
PRJ-52 - Removed code `wp_deregister_script ` and `wp_deregister_sty…
jitendrabanjara1991 Jan 20, 2025
660b1ad
PRJ-53 - Sidebar link hover correction
amincdev Jan 20, 2025
de35cb8
[PRJ-59] Basic styling for members template
annrra Jan 20, 2025
b12cb20
PRJ-55 - Initial setup for Activity
jitendrabanjara1991 Jan 21, 2025
5ffc47b
PRJ-52 - Added site-logo template for Readylaunch
jitendrabanjara1991 Jan 21, 2025
75ed5bd
PRJ-52 - Fixed - spelling mistake for body class
jitendrabanjara1991 Jan 21, 2025
99279bf
PRJ-52 - Set static logo
amincdev Jan 21, 2025
34525f7
PRJ-59 Add the action button ajax
bb-yudhisthir Jan 21, 2025
ce024ea
PRJ-51 - Updated the location of assets, as the default template loca…
jitendrabanjara1991 Jan 21, 2025
57bbd9a
PRJ-59 add common ajax function
bb-yudhisthir Jan 21, 2025
c399e3d
PRJ-53 - Asjust container width
amincdev Jan 21, 2025
1bc6e24
Merge branch 'feature-readylaunch' into PRJ-59
annrra Jan 21, 2025
55b1e17
[PRJ-59] Fix merge conflicts
annrra Jan 21, 2025
5176763
PRJ-59 revert the ajax updates as already done in nouveau
bb-yudhisthir Jan 21, 2025
6fb8aca
PRJ-52 - Made header nav sub menu UI and responsive
amincdev Jan 21, 2025
86f065c
PRJ-55 - Renamed class/id for activity post form related pages and js
jitendrabanjara1991 Jan 21, 2025
24e7eea
Style Activity post form default state
amincdev Jan 21, 2025
4723fe0
[PRJ-59] Styling for members template and secondary header
annrra Jan 21, 2025
1450b08
Include common styling to prevent future conflicts
annrra Jan 21, 2025
f3393ff
Merge branch 'feature-readylaunch' into PRJ-59
annrra Jan 21, 2025
3894229
[PRJ-59] Code refactor
annrra Jan 21, 2025
802dac5
Refactor code to be able to import mixins and functions separately
annrra Jan 21, 2025
5b39a6a
Merge branch 'release' into feature-readylaunch
jitendrabanjara1991 Jan 22, 2025
9ef64ed
PRJ-53 - Style sub menu items for side panel nav
amincdev Jan 22, 2025
6c5b067
PRJ-59 add layout filter common template
bb-yudhisthir Jan 22, 2025
5c4bf25
PRJ-59 Remove navigation
bb-yudhisthir Jan 22, 2025
e437985
PRJ-55 - Activity post form UI
amincdev Jan 22, 2025
a9c9ead
PRJ-59 phpcs
bb-yudhisthir Jan 22, 2025
872186f
PRJ-55 - Style privacy selections
amincdev Jan 22, 2025
6f31629
PRJ-60 Initial groups directory template
bb-yudhisthir Jan 22, 2025
d27f8b5
PRJ-55 - Optimise Js and Run grunt to minify js
jitendrabanjara1991 Jan 22, 2025
3016131
PRJ-55 - Fixed jshint "'self' is not defined."
jitendrabanjara1991 Jan 22, 2025
c5832e1
PRJ-59 Add common filters templates
bb-yudhisthir Jan 22, 2025
867c5ca
PRJ-55 - Optimise JS code
jitendrabanjara1991 Jan 22, 2025
bb654ce
PRJ-55 - Style Link preview block
amincdev Jan 22, 2025
060d0e9
PRJ-53 - Fixed phpcbd
jitendrabanjara1991 Jan 22, 2025
6e14aa4
PRJ-52 - Fixed: A confirmation box displayed during the unload event …
jitendrabanjara1991 Jan 22, 2025
b9369a8
[PRJ-59] Common styling for form elements, filters and select2 custom UI
annrra Jan 22, 2025
1243727
PRJ-59 Add scope to filter as dropdown
bb-yudhisthir Jan 22, 2025
d903456
Add/edit common stylesheets and css properties
annrra Jan 22, 2025
d2ac6de
Merge branch 'feature-readylaunch' into PRJ-59
annrra Jan 22, 2025
c8555ad
[PRJ-59] grunt
annrra Jan 22, 2025
26e05d6
[PRJ-59] Component filters spacing adjustments
annrra Jan 22, 2025
fc69a88
[PRJ-59] Overall improvements in members template
annrra Jan 22, 2025
a8c505f
PRJ-53 - Fixed duplicate query for group member count
jitendrabanjara1991 Jan 23, 2025
7da8b72
[PRJ-59] PROD-59 Add "bb-rl-" prefix
bb-yudhisthir Jan 23, 2025
68d8c66
PRJ-58 - Initial setup for Activity list
jitendrabanjara1991 Jan 23, 2025
9255e9a
PRJ-58 - Optimise code for activity list
jitendrabanjara1991 Jan 23, 2025
a269916
PRJ-58 - Initial setup for activity comment and renamed class
jitendrabanjara1991 Jan 23, 2025
8b56cb7
PRJ-55 - Activity post form scss rename and page spacing
amincdev Jan 23, 2025
4a6b401
PRJ-59 Add the count to header on filter response
bb-yudhisthir Jan 23, 2025
e7563d0
[PRJ-59] PROD-59 Add item count
bb-yudhisthir Jan 23, 2025
eac6863
PRJ-59 Remove js logic not used for members directory
bb-yudhisthir Jan 23, 2025
6bbd9ea
PRJ-55 - Reposition privacy stage as per Figma
amincdev Jan 23, 2025
1d9f8a4
PRJ-55 - Style activity privacy selector dropdown
amincdev Jan 23, 2025
f106f5c
[PRJ-59] Basic styling for modals
annrra Jan 23, 2025
97c1b9d
[PRJ-59] Members template UI improvements
annrra Jan 23, 2025
3480403
[PRJ-59] Add more options context menu
annrra Jan 23, 2025
17f119d
PRJ-58 - Optimised JS Code
jitendrabanjara1991 Jan 24, 2025
12126b7
PRJ-55 - Post form privacy UI and functionality update
amincdev Jan 24, 2025
fb0a4af
PRJ-58 - Optimise code to destroy uploader
jitendrabanjara1991 Jan 24, 2025
e1e7631
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 24, 2025
4ea373e
PRJ-58 - Optimise Activity action code
jitendrabanjara1991 Jan 24, 2025
d3f02f6
PRJ-59 Initial implementation of my network widget
bb-yudhisthir Jan 24, 2025
629d950
[PRJ-59] Refactor code - add/edit block member, invite member popups …
annrra Jan 24, 2025
28725d6
[PRJ-59] Improved grid/list layout
annrra Jan 24, 2025
7704875
[PRJ-59] Basic styling for widget area
annrra Jan 24, 2025
bc215b3
Add/edit common stylesheets and css properties
annrra Jan 24, 2025
bccdffb
PRJ-55 - Make dropzone globally usable with Utility functions
amincdev Jan 26, 2025
f597593
PRJ-55 - Style dropzone media uploader
amincdev Jan 26, 2025
ca0369d
PRJ - 55 Update media and video dropzone templates
amincdev Jan 26, 2025
b7299d2
PRJ-h3 - Update group listing item class
amincdev Jan 27, 2025
60d6982
PRJ-58 - Remove unwanted var
jitendrabanjara1991 Jan 27, 2025
65f8f3f
PRJ-58 - Remove unwanted var
jitendrabanjara1991 Jan 27, 2025
925e740
PRJ-58 - Updated class name
jitendrabanjara1991 Jan 27, 2025
5673749
PRJ-58 - Update class/id name bb-rl-nouveau to bb-rl
jitendrabanjara1991 Jan 27, 2025
b64be91
PRJ-55 - Add Video thumbnail in uploader
amincdev Jan 27, 2025
ea2ad0e
PRJ-58 - Optimize usage of BP_Nouveau object in JS by caching frequen…
jitendrabanjara1991 Jan 27, 2025
af89de0
PRJ-58 - Updated typeof condition checks for consistency and readabil…
jitendrabanjara1991 Jan 27, 2025
799012a
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 27, 2025
cf9de9d
PRJ-58 - Fixed typo in the doc comment with proper sentences
jitendrabanjara1991 Jan 27, 2025
6810724
PRJ-58 - Fixed phpcs errors
jitendrabanjara1991 Jan 27, 2025
dacebe0
PRJ-55 - Style video uploader
amincdev Jan 27, 2025
4f8bccf
PRJ-55 - Style privacy modal overlay and close functionality
amincdev Jan 27, 2025
e59cdaa
PRJ-59 Dynamic members invite popup related code
bb-yudhisthir Jan 27, 2025
0172723
PRJ-59 Pre select saved sorting and scope filter
bb-yudhisthir Jan 27, 2025
1c69c5d
PRJ-55 - Fixed draft issue with media/document/video
jitendrabanjara1991 Jan 27, 2025
6d50efa
PRJ-55 - Optimised code for mock file for edit data with dropzone
jitendrabanjara1991 Jan 27, 2025
5a901d9
PRJ-55 - Optimise close selectors code
jitendrabanjara1991 Jan 27, 2025
9aa142e
PRJ-55 - Using a single call to this.model.set instead of making mult…
jitendrabanjara1991 Jan 27, 2025
06883ba
PRJ-59 filter pagination
bb-yudhisthir Jan 27, 2025
5689a54
PRJ-59 Fix typo
bb-yudhisthir Jan 27, 2025
da9b430
[PRJ-59] My network UI and styling
annrra Jan 27, 2025
42eb138
PRJ-55 - Optimize usage of BP_Nouveau object in JS by caching frequen…
jitendrabanjara1991 Jan 27, 2025
4b8392a
[PRJ-59] Add styling for pagination elements
annrra Jan 27, 2025
a0135a8
PRJ-55 - Fixed phpcs
jitendrabanjara1991 Jan 27, 2025
b7c0f6a
PRJ-55 - Removed comment as not required
jitendrabanjara1991 Jan 27, 2025
00ec2cf
[PRJ-59] Report content/block member popups and temporary styling
annrra Jan 27, 2025
34d69d7
PRJ-55 - Updated typeof condition checks for consistency and readabil…
jitendrabanjara1991 Jan 27, 2025
3d22a93
[PRJ-59] Invites form validation + skeleton loader template
annrra Jan 27, 2025
55adca6
PRJ-55 - Style Document uploader block
amincdev Jan 28, 2025
9aff182
PRJ-55 - Introduce new function to get readylaunch icon
jitendrabanjara1991 Jan 28, 2025
09b0139
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 28, 2025
9323d22
PRJ-55 - Passed argument in the filter
jitendrabanjara1991 Jan 28, 2025
1ea47c6
[PRJ-59] Improvements in skeleton loader
annrra Jan 28, 2025
1a886b5
PRJ-55 - Dropzone error UI
amincdev Jan 28, 2025
656c8ec
PRJ-55 - Add bb-icons for different document types
amincdev Jan 28, 2025
e58ec08
PRJ-55 - Fixed phpcbf
jitendrabanjara1991 Jan 28, 2025
80a8e90
PRJ-55 - Removed createThumbnailFromUrl function, make that function …
jitendrabanjara1991 Jan 28, 2025
d45815a
PRJ-55 - Remove self var as not need and fixed phpcs
jitendrabanjara1991 Jan 28, 2025
4768f7f
PRJ-58 - Fixed phpcbf
jitendrabanjara1991 Jan 28, 2025
f227372
PRJ-58 - Fixed phpcs
jitendrabanjara1991 Jan 28, 2025
a113232
PRJ-55 - Style activity post form notice
amincdev Jan 28, 2025
15d47fd
[PRJ-59] Overall UI improvements
annrra Jan 28, 2025
e5e4a40
PRJ-55 - Move Medium Editor toolbar to correct position and style it
amincdev Jan 29, 2025
3b1334f
PRJ-55 - Style mention and reposition medium editor toolbar
amincdev Jan 29, 2025
fb0f4a9
PRJ-55 - Style different content formats
amincdev Jan 29, 2025
9975d19
PRJ-55 - Style Medium editor action form
amincdev Jan 29, 2025
abbc428
PRJ-59 Email invite from popup
bb-yudhisthir Jan 29, 2025
934d62e
PRJ-58 - Optimize JS code
jitendrabanjara1991 Jan 29, 2025
eaa6340
PRJ-58 - make common query function to avoid duplicate code
jitendrabanjara1991 Jan 29, 2025
daaf19e
[PRJ-59] Improvements in grid and responsive layout
annrra Jan 29, 2025
90bf71e
Merge branch 'PRJ-59' into PRJ-60
annrra Jan 29, 2025
b442374
[PRJ-60] Stylesheet and basic styleing for groups template
annrra Jan 29, 2025
b877b63
[PRJ-59] Fix stylelint errors and import variables into members style…
annrra Jan 29, 2025
1f6c293
PRJ-58 - Fixed jshint error
jitendrabanjara1991 Jan 30, 2025
7f5da9e
PRJ-60 Remove group description based on figma, added group total count
bb-yudhisthir Jan 30, 2025
98cadf0
PRJ-55 - Style GIF Picker
amincdev Jan 30, 2025
889032e
Revert "PRJ-60 Remove group description based on figma, added group t…
bb-yudhisthir Jan 30, 2025
1670982
PRJ-55 - Style GIF no result UI
amincdev Jan 30, 2025
ebe52ad
PRJ-58 - Added code for member dir
jitendrabanjara1991 Jan 30, 2025
77cd738
Merge branch 'feature-readylaunch' of github.com:buddyboss/buddyboss-…
jitendrabanjara1991 Jan 30, 2025
5afe011
Merge branch 'feature-readylaunch' into PRJ-59
bb-yudhisthir Jan 30, 2025
ec4d7f5
PRJ-59 grunt
bb-yudhisthir Jan 30, 2025
1d806da
PRJ-59 Update logic after conflict
bb-yudhisthir Jan 30, 2025
884f794
PRJ-59 Show invite popup based on condition
bb-yudhisthir Jan 30, 2025
94af964
Merge branch 'PRJ-59' into PRJ-60
KartikSuthar Jan 30, 2025
cc4f85c
[PRJ-60] update the font variables
KartikSuthar Jan 30, 2025
1fb8443
Merge branch 'PRJ-60' into PRJ-59
annrra Jan 30, 2025
ecc50af
PRJ-59 Update invite permission logic
bb-yudhisthir Jan 30, 2025
cdc1ad9
PRJ-59 grunt
bb-yudhisthir Jan 30, 2025
120a84b
PRJ-59 update condition for the members directory filters
bb-yudhisthir Jan 30, 2025
d3ecd27
[PRJ-59] Invites form validation updates + notices alternative styles
annrra Jan 30, 2025
7dd3648
[PRJ-59] Invites form validation and toast messages
annrra Jan 30, 2025
e6035d4
PRJ-59 Initial logic for adding widget manually from the code
bb-yudhisthir Jan 31, 2025
b0985ea
PRJ-59 update sidebar id
bb-yudhisthir Jan 31, 2025
6ffb0fc
PRJ-59 Add disabled message button if require to connect, make text c…
bb-yudhisthir Jan 31, 2025
73845c6
[PRJ-59] Reset invite members form and update logic for toast messages
annrra Jan 31, 2025
fe1f4ea
[PRJ-59] Localize translations of strings in js files
annrra Jan 31, 2025
84e0580
[PRJ-59] Handle message button states when non-admin members are requ…
annrra Jan 31, 2025
adb47a5
[PRJ-59] Code refactor
annrra Jan 31, 2025
23cb8a8
[PRJ-59] UI updates for report member modal
annrra Jan 31, 2025
54a2741
[PRJ-59] UI updates for report member modal
annrra Jan 31, 2025
5fa0dd6
[PRJ-59] Disable invites submit button to prevent multiple form submi…
annrra Jan 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@ module.exports = function (grunt) {
src: ['bp-templates/bp-nouveau/sass/buddypress.scss'],
dest: SOURCE_DIR + 'bp-templates/bp-nouveau/css/'
},
ready_launch: {
cwd: SOURCE_DIR,
extDot: 'last',
expand: true,
ext: '.css',
flatten: true,
src: ['bp-templates/bp-nouveau/readylaunch//css/sass/*.scss'],
dest: SOURCE_DIR + 'bp-templates/bp-nouveau/readylaunch/css'
},
admin: {
cwd: SOURCE_DIR,
extDot: 'last',
Expand Down Expand Up @@ -388,7 +397,8 @@ module.exports = function (grunt) {
'!**/emojionearea-edited.css',
'!**/pusher/**/*.css',
'!**/recaptcha/**/*.css',
'!**/endpoints/**/*.css'
'!**/endpoints/**/*.css',
'!**/readylaunch/**/*.css'
]
)
},
Expand Down
6 changes: 5 additions & 1 deletion src/bp-core/admin/bp-core-admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,11 @@ function bp_core_get_admin_tabs( $active_tab = '' ) {
'name' => __( 'Credits', 'buddyboss' ),
'class' => 'bp-credits',
),

'8' => array(
'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bb-readylaunch' ), 'admin.php' ) ),
'name' => __( 'ReadyLaunch™', 'buddyboss' ),
'class' => 'bb-readylaunch',
),
);

/**
Expand Down
Empty file.
138 changes: 138 additions & 0 deletions src/bp-core/bb-core-readylaunch.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?php
/**
* BuddyBoss Core Readylaunch.
*
* Handles the core functions related to the BB Readylaunch.
*
* @since BuddyBoss [BBVERSION]
*/

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

/**
* Register readyLaunch widgets.
*
* @since BuddyBoss [BBVERSION]
*/
function bb_rl_register_widgets () {
if ( bb_get_enabled_readylaunch() && function_exists( 'bp_get_following_ids' ) ) {
$plugin_dir = BP_PLUGIN_DIR;
if ( defined( 'BP_SOURCE_SUBDIRECTORY' ) && ! empty( constant( 'BP_SOURCE_SUBDIRECTORY' ) ) ) {
$plugin_dir = $plugin_dir . 'src';
}
$widget_file = $plugin_dir . '/bp-core/classes/class-bb-core-follow-my-network-widget.php';
if ( file_exists( $widget_file ) ) {
require_once $widget_file;
if ( class_exists( 'BB_Core_Follow_My_Network_Widget' ) ) {
add_action(
'widgets_init',
function() {
register_widget( 'BB_Core_Follow_My_Network_Widget' );
}
);
}
}
}
}

add_action( 'bp_register_widgets', 'bb_rl_register_widgets' );

/**
* Register the readyLaunch sidebar.
*
* @since BuddyBoss [BBVERSION]
*/
function bb_rl_register_sidebar() {
$sidebar_id = 'bb-readylaunch-members-sidebar';
register_sidebar(
array(
'name' => __( 'BB ReadyLaunch™ Members Sidebar', 'buddyboss' ),
'id' => $sidebar_id,
'description' => __( 'Add widgets here to appear in the right sidebar on ReadyLaunch pages. This sidebar is used to display additional content or tools specific to ReadyLaunch.', 'buddyboss' ),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>',
)
);
}
add_action( 'widgets_init', 'bb_rl_register_sidebar' );

/**
* Hide readylaunch sidebar to be viewing in admin area.
*
* @since BuddyBoss [BBVERSION]
*/
function bb_rl_modify_members_sidebars_widgets( $sidebars_widgets ) {
if ( is_admin() ) {
unset( $sidebars_widgets['bb-readylaunch-members-sidebar'] ); // Remove all widgets from specific sidebar
}
return $sidebars_widgets;
}
add_filter( 'sidebars_widgets', 'bb_rl_modify_members_sidebars_widgets', 11 ); // Runs after widgets_init

/**
* Manually add readylaunch sidebar widgets.
*
* @since BuddyBoss [BBVERSION]
*/
function bb_rl_manually_add_members_sidebar_widgets() {
// Get the sidebar ID.
$sidebar_id = 'bb-readylaunch-members-sidebar'; // Use the correct sidebar ID.
$widget_id = 'bb_core_follow_my_network_widget'; // The widget's registered ID.
$instance_id = '999';
$widget_instance_id = $widget_id . '-' . $instance_id;
$sidebars_widgets = get_option( 'sidebars_widgets', array() );

// Ensure it's an array, even if the option exists but is empty.
if ( ! is_array( $sidebars_widgets ) ) {
$sidebars_widgets = array();
}

// The widget details
$widget_instance = array(
'widget_id' => $widget_id ,
'instance_id' => $instance_id, // Use the correct instance ID.
);

$widget_settings = array(
'max_users' => 15,
'member_default' => 'followers',
);

// Save widget settings to the options table
$option_name = 'widget_' . $widget_id; // Key for this widget settings.
$current_settings = get_option( $option_name, array() );

// Ensure it's an array, even if the option exists but is empty.
if ( ! is_array( $current_settings ) ) {
$current_settings = array();
}

// Add the widget settings to the existing ones (or create new if not present).
if ( ! array_key_exists( $widget_instance_id, $current_settings ) ) {
$current_settings[ $instance_id ] = $widget_settings;
}

// Save the updated widget settings back to the options table.
update_option( $option_name, $current_settings );

// Remove from inactive.
if ( isset( $sidebars_widgets[ 'wp_inactive_widgets' ] ) && ( $key = array_search( $widget_instance_id, $sidebars_widgets[ 'wp_inactive_widgets' ] ) ) !== false ) {
unset( $sidebars_widgets[ 'wp_inactive_widgets' ][ $key ] );
}

if ( ! isset( $sidebars_widgets[ $sidebar_id ] ) ) {
$sidebars_widgets[ $sidebar_id ] = array( $widget_instance_id );

// Add widget instance to sidebar.
wp_set_sidebars_widgets( $sidebars_widgets );
} elseif ( ! in_array( $widget_instance_id, $sidebars_widgets[ $sidebar_id ], true ) ) {
$sidebars_widgets[ $sidebar_id ][] = $widget_instance_id;

// Add widget instance to sidebar.
wp_set_sidebars_widgets( $sidebars_widgets );
}
}
add_action( 'widgets_init', 'bb_rl_manually_add_members_sidebar_widgets', 99 );
13 changes: 13 additions & 0 deletions src/bp-core/bp-core-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1238,3 +1238,16 @@ function bb_telemetry_load() {
}

add_action( 'bp_init', 'bb_telemetry_load' );

/**
* Function to load readylaunch class.
*
* @since BuddyBoss [BBVERSION]
*/
function bb_load_readylaunch() {
if ( class_exists( 'BB_Readylaunch' ) ) {
return BB_Readylaunch::instance();
}
}

add_action( 'bp_init', 'bb_load_readylaunch' );
13 changes: 12 additions & 1 deletion src/bp-core/bp-core-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7755,7 +7755,7 @@ function bb_core_get_encoded_image( $attachment_id, $size = 'full' ) {
*
* @since BuddyBoss 2.0.0
*
* @param $id Id of the section.
* @param string $id Id of the section.
*
* @return string Return icon name.
*/
Expand Down Expand Up @@ -10028,3 +10028,14 @@ function bb_get_all_headers() {
function bb_pro_sso_version() {
return '2.6.30';
}

/**
* Function to return enabled components for ReadyLaunch.
*
* @since BuddyBoss [BBVERSION]
*
* @return array
*/
function bb_get_enabled_readylaunch() {
return bp_get_option( 'bb_readylaunch', array() );
}
Loading