[BUG]: SocialShareButton logs unconditional console.warn when script is not loaded
Maintainers usually reply within 1 day
@vivekrajputofficial29-afk is already working on this.
Since Nov 19, 2026.
- #470 by @vivekrajputofficial29-afk — open
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 89/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, react
- Domain
- developer-experience, frontend
Research direction
Start with the useEffect in src/components/SocialShareButton.jsx around lines 57–59 and check how the existing debug prop is used. Gate or remove the warning as described, then verify that the warning is suppressed when debug is false and available when it is true. Done means normal navigation no longer logs the warning.
Written by the indexing model from the issue text.
Description
Bug Description
Bug Description
In src/components/SocialShareButton.jsx, an else branch in useEffect logs console.warn('SocialShareButton widget not loaded') on every render where window.SocialShareButton is undefined.
Since the component already accepts a debug prop (defaulting to false), this warning clutters developer and browser console logs during normal runtime and testing environments.
Steps to Reproduce
- Open OrgExplorer with browser DevTools / Console open.
- Navigate across pages (such as
/overview). - Notice
SocialShareButton widget not loadedwarning in the console.
Location
- File:
src/components/SocialShareButton.jsx - Line: 57–59
Proposed Solution
Gate the warning behind the existing debug prop, or remove it so it does not log in normal production/development runs:
} else if (debug) {
console.warn('SocialShareButton widget not loaded');
}
Impact
Low - Minor inconvenience / Dev ergonomics
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
Steps to Reproduce
No response
Logs and Screenshots
No response
Environment Details
No response
Impact
Critical - Application is unusable
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- Dominant language
- JavaScript
- Stars
- 53
- Forks
- 187
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/OrgExplorer
-
[BUG]: Organization filter dropdown in AnalyticsPage renders empty list due to truthy evaluation of empty issuesDataPossibly taken @havyasreekuppam claimed this 5 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AOSSIE-Org/OrgExplorer#476 · 5 comments ·
Maintainers usually reply within 1 day
-
Add Pat for 5000 req/hr button not visible when pat expiresPossibly taken @Rajvardhan-Singh-Rathore claimed this 6 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AOSSIE-Org/OrgExplorer#473 · 6 comments ·
Maintainers usually reply within 1 day
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible namePossibly taken @prasanm1423 claimed this 10 days ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#466 · 2 comments ·
Maintainers usually reply within 1 day
-
[FEATURE]: Set dynamic document.title based on active page routePossibly taken @23241a6749 claimed this 8 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#462 · 2 comments ·
Maintainers usually reply within 1 day
-
[BUG]: governance page shows "No dead issues" before the audit has runPossibly taken @SHIVIKA330 claimed this 5 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
AOSSIE-Org/OrgExplorer#453 · 5 comments ·
Maintainers usually reply within 1 day
All issues in AOSSIE-Org/OrgExplorer
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Kanevry/session-orchestrator#108 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
andromarces/agent-loops#2055 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days