adobe / adobe/adobe-photoshop-api-sdk

Consider lower case for options

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
67
Forks
16
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour
I haven't checked _every_ sample, but I noticed in the 07_editPhoto.js sample, options are uppercased:

```
const options = {
Exposure: 0.50,
Contrast: 10,
WhiteBalance: "Auto"
}
```

Whereas in other samples, more traditional lowercase keys are used. While not a big deal at all, I'd consistently use lowercase.

Contributor guide

Open the contributing guide

Research direction

Start with the 07_editPhoto.js sample and compare its option keys with the other samples in the repository. Identify the samples using uppercase option names, update them consistently to lowercase, and verify that the examples remain aligned with the API usage shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.