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

feat: add "email us" settings for renku-ui #3545

Merged
merged 8 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
0.51.x
------

**✨ Improvements**

- **UI** Add an "email us" button to the session class option (`#3073
<https://github.com/SwissDataScienceCenter/renku-ui/pull/3073>`_)

Individual Components
~~~~~~~~~~~~~~~~~~~~~

- `renku-ui 3.23.0 <https://github.com/SwissDataScienceCenter/renku-ui/releases/tag/3.23.0>`_


0.50.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ spec:
value: {{ include "renku.keycloak.realm" . | quote }}
- name: USER_PREFERENCES_MAX_PINNED_PROJECTS
value: {{ .Values.dataService.maxPinnedProjects | quote }}
- name: SESSION_CLASS_EMAIL_US
value: {{ toJson .Values.ui.client.sessionClassEmailUs | quote }}
livenessProbe:
httpGet:
path: /
Expand Down
34 changes: 32 additions & 2 deletions helm-chart/renku/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ ui:
replicaCount: 1
image:
repository: renku/renku-ui
tag: "3.21.0"
tag: "3.23.0"
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
Expand Down Expand Up @@ -808,6 +808,36 @@ ui:
# overrides:
# 9: "/"
# 10: "/"
# Configuration to display the "email us" message on the session class selector.
sessionClassEmailUs:
# Set this to "true" to enable the "Need more compute resources? Email us!" message
# on the session class selector.
enabled: false
# Email template which opens when the user clicks "Email us!".
# Blank fields will not be populated
email:
to: ""
subject: "Request to access more compute resources in RenkuLab"
# Note that "{{full_name}}" will be replaced by the user's name in the email's body.
body: |
Hello Renku team,

I would like access to more compute resources on RenkuLab. Here is some information about me and my project:

I am affiliated with an educational institution: (yes or no)
If yes: <enter here>

The amount of resources I need for my project is:
<enter here> CPU
<enter here> RAM
<enter here> GPU

Please send us the link to your project(s) on RenkuLab:
<enter here>

Best regards,

{{full_name}}
canary:
enabled: false
image:
Expand All @@ -820,7 +850,7 @@ ui:
keepCookies: []
image:
repository: renku/renku-ui-server
tag: "3.21.0"
tag: "3.23.0"
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
Expand Down
4 changes: 4 additions & 0 deletions helm-chart/values.yaml.changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ For changes that require manual steps other than changing values, please check o
Please follow this convention when adding a new row
* `<type: NEW|EDIT|DELETE> - *<resource name>*: <details>`

## Upgrading to Renku 0.52.0

* NEW ``ui.client.sessionClassEmailUs`` to customize the content of the Email Us button on the Session class option.

## Upgrading to Renku 0.50.0

The gitlab configuration has been unified in the `global` section of the values, which requires modifications for existing deployments.
Expand Down
Loading