angular / angular/components

CDK Platform: Platform should have classification for browsers used on MacOS

Open
#21,815 3 comments 9 reactions 0 assignees View on GitHub
area: cdk/platform feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### Feature Description

Platform should classify MacOS based browsers. The current feature lacks MacOs detection. Additional flag required MACOS:true

#### Use Case

Open Angular App on macOS Chrome or Safari. The following output log is for Platform on MacOS chrome

ANDROID: false
BLINK: true
EDGE: false
FIREFOX: false
IOS: false
SAFARI: false
TRIDENT: false
WEBKIT: false
isBrowser: true

#### Expected Feature:

ANDROID: false
BLINK: true
EDGE: false
FIREFOX: false
IOS: false
**MACOS:true**
SAFARI: false
TRIDENT: false
WEBKIT: false
isBrowser: true

Contributor guide

Open the contributing guide

Research direction

Start from the CDK Platform browser-classification code and review how the existing platform flags are determined. Compare the current MacOS Chrome and Safari output with the expected output in this issue; done means the platform reports MACOS as true for MacOS-based browsers without changing the other flags.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.