Skip to content

Commit

Permalink
feat: add "email us" settings for renku-ui (#3545)
Browse files Browse the repository at this point in the history
Co-authored-by: Lorenzo Cavazzi <[email protected]>
Co-authored-by: Laura <[email protected]>
  • Loading branch information
3 people authored Apr 9, 2024
1 parent 9159efe commit e9b0011
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 2 deletions.
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 below the session class selector to request more resources (`#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

0 comments on commit e9b0011

Please sign in to comment.