Master ticket tracking expression API completeness
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
This ticket is intended to define what set of operators would constitute a "complete" expression API and track its implementation.
- Math https://github.com/mapbox/mapbox-gl-js/issues/5853
- [ ] All the `Math.*` functions from Javascript
- [ ] All the relevant functions from `NSExpression`
- [x] `is-nan` https://github.com/mapbox/mapbox-gl-js/issues/5494
- Geo
- [ ] Haversine distance https://github.com/mapbox/mapbox-gl-js/issues/6062
- Color
- [ ] All the color-modifying functions from CSS4 https://github.com/mapbox/mapbox-gl-js/issues/5676
- Arrays
- [ ] Construction https://github.com/mapbox/mapbox-gl-js/issues/6155
- [x] Search https://github.com/mapbox/mapbox-gl-js/issues/4698
- [ ] Slicing
- [ ] Join
- Strings
- [x] Search https://github.com/mapbox/mapbox-gl-js/issues/4113 (but see also Regular Expressions)
- [ ] Replace https://github.com/mapbox/mapbox-gl-js/issues/4100 (but see also Regular Expressions)
- [ ] Slicing
- [ ] ~Regular Expressions https://github.com/mapbox/mapbox-gl-js/pull/6228~
- Locale and language
- [x] Test for script support https://github.com/mapbox/mapbox-gl-js/issues/5807
- [x] Case and diacritic folding https://github.com/mapbox/mapbox-gl-js/issues/4136
- Date and time
- Reflection into style state
- [x] Style image availability https://github.com/mapbox/mapbox-gl-js/issues/5261
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the linked operator issues, including 5853, 6062, 5676, 6155, 4100, and pull request 6228, to understand the proposed expression API scope. Done means defining the complete operator set and updating this checklist as each related implementation is completed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100