Skip to content

Fix Airbyte connection list ordering#1350

Closed
disha-1302 wants to merge 1 commit into
DalgoT4D:mainfrom
disha-1302:fix-airbyte-connection-ordering
Closed

Fix Airbyte connection list ordering#1350
disha-1302 wants to merge 1 commit into
DalgoT4D:mainfrom
disha-1302:fix-airbyte-connection-ordering

Conversation

@disha-1302

@disha-1302 disha-1302 commented May 13, 2026

Copy link
Copy Markdown

Sorted Airbyte connections alphabetically for more predictable ordering in the UI.

Summary by CodeRabbit

  • Bug Fixes
    • Connections are now sorted alphabetically in a consistent, case-insensitive order.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 13, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 15f07aba-353e-4a4b-a0f2-22b6bf7a2050

📥 Commits

Reviewing files that changed from the base of the PR and between 43b75f8 and fa82555.

📒 Files selected for processing (1)
  • ddpui/ddpairbyte/airbytehelpers.py

Walkthrough

The PR adds case-insensitive sorting to the connection list returned by the get_connections() function in the Airbyte helper module. The list is sorted by connection name before being returned to the caller.

Changes

Connection list sorting

Layer / File(s) Summary
Sort connections by name
ddpui/ddpairbyte/airbytehelpers.py
get_connections() applies case-insensitive name-based sorting to the final result list via res.sort(key=lambda x: x["name"].lower()) before returning.

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Fix Airbyte connection list ordering' directly relates to the main change: sorting Airbyte connections alphabetically in the get_connections() function.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 and usage tips.

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