Skip to content

Remove JSONP column and related code#72

Merged
saumier merged 4 commits intomasterfrom
feature/issue-69
Apr 21, 2026
Merged

Remove JSONP column and related code#72
saumier merged 4 commits intomasterfrom
feature/issue-69

Conversation

@AbhishekPAnil
Copy link
Copy Markdown

This pull request removes all support for JSONP-based endpoint checking from the codebase, simplifying the logic to only support CORS-based checks. The changes affect the UI, internal state management, and related documentation.

Removal of JSONP support:

  • Removed all logic, UI elements, and state related to checking endpoint reachability via JSONP from FeatureRow, FeatureCell, and FeatureTable components, including the jsonp prop, JSONP-specific columns, and the "Check with JSONP" button. [1] [2] [3] [4] [5] [6] [7] [8]

UI and documentation updates:

  • Removed the JSONP column from the feature table and all related documentation and instructions about JSONP, including the "load all endpoints via JSONP" button and explanatory text. [1] [2]

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to remove JSONP-based endpoint checking so the feature table only uses CORS-based reachability/version checks, simplifying the UI and state handling around endpoint validation.

Changes:

  • Removed the JSONP column and JSONP-related UI/actions from the feature table.
  • Removed JSONP reachability state and JSONP manifest fetching logic from FeatureRow.
  • Simplified FeatureCell rendering by removing the JSONP “maybe / click to check” state and button.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/FeatureTable.jsx Removes JSONP column/props and related explanatory UI; simplifies row keys.
src/FeatureRow.jsx Deletes JSONP fetch/check path and JSONP reachability state; CORS-only reachability.
src/FeatureCell.jsx Removes JSONP-specific “maybe” rendering and the “Check with JSONP” button.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/FeatureTable.jsx
Comment thread src/FeatureCell.jsx
Comment on lines 24 to 28
let span = <span className={glyph} sr-only={text} style={{color: color}}></span>;
let link = span;
if (this.props.onClick && this.props.value === 'maybe') {
link = <Button onClick={this.props.onClick} bsStyle="warning" bsSize="xsmall" title="Check with JSONP">{span}</Button>
}
return (
<td className={'featureCell '+cellClass}>
{link}
{span}
</td>
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sr-only is not a valid HTML/React attribute on a <span>, so this likely doesn't provide any screen-reader text. Consider using aria-label/title, or include a visually-hidden element with className="sr-only" containing the text, to make these status icons accessible.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/ReconciliationService.js
Comment thread src/FeatureCell.jsx
@saumier saumier merged commit f2795d5 into master Apr 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove JSONP from Reconciliation Testbench

3 participants