-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: add tests for enable/disable all feature (#906) * chore: add data-testid to interactAllPrompt * chore: initial attempt for interactAllPrompt * chore: add tests and backend for enable disable all * chore: decrease sleep for tests * chore: increase sleep for disable_enable_all test * fix: update urllib3 (#922) This PR updates urllib3 to v1.26.18 to resolve CVE (already done for main branch). * Feat/create stories for existing components (#916) feat: move components to ts and create stories * ci: build storybook to docs (#888) * ci: refactor ui workflows * ci: refactor ui workflows * ci: refactor ui workflows * ci: refactor ui workflows * add shell bash * add cd * composite action to reusable workflow * composite action to reusable workflow * composite action to reusable workflow * composite action to reusable workflow * add storybook build * feat: add stories for components Checkbox Component, AcceptModal, FileInout * feat: add component stories, move components to ts * fix: rebase * feat: other components moved to ts and stories * feat: move components to ts and create stories * feat: handlers for stories, TextComponent to ts move TextComponent to ts add correct handlers to stories fix Meta and meta missmatches in stories * fix: review * fix: review * fix: lint --------- Co-authored-by: vtsvetkov-splunk <142901247+vtsvetkov-splunk@users.noreply.github.com> * feat: additional validations for the groups feature (#926) This PR adds one more additional validation for the "Groups Feature" (https://splunk.github.io/addonfactory-ucc-generator/advanced/groups_feature/): there can not be a group field which is not defined in the entity. * chore: get rid of nesting of UI directory (#917) * chore: get rid of nesting folders in UI * rev * reapply changes * ci: don't rebuild add-on one more time for UI tests (#937) * ci: add script for injecting Splunk RUM to test addon (#934) * test: add textarea component tests (#928) * chore: update global_config_everything globalConfig.json with text area * chore: add textarea component to ExampleInputOne and update tests for textarea component * chore: pre-commit fixes * chore: update smoke tests and add new test cases for test area * chore: pre-commit fixes * chore: fix smoke tests * chore: fix smoke tests * chore: fix smoke tests whitespaces * chore(deps): bump smartx version * chore: poetry lock --no-update --------- Co-authored-by: Artem Rys <rysartem@gmail.com> * chore(deps): update ui dependencies (#925) * docs: adjust UI build commands (#931) * feat: add optional label for helpLink component (#939) * feat: add optional label for helpLink component * fix: align new lines * test: update smoke test --------- Co-authored-by: Artem Rys <rysartem@gmail.com> * feat: ADDON-64844 better spacing in modal (#935) feat: ADDON-64844 better spacing in modal * feat: ADDON-65107 implement download button for openapi (#932) feat: ADDON-65107 implement download button for openapi * refactor: change location of download openApi button (#940) * ci: returntocorp -> semgrep (#941) `returntocorp` organization name was changed to `semgrep`. * chore(ui): fix TypeScript types resolution (#944) * chore: update dynatrace TA for smoke, altered globalConfig to pass checks (#946) * feat(schema.json): make entity schemas more specific (#938) * feat: extract helpLink * feat: extract TextEntity * feat(schema.json): merge ConfigurationEntity into GenericEntity * feat(schema.json): extract TextArea entity * feat(schema.json): extract SingleSelect entity * feat(schema.json): extract Checkbox entity * feat(schema.json): extract MultipleSelect entity * feat(schema.json): extract RadioEntity * feat(schema.json): extract FileEntity * feat(schema.json): extract OAuth entity * fix issues * remove GenericEntity * test * Revert "test" This reverts commit c057860. * refactor(schema.json): add display option for LinkEntity * chore(storybook): ADDON-65440 add theme switcher (#950) --------- Co-authored-by: mkolasinski-splunk <105011638+mkolasinski-splunk@users.noreply.github.com> Co-authored-by: soleksy-splunk <143183665+soleksy-splunk@users.noreply.github.com> Co-authored-by: vtsvetkov-splunk <142901247+vtsvetkov-splunk@users.noreply.github.com>
- Loading branch information
1 parent
4495403
commit c5968d2
Showing
152 changed files
with
8,046 additions
and
5,929 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Contributing Guidelines | ||
|
||
Read about Contributing Guidelines [here](https://splunk.github.io/addonfactory-ucc-generator/contributing/). | ||
Read about Contributing Guidelines [here](docs/contributing.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
cd ui && yarn run setup | ||
cd .. | ||
|
||
cp -n -R ui/dist/build/ splunk_add_on_ucc_framework/package/appserver/static/js/build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
# Ensure there are exactly two arguments provided | ||
if [[ "$#" -ne 3 ]]; then | ||
echo "Usage: $0 <path to base HTML file> <path to script HTML file> <rum_access_token>" | ||
exit 1 | ||
fi | ||
|
||
source_html_file=$1 | ||
target_html_file=$2 | ||
rum_access_token=$3 | ||
|
||
# Ensure both files exist | ||
if [[ ! -f "$target_html_file" ]] || [[ ! -f "$source_html_file" ]]; then | ||
echo "Both files must exist." | ||
exit 1 | ||
fi | ||
|
||
# Fill token in script | ||
sed -i "s/RUM_ACCESS_TOKEN/$rum_access_token/g" "$target_html_file" | ||
|
||
# Fill base.html with script | ||
sed -i "\|<head>|r $target_html_file" "$source_html_file" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.16.5/splunk-otel-web.js" integrity="sha384-zd5QhD1H5BOwLjGzeHqnEpZRkpWp1TwNbJyEedzArs+6Tq/JejIutyQ3rTndqygI" crossorigin="anonymous"></script> | ||
<script> | ||
SplunkRum.init({ | ||
realm: "us1", | ||
rumAccessToken: "RUM_ACCESS_TOKEN", | ||
applicationName: "UCC", | ||
deploymentEnvironment: "CI" | ||
}); | ||
</script> | ||
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.16.5/splunk-otel-web-session-recorder.js" integrity="sha384-k6kMobPGxYompyccnaa88srGuLjk6Yb4d7yEt98LhR5zaP0zxjl3ELA5C4LRxvJX" crossorigin="anonymous"></script> | ||
<script> | ||
SplunkSessionRecorder.init({ | ||
app: "UCC", | ||
realm: "us1", | ||
rumAccessToken: "RUM_ACCESS_TOKEN" | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.