Skip to content

Refactor filtered tokens to use BaseToken

Coung Ngo requested to merge cngo-refactor-tokens-to-use-base-token into master

What does this MR do?

This MR refactors the following filtered tokens to use BaseToken. BaseToken handles debouncing, watchers, and default suggestions so we can reuse this logic in these filtered token components.

  • BranchToken
  • EmojiToken
  • IterationToken
  • MilestoneToken
  • WeightToken

Screenshots or Screencasts (strongly suggested)

No visual changes, but took screencasts to confirm everything works as normal

BranchToken Rest of the tokens
Screen_Recording_2021-08-16_at_2.52.55_pm Screen_Recording_2021-08-16_at_2.46.00_pm

How to setup and validate locally (strongly suggested)

  1. Visit these pages to test out the tokens

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Coung Ngo

Merge request reports

Loading