Skip to content

Fix #4874 - Disable edit action for deprecated API subscriptions#1384

Merged
Irash-Perera merged 2 commits into
wso2:mainfrom
Irash-Perera:deprecated-apis
Jul 17, 2026
Merged

Fix #4874 - Disable edit action for deprecated API subscriptions#1384
Irash-Perera merged 2 commits into
wso2:mainfrom
Irash-Perera:deprecated-apis

Conversation

@Irash-Perera

@Irash-Perera Irash-Perera commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Purpose

Fixes #4874
wso2/api-manager#4874

Description

  • Disable the Edit action for subscriptions associated with deprecated APIs in the Developer Portal.
  • Align the UI behavior with the backend restriction and the existing behavior for blocked APIs.

Related Issue

  • Fixes #4874

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7d6491e6-e5ea-41af-881e-7167299f980a

📥 Commits

Reviewing files that changed from the base of the PR and between 72f9dfb and c5f3840.

📒 Files selected for processing (1)
  • portals/devportal/src/main/webapp/source/src/app/components/Applications/Details/SubscriptionTableData.jsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • portals/devportal/src/main/webapp/source/src/app/components/Applications/Details/SubscriptionTableData.jsx

📝 Walkthrough

Walkthrough

The edit action now also becomes disabled when the API lifecycle status is DEPRECATED, alongside the existing tier and subscription status checks.

Changes

Edit button disable logic

Layer / File(s) Summary
Extend edit disabled condition
portals/devportal/.../SubscriptionTableData.jsx
Adds a DEPRECATED lifecycle status check to the existing edit-button disabled logic.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: krishanx92, rakhitharr, tharikagithub

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: disabling edit for deprecated API subscriptions.
Description check ✅ Passed The description accurately describes the UI change and its alignment with backend behavior.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@Irash-Perera
Irash-Perera merged commit b96353b into wso2:main Jul 17, 2026
4 checks 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.

2 participants