Skip to content

Expose RTLTextPluginStatus - #8864

Merged
ryanhamley merged 9 commits into
masterfrom
rtl-status-update
Oct 15, 2019
Merged

Expose RTLTextPluginStatus#8864
ryanhamley merged 9 commits into
masterfrom
rtl-status-update

Conversation

@ryanhamley

@ryanhamley ryanhamley commented Oct 11, 2019

Copy link
Copy Markdown
Contributor

Launch Checklist

fixes #7869

  • briefly describe the changes in this PR
    • this plugin exposes the RTLTextPluginStatus (which can be unavailable, loading, loaded or error) through a mapboxgl.getRTLTextStatusPlugin method
  • write tests for all new functionality
  • document any changes to public APIs
  • manually test the debug page

CHANGELOG
Expose getRTLTextPluginStatus method

@asheemmamoowala asheemmamoowala left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change to add and expose pluginStatus looks good. pluginRequested can probably removed too, and replaced with pluginStatus.

@asheemmamoowala asheemmamoowala added this to the release-sangria milestone Oct 14, 2019
@ryanhamley

Copy link
Copy Markdown
Contributor Author

@asheemmamoowala I removed pluginRequested

@arindam1993 arindam1993 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plugin.isLoaded() should probably be moved to querying the enum as well.

Comment thread src/source/rtl_text_plugin.js Outdated

@arindam1993 arindam1993 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Expose a "clearRTLTextPlugin" or a give a way to check if the rtl plugin is requested

3 participants