Skip to content
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

chore: preparation to NPM publish #1511

Merged
merged 11 commits into from
Jan 10, 2025

Conversation

vtsvetkov-splunk
Copy link
Contributor

@vtsvetkov-splunk vtsvetkov-splunk commented Dec 20, 2024

Issue number: ADDON-76791

PR Type

What kind of change does this PR introduce?

  • Feature
  • Bug Fix
  • Refactoring (no functional or API changes)
  • Documentation Update
  • Maintenance (dependency updates, CI, etc.)

Summary

Changes

  • fix props export (because build:lib failed)
  • change interfaces to abstract classes for custom components
  • polish package.json and add public api

User experience

There is no impact on the app logic. Except there was a missing groupName param for CustomHookConstructor: ui/src/components/BaseFormView/BaseFormView.tsx:1108

Checklist

If an item doesn't apply to your changes, leave it unchecked.

Copy link
Contributor

@soleksy-splunk soleksy-splunk left a comment

Choose a reason for hiding this comment

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

just some minor questions, but looks good, interfaces seems to be reflected correctly in classes, order of all props in constructors is the same

"license": "Apache-2.0",
"private": true,
"author": "Splunk Inc.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why should not? I want to be consistent with other packages (sui)

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm fine with leaving it, jsut not sure what it actually means, should it be splunk supported (as ucc is not) etc.?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure what "Splunk Supported" means

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but probably not every Splunk authored code is splunk supported ™

ui/package.json Outdated Show resolved Hide resolved
ui/src/components/CustomTab/CustomTabBase.ts Outdated Show resolved Hide resolved
ui/src/components/CustomControl/CustomControl.tsx Outdated Show resolved Hide resolved
soleksy-splunk
soleksy-splunk previously approved these changes Jan 10, 2025
@vtsvetkov-splunk vtsvetkov-splunk enabled auto-merge (squash) January 10, 2025 14:19
@vtsvetkov-splunk vtsvetkov-splunk merged commit f7254db into develop Jan 10, 2025
122 checks passed
@vtsvetkov-splunk vtsvetkov-splunk deleted the feature/prepare-for-publish-ui branch January 10, 2025 14:25
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants