amoghrajesh commented on code in PR #77143:
URL: https://github.com/apache/airflow/pull/77143#discussion_r4614358718


##########
registry/src/operators.njk:
##########
@@ -0,0 +1,109 @@
+---
+layout: base.njk
+title: Operators
+description: Operators, hooks, sensors, triggers and other modules across all 
Airflow providers, filterable by durable and deferrable support
+mainClass: operators-page
+---
+
+{% set counts = operatorModules.counts %}
+
+<div class="container">
+  <header class="page-header">
+    <h1>Operators</h1>
+    <p>{{ counts.all }} operators, hooks, sensors, triggers and other modules 
across {{ operatorModules.groups.length }} providers. Filter by type, provider, 
or durable and deferrable support.</p>
+  </header>
+
+  <dl class="capabilities">
+    <div>
+      <dt><span class="durable-badge">Durable</span> {{ counts.durable }}</dt>

Review Comment:
   Every page now says UI/REST task clears from 3.4, every other clear from 3.5.
   



##########
registry/src/js/operator-filters.js:
##########
@@ -17,48 +17,65 @@
  * under the License.
  */
 
-// Filters for the /durable/ page. State lives in the query string
-// (?capability=deferrable&provider=amazon&type=sensor&q=glue) so a filtered
-// view can be shared.
+// Filters for the /operators/ page. State lives in the query string
+// (?capability=durable&provider=amazon&type=sensor&q=glue) so a filtered
+// view can be shared. Type defaults to operator, so "all types" is written
+// to the URL as type=all.
 (function() {
-  const searchInput = document.getElementById('durable-search');
+  const searchInput = document.getElementById('operator-search');
   const capabilityButtons = document.querySelectorAll('.capability-btn');
-  const providerSelect = document.getElementById('durable-provider-filter');
-  const typeSelect = document.getElementById('durable-type-filter');
-  const status = document.getElementById('durable-status');
-  const emptyState = document.getElementById('durable-empty');
-  const groups = document.querySelectorAll('.durable-page .provider-group');
+  const providerSelect = document.getElementById('operator-provider-filter');
+  const typeSelect = document.getElementById('operator-type-filter');
+  const status = document.getElementById('operator-status');
+  const emptyState = document.getElementById('operator-empty');
+  const groups = document.querySelectorAll('.operators-page .provider-group');
 
   if (!searchInput || !providerSelect || !typeSelect) return;
 
-  const state = { capability: 'all', provider: 'all', type: 'all', q: '' };
+  const defaults = { capability: 'all', provider: 'all', type: 'operator', q: 
'' };

Review Comment:
   The cell now says it fails with `ConcurrentRunsExceededException` until the 
first run ends, and keeps "submits a new job run" for a higher limit.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to