PromucFlow_constructor/app/client/packages/design-system/ads/src
Diljit e79e0ffa43
chore: Remove some logs and errors from console - 1/n (#35674)
## Description
This PR removes some of the errors and logs from the console. The
following fixes were added to this PR
- Remove the error => Refused to set unsafe header "Expect"
- Remove the aria label warnings
- Remove the logs from service worker in dev mode


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10438062046>
> Commit: 63fbfb22f40508ab298c765c4edbba7c42a125e1
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10438062046&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Sun, 18 Aug 2024 06:12:03 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **Accessibility Improvements**
- Added `aria-label` attributes to the `StyledSearchInput` and `Label`
components for enhanced screen reader support.
- Improved the semantic structure of the `Label` component by providing
additional context for assistive technologies.

- **Performance Enhancements**
- Removed the `Expect` header from API requests to streamline the
request process.

- **Logging Adjustments**
- Disabled development logs in the service worker to enhance performance
in production environments.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-08-18 14:48:08 +05:30
..
__assets__
__config__
__hooks__
__theme__/default
AnnouncementModal
AnnouncementPopover
Avatar
Banner
Box
Button
Callout
Checkbox
Collapsible
DatePicker
Divider
Documentation
Flex
FormControl
Grid
Icon chore: use ads icons (#35633) 2024-08-16 17:23:57 +03:00
Input
Link
List chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
Menu
Modal
NumberInput
Popover
Radio chore: upgrade Typescipt to 5.5.4 (#35314) 2024-07-31 17:49:46 +02:00
ScrollArea
SearchInput chore: Remove some logs and errors from console - 1/n (#35674) 2024-08-18 14:48:08 +05:30
SegmentedControl
Select
Spinner
Switch
Tab
Table
Tag
Text
Toast
ToggleButton
ToggleButtonGroup
Tooltip
custom.d.ts
index.ts