Skip to content

Update elasticsearch#10

Open
ttys0dev wants to merge 777 commits into
mainfrom
update-elasticsearch
Open

Update elasticsearch#10
ttys0dev wants to merge 777 commits into
mainfrom
update-elasticsearch

Conversation

@ttys0dev
Copy link
Copy Markdown
Owner

Fixes

This fixes...

Summary

This PR...

Deployment

This PR should:

  • skip-deploy (skips everything below)
    • skip-web-deploy
    • skip-celery-deploy
    • skip-cronjob-deploy
    • skip-daemon-deploy
  1. To deploy...

Screenshots

Desktop

Mobile

@ttys0dev ttys0dev force-pushed the update-elasticsearch branch 2 times, most recently from 1b42bc8 to aa15a61 Compare January 11, 2026 00:26
EstiShay and others added 28 commits February 17, 2026 14:45
Minimize old bot comments as OUTDATED and post a fresh markdown
summary when warnings or errors are found.  Silent when clean.

Also adds concurrency group and job summary output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add back docket foreign keys on `CaseTransfer` model and add constraint that at most one can be null.
Legacy templates style links by default in override.css
so the warnings are mostly irrelevant. To prevent noise
we now only check styled links in new templates.
Co-authored-by: Elisa <elisa@free.law>
Now that BLOCK_UNKNOWN_FILTERS has been enabled in production since
Feb 9, the Redis logging and email notification system for bad API
filter parameters is dead code. Invalid requests are simply rejected
with HTTP 400.

Remove:
- Redis logging functions (log_bad_filter_params_to_redis, etc.)
- BAD_FILTER_PARAMS_PREFIX constant
- notify_bad_api_filter_users management command
- bad_api_filter_params_email.txt template
- BLOCK_UNKNOWN_FILTERS setting (blocking is now always on)
- _handle_unknown_params method (inlined into filter_queryset)

Fixes: freelawproject#6771

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove @override_settings(BLOCK_UNKNOWN_FILTERS=...) from all test
  classes since blocking is now the default behavior
- Replace UnknownFilterParameterTests (Redis-based) with
  UnknownFilterParameterBlockingTests (HTTP integration tests)
- Remove test_can_ignore_invalid_filters (non-blocking mode removed)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
add xml_scan to bulk data script
update migrations
…as-and-scotus-model-changes

Update `SCOTUSDocument`, `TexasDocument`, and `CaseTransfer` models
…bankruptcy

feat(help): Add new bankruptcy info to v2 template as well
…odcast-icons-20260217

Use correct podcast icon
…xtures_20260130

test(recap): replace fixture with factory
add new migration to add a new field docket_number_source to the search app
This commit introduces `MAX_RELATED_SEARCH_PAGINATION_DEPTH` (default: 5 pages) and updates `check_pagination_depth()` to accept a configurable max_depth parameter.
This commit adds logic to identify `related:` queries in `fetch_and_paginate_results()` and apply
the stricter `MAX_RELATED_SEARCH_PAGINATION_DEPTH` limit to prevent crawlers from triggering expensive deep-pagination MLT queries.
pre-commit-ci Bot and others added 29 commits March 13, 2026 22:34
The check_pdf_redactions task references httpx exception types but
httpx was not imported, causing a NameError at module load time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ray-redaction-checking

feat(recap): Add X-Ray redaction checking to PDF ingestion pipeline
…crapers-tests-20260204

test(corpus_importer,scrapers): replace fixtures with factories
…change-log

feat(help): Apply updated design to REST API Change Log
The legacy date-based Redis key (e.g. search.results.2026-03-16) has no
per-test-class prefix, so integration tests running in parallel can
increment it between setUp cleanup and assertion. Use delta-based checks
(consistent with PrometheusIntegration*Tests) instead of absolute values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…al-court-data

Add `TrialCourtData` Model
The <a> opening tag was excluded from the depth count but </a> was
still counted, creating a depth imbalance that prevented the scanner
from reaching the actual ancestor element. Since nested <a> tags are
invalid HTML, there is no reason to special-case them — count all
tags equally.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…duce-prometheus

feat(stats): Add Prometheus metrics for monitoring
These template changes belong in the dependent PR that uses the
ancestor styling pattern — this PR should only contain the lint
check fix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Links that wrap images or SVGs don't need text-styling classes.
Skip the warning when the <a> tag's content is only <img>, <svg>,
or {% svg %} template tags.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a docs link to the _has_ancestor_link_styling docstring and a
"Help: Unstyled links" section to the markdown summary that appears
in PR comments when the check fails.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a comment to touch the file so the CI check runs on it.
Remove before merge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…inks-ancestor-styling

fix: improve bare-link check for ancestor styling and visual content
…ject#6907)

* feat(ai): add GenAI batch wrapper and management commands

* refactor(ai): extract helper functions from check_gemini_batch_status command

* refactor(ai): extract helpers from send_gemini_batches, fix TaskStatus in both batch commands

* fix(ai): add missing init files

* fix(ai): use .count() to count pending requests
logger.error instead of logger.warning when cant serialize json
delete temp files in fetch_files_and_create_tasks if something fails
update tests

* fix(ai): use LLMRequestStatusChoices class in LLMRequest objects and queries
update COMPLETED_STATES set
set failed_tasks count in LLMRequest

* fix(ai): handle transient errors in batch status check

* refactor(ai): wrap batch creation in atomic transaction

- use transaction.atomic() so LLMRequest and tasks roll back on failure instead of leaving partial DB state
- pass temp_files as mutable param so cleanup works even on partial failure
- update test

* refactor(ai): replace LLMTaskStatusChoices with LLMRequestStatusChoices in tests and in send_gemini_batches command

* fix(ai): use JobState enums and handle PARTIALLY_SUCCEEDED

- Compare job.state (enum) instead of job.state.name (string) against
  COMPLETED_STATES and SUCCEEDED_STATES sets
- Add SUCCEEDED_STATES set for states where results can be downloaded
- Handle JOB_STATE_PARTIALLY_SUCCEEDED by processing available results
- Mark orphaned IN_PROGRESS tasks as FAILED after processing results
- Use .count() variable to avoid evaluating pending_requests queryset twice

* feat(ai): rename command and add batch size control

- Rename send_gemini_batches to send_gemini_file_batches
- Add --batch-size argument (default 1000) to split large S3 paths
  into multiple LLMRequests
- Add chunk_iterator() helper for splitting iterators
- Rename fetch_files_and_create_tasks to create_tasks_from_files,
  accepting file tuples directly
- Wrap all chunks in a single transaction

* test(ai): update tests for enum and batch splitting changes

- Use JobState enum values instead of string mocks in all tests
- Use LLMRequestStatusChoices for LLMRequest assertions
- Update test_check_status_task_not_found for orphaned task cleanup
- Add test_send_gemini_batches_splits_by_batch_size
- Update mock references for send_gemini_file_batches rename

* fix(ai): address PR review feedback from grossir

- Accept PARTIALLY_SUCCEEDED in download_results via DOWNLOADABLE_JOB_STATES set
- Use bulk update() in process_failed_request instead of per-task loop
- Mark tasks as failed in transient-error-expiry and generic exception paths
- Move transaction.atomic inside chunk loop for per-batch rollback
- Add outer except for S3 iteration failures with Sentry reporting
- Update tests for new behavior

* refactor(ai): move model validation into GoogleGenAIBatchWrapper

- Add SUPPORTED_GEMINI_MODELS dict with shutdown dates to google.py
- Add validate_model() static method with expiration checking
- Move model_name to wrapper constructor, remove from method params
- Update send_gemini_file_batches to use wrapper-level validation
- Add tests for model validation logic

* feat(ai): add deduplication to send_gemini_file_batches

- Skip files already processed with same model + prompts combo
- Add --force flag to bypass dedup and reprocess all files
- Query LLMTask for SUCCEEDED/FINISHED status keyed on S3 key, model, and both prompts
…elawproject-dependencies

Update freelawproject dependencies
@github-actions
Copy link
Copy Markdown

Frontend Checks Summary

Found 137 error(s), 9 warning(s).

Errors

File Line Check Message
cl/api/templates/bulk-data.html 113 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/api/templates/bulk-data.html 123 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/api/templates/docs.html 111 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/api/templates/v2_bulk-data.html 60 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/api/templates/v2_bulk-data.html 65 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/api/templates/v2_case-law-api-docs-vlatest.html 89 check_font_awesome Font Awesome class detected — use the {% svg %} template tag instead (see cl/custom_filters/templatetags/svg_tags.py, icons live in cl/assets/static-global/svg/)
cl/api/templates/v2_financial-disclosure-api-docs-vlatest.html 42 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/api/templates/v2_financial-disclosure-api-docs-vlatest.html 103 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/api/templates/v2_judge-api-docs-vlatest.html 79 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/api/templates/webhooks-getting-started.html 203 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/base.html 122 check_tabindex tabindex="1" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 130 check_tabindex tabindex="200" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 131 check_tabindex tabindex="201" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 135 check_tabindex tabindex="202" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 139 check_tabindex tabindex="203" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 141 check_tabindex tabindex="204" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 143 check_tabindex tabindex="205" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 144 check_tabindex tabindex="206" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 153 check_tabindex tabindex="207" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 155 check_tabindex tabindex="208" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 159 check_tabindex tabindex="208" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 169 check_tabindex tabindex="200" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 170 check_tabindex tabindex="201" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 173 check_tabindex tabindex="203" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 178 check_tabindex tabindex="204" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 180 check_tabindex tabindex="204" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 199 check_tabindex tabindex="100" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 205 check_tabindex tabindex="101" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 209 check_tabindex tabindex="101" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 214 check_tabindex tabindex="102" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 217 check_tabindex tabindex="103" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 220 check_tabindex tabindex="104" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 227 check_tabindex tabindex="200" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 232 check_tabindex tabindex="201" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 235 check_tabindex tabindex="202" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 238 check_tabindex tabindex="203" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 241 check_tabindex tabindex="204" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 244 check_tabindex tabindex="205" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 247 check_tabindex tabindex="206" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 250 check_tabindex tabindex="207" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 257 check_tabindex tabindex="300" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 261 check_tabindex tabindex="301" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 264 check_tabindex tabindex="302" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 267 check_tabindex tabindex="303" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 270 check_tabindex tabindex="304" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 273 check_tabindex tabindex="305" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 280 check_tabindex tabindex="400" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 284 check_tabindex tabindex="401" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 287 check_tabindex tabindex="404" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 290 check_tabindex tabindex="405" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 297 check_tabindex tabindex="500" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 301 check_tabindex tabindex="501" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 304 check_tabindex tabindex="502" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 307 check_tabindex tabindex="503" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 316 check_tabindex tabindex="600" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 352 check_tabindex tabindex="10000" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 366 check_tabindex tabindex="11000" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 369 check_tabindex tabindex="11001" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 372 check_tabindex tabindex="11002" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 378 check_tabindex tabindex="11003" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 381 check_tabindex tabindex="11004" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 384 check_tabindex tabindex="11005" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 386 check_tabindex tabindex="11006" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 395 check_tabindex tabindex="11007" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 398 check_tabindex tabindex="11008" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 401 check_tabindex tabindex="11009" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 404 check_tabindex tabindex="11010" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 410 check_tabindex tabindex="11011" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 413 check_tabindex tabindex="11012" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 416 check_tabindex tabindex="11013" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 423 check_tabindex tabindex="11014" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 432 check_tabindex tabindex="11015" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/assets/templates/base.html 463 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 22 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 34 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 40 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 53 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 59 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 71 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 86 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 95 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/footer.html 118 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/header.html 60 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/header.html 68 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/support_plea_banner.html 7 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/assets/templates/cotton/support_plea_banner.html 15 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/disclosures/templates/financial_disclosures_home.html 48 check_tabindex tabindex="300" — never use tabindex > 0; use 0 (focusable) or -1 (programmatic only) (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex)
cl/donate/templates/includes/donate_sidebar.html 12 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/opinion_page/templates/opinions.html 184 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/opinion_page/templates/opinions.html 254 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/search/templates/advanced.html 740 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/search/templates/homepage.html 1 check_sync_notice Legacy template missing sync notice — a v2_ counterpart exists. Add the standard ATTENTION comment block.
cl/search/templates/includes/alert_modal.html 106 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/search/templates/includes/alert_modal.html 109 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/search/templates/includes/alert_modal.html 123 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/search/templates/includes/alert_modal.html 126 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/search/templates/v2_homepage.html 128 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/simple_pages/templates/help/index.html 51 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/simple_pages/templates/v2_help/index.html 24 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 25 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 26 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 27 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 28 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 29 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 30 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 31 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 32 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 33 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 34 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 35 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 47 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 48 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 49 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 50 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 51 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/simple_pages/templates/v2_help/index.html 51 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 52 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 70 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 73 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 76 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 79 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 82 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 85 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 88 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 91 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 94 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 97 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 100 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 108 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 111 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 115 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 116 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 117 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/index.html 118 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/simple_pages/templates/v2_help/markdown_help.html 339 check_bare_links Unstyled tag — links should have appropriate styling classes (or styling may come from parent/child)
cl/users/templates/profile/delete.html 45 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)
cl/visualizations/templates/visualization_embedded.html 46 check_tabnabbing target="_blank" without rel containing "noopener" or "noreferrer" — tabnabbing risk (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener)

Warnings

File Line Check Message
cl/api/templates/v2_case-law-api-docs-vlatest.html 122 check_include_in_v2 {% include %} in v2_ template — prefer Cotton components (<c-...>)
cl/assets/templates/cotton/footer.html 4 check_hardcoded_ids Hardcoded id="footer" — consider using dynamic IDs (x-bind:id or template variables) for reusable components
cl/assets/templates/cotton/header.html 40 check_hardcoded_ids Hardcoded id="header-support-menu" — consider using dynamic IDs (x-bind:id or template variables) for reusable components
cl/assets/templates/cotton/header.html 125 check_hardcoded_ids Hardcoded id="advanced-filters-panel" — consider using dynamic IDs (x-bind:id or template variables) for reusable components
cl/assets/templates/cotton/header.html 134 check_hardcoded_ids Hardcoded id="advanced-filters-title" — consider using dynamic IDs (x-bind:id or template variables) for reusable components
cl/assets/templates/cotton/header.html 162 check_hardcoded_ids Hardcoded id="header-profile-trigger" — consider using dynamic IDs (x-bind:id or template variables) for reusable components
cl/assets/templates/cotton/header.html 183 check_hardcoded_ids Hardcoded id="header-profile-menu" — consider using dynamic IDs (x-bind:id or template variables) for reusable components
cl/assets/templates/cotton/header.html 284 check_hardcoded_ids Hardcoded id="logout-form" — consider using dynamic IDs (x-bind:id or template variables) for reusable components
cl/assets/templates/cotton/navigation_menu.html 106 check_hardcoded_ids Hardcoded id="mobile-menu-list" — consider using dynamic IDs (x-bind:id or template variables) for reusable components

Help: Unstyled links

Links in redesign templates need Tailwind styling classes. Common fixes:

  • Add classes directly: <a class="text-primary-600 hover:underline" ...>
  • Style from a parent using descendant selectors: <div class="[&_a]:text-primary-600 [&_a]:hover:underline">

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.