Skip to content

feat: Add analytics metadata to Autosuggest component #2667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

fralongo
Copy link
Member

@fralongo fralongo commented Sep 5, 2024

Description

Similar to dde2462

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@fralongo fralongo requested a review from a team as a code owner September 5, 2024 14:31
@fralongo fralongo requested review from cansuaa and removed request for a team September 5, 2024 14:31
Comment on lines 8 to 13
export interface GeneratedAnalyticsMetadataAutosuggestClearInput {
action: 'clearInput';
detail: {
label: string;
};
}
Copy link
Member

Choose a reason for hiding this comment

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

This interface isn't being used?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is not, I am still adding all of them in the component analytics interface, so that I will be able to automatically generate documentation in the future. I did push an improvement to at least use it in the input component, and import it from there.

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.80%. Comparing base (4f63835) to head (0ce2d8e).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2667   +/-   ##
=======================================
  Coverage   95.79%   95.80%           
=======================================
  Files         744      744           
  Lines       20563    20573   +10     
  Branches     6636     6643    +7     
=======================================
+ Hits        19699    19709   +10     
  Misses        856      856           
  Partials        8        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

cansuaa
cansuaa previously approved these changes Sep 6, 2024
name: 'awsui.Autosuggest',
label: 'input',
properties: {
disabled: `${!!props.disabled}`,
Copy link
Member

Choose a reason for hiding this comment

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

Should this also include readonly?

Copy link
Member Author

Choose a reason for hiding this comment

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

I can include it at a later stage if needed

@fralongo fralongo requested a review from cansuaa September 9, 2024 06:40
@fralongo fralongo added this pull request to the merge queue Sep 9, 2024
Merged via the queue into main with commit e186203 Sep 9, 2024
33 checks passed
@fralongo fralongo deleted the flongo-autocapture-autosuggest branch September 9, 2024 08:02
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.

3 participants