Skip to content

DOCS-543 - Berry widget demo #4946

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

Draft
wants to merge 62 commits into
base: main
Choose a base branch
from
Draft

DOCS-543 - Berry widget demo #4946

wants to merge 62 commits into from

Conversation

chvik
Copy link
Collaborator

@chvik chvik commented Jan 9, 2025

Purpose of this pull request

This change integrates the Berry widget based on #4748 with the following updates:

  • Adds the Berry widget inline on the homepage and as a popup elsewhere.
  • Synchronizes the Berry widget's color mode with the site's color mode.
  • Increases the height of the inline widget.
  • Removes the resize button from the inline widget.

Select the type of change

  • Minor Changes - Typos, formatting, slight revisions
  • Update Content - Revisions, updating sections
  • New Content - New features, sections, pages, tutorials
  • Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)

https://sumologic.atlassian.net/browse/DOCS-543

Copy link

cla-bot bot commented Jan 9, 2025

Thank you for your contribution! As this is an open source project, we require contributors to sign our Contributor License Agreement and do not have yours on file. To proceed with your PR, please sign your name here and we will add you to our approved list of contributors.

@kimsauce kimsauce temporarily deployed to review/4946/merge February 15, 2025 02:50 — with GitHub Actions Inactive
@kimsauce kimsauce changed the title Berry widget demo DOCS-543 - Berry widget demo Feb 17, 2025
@kimsauce kimsauce temporarily deployed to review/4946/merge February 18, 2025 18:19 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge February 20, 2025 04:36 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge February 20, 2025 23:35 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge February 20, 2025 23:36 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge February 22, 2025 00:26 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge March 3, 2025 01:15 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge March 11, 2025 22:50 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge March 16, 2025 00:39 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge March 27, 2025 23:46 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge March 28, 2025 17:00 — with GitHub Actions Inactive
@kimsauce kimsauce temporarily deployed to review/4946/merge April 3, 2025 01:36 — with GitHub Actions Inactive
Comment on lines +7 to +16
uses: SumoLogic/sumologic-documentation/.github/workflows/build_and_deploy.yml@main
with:
hostname: https://d2t1s0ah22jxsa.cloudfront.net
base_url: /${{ github.ref_name }}/
environment: review/${{ github.ref_name }}
secrets:
S3_BUCKET_NAME: ${{ secrets.REVIEW_S3_BUCKET_NAME }}
CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.REVIEW_CLOUDFRONT_DISTRIBUTION_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}

Copilot Autofix

AI about 2 months ago

To fix the issue, we will add a permissions block at the root level of the workflow. This block will define the minimal permissions required for the workflow to function. Based on the provided context, the workflow appears to deploy to a review environment, which likely requires read access to repository contents and possibly write access to deployments. We will start with contents: read and add other permissions only if necessary.


Suggested changeset 1
.github/workflows/review.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml
--- a/.github/workflows/review.yml
+++ b/.github/workflows/review.yml
@@ -4,2 +4,5 @@
 
+permissions:
+  contents: read
+
 jobs:
EOF
@@ -4,2 +4,5 @@

permissions:
contents: read

jobs:
Copilot is powered by AI and may make mistakes. Always verify output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed Contributor approved, listed in .clabot file do-not-merge Pull requests that should not be merged doc:site tech Site/tool maintenance, dependencies, updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants