Skip to content

Conversation

@Siddhant-K-code
Copy link
Member

@Siddhant-K-code Siddhant-K-code commented Oct 28, 2024

Description

Added a reusable notification factory to standardize creation of dismissible notifications with tracking. This reduces code duplication and makes adding new notifications simpler.

  • Added GENERAL_NOTIFICATION factory function
  • Refactored AWS re:Invent notification to use the factory
  • Maintains existing functionality for dismissal, tracking and user profile updates
image

Related Issue(s)

Fixes #

How to test

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft preemptible
    Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@Siddhant-K-code
Copy link
Member Author

/unhold

Copy link
Contributor

@kylos101 kylos101 left a comment

Choose a reason for hiding this comment

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

LGTM

I assume you'll delete https://github.com/gitpod-io/gitpod/pull/20323/files#diff-58105ccfab33625cb400e4404829a34ed24538d6063fb2b762d41006a25a5653R170-R187 after the event, and, no need for long term string constants, hence doing inline.

I'm not sure how to trigger this myself, and assume you did by manually altering your profile.

@roboquat roboquat merged commit 6bc053e into main Oct 28, 2024
31 checks passed
@roboquat roboquat deleted the chore/aws-reinvent-banner branch October 28, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants