Skip to content

Commit

Permalink
feat: let users pin projects to the dashboard (#3338)
Browse files Browse the repository at this point in the history
Fixes #3325.

## User-Facing Changes

**🌟 New Features**

- πŸ“ŒοΈ **UI**: Users can now pin projects to the dashboard, up to a maximum of
  5 projects ([#2898](SwissDataScienceCenter/renku-ui#2898)).

## Internal Changes

**✨ Improvements**

- **Data services**: New API endpoints to store and retrieve user
  preferences have been added to support the projects pins ([#85](SwissDataScienceCenter/renku-data-services#85)).

Individual components
~~~~~~~~~~~~~~~~~~~~~

- [`renku-ui 3.16.0`](https://github.com/SwissDataScienceCenter/renku-ui/releases/tag/3.16.0)
- [`renku-data-services 0.3.0`](https://github.com/SwissDataScienceCenter/renku-data-services/releases/tag/v0.3.0)

---------

Co-authored-by: Flora Thiebaut <[email protected]>
Co-authored-by: Laura <[email protected]>
  • Loading branch information
3 people authored Nov 28, 2023
1 parent b581780 commit a1cefb4
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 8 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
.. _changelog:

0.44.0
------

Renku ``0.44.0`` introduces pinning projects to the dashboard in RenkuLab.

User-Facing Changes
~~~~~~~~~~~~~~~~~~~

**🌟 New Features**

- πŸ“ŒοΈ **UI**: Users can now pin projects to the dashboard, up to a maximum of
5 projects (`#2898 <https://github.com/SwissDataScienceCenter/renku-ui/pull/2898>`_).

**🐞 Bug Fixes**

- **UI**: Correctly update progress of project indexing (`#2833 <https://github.com/SwissDataScienceCenter/renku-ui/pull/2833>`_).
- **UI**: Change icons in the Nav bar to use Bootstrap icons (`#2882 <https://github.com/SwissDataScienceCenter/renku-ui/pull/2882>`_).
- **UI**: Fixed bug that caused Dashboard to reload frequently by handling errors from the ``getSessions`` query in the Dashboard (`#2903 <https://github.com/SwissDataScienceCenter/renku-ui/pull/2903>`_).
- **UI**: Adjust dropdown menus with anchors nested in buttons (`#2907 <https://github.com/SwissDataScienceCenter/renku-ui/pull/2907>`_).
- **UI**: Update the workflows documentation link (`#2917 <https://github.com/SwissDataScienceCenter/renku-ui/pull/2917>`_).
- **UI**: Add whitespace after author name in session commit details (`#2921 <https://github.com/SwissDataScienceCenter/renku-ui/pull/2921>`_).

Internal Changes
~~~~~~~~~~~~~~~~

**✨ Improvements**

- **Data services**: New API endpoints to store and retrieve user
preferences have been added to support the projects pins (`#85 <https://github.com/SwissDataScienceCenter/renku-data-services/pull/85>`_).

Individual components
~~~~~~~~~~~~~~~~~~~~~

- `renku-ui 3.16.0 <https://github.com/SwissDataScienceCenter/renku-ui/releases/tag/3.16.0>`_
- `renku-data-services 0.3.0 <https://github.com/SwissDataScienceCenter/renku-data-services/releases/tag/v0.3.0>`_

0.43.0
------

Expand Down
6 changes: 4 additions & 2 deletions helm-chart/renku/templates/data-service/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
name: {{ .Values.global.db.common.passwordSecretName }}
key: password
- name: KEYCLOAK_URL
value: {{ (printf "%s://%s/auth/" (include "renku.http" .) .Values.global.renku.domain) | quote}}
value: {{ (printf "%s://%s/auth/" (include "renku.http" .) .Values.global.renku.domain) | quote }}
- name: KEYCLOAK_TOKEN_SIGNATURE_ALGS
value: "RS256"
- name: SERVER_DEFAULTS
Expand All @@ -63,7 +63,9 @@ spec:
- name: K8S_NAMESPACE
value: {{ .Release.Namespace | quote }}
- name: GITLAB_URL
value: {{ .Values.global.gitlab.url | quote}}
value: {{ .Values.global.gitlab.url | quote }}
- name: MAX_PINNED_PROJECTS
value: {{ .Values.dataService.maxPinnedProjects | quote }}
{{- include "certificates.env.python" $ | nindent 12 }}
volumeMounts:
- name: server-options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ spec:
value: {{ toJson .Values.ui.client.coreApiVersionConfig | quote }}
- name: KEYCLOAK_REALM
value: {{ include "renku.keycloak.realm" . | quote }}
- name: USER_PREFERENCES_MAX_PINNED_PROJECTS
value: {{ .Values.dataService.maxPinnedProjects | quote }}
livenessProbe:
httpGet:
path: /
Expand Down
14 changes: 8 additions & 6 deletions helm-chart/renku/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ ui:
replicaCount: 1
image:
repository: renku/renku-ui
tag: "3.15.1"
tag: "3.16.0"
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
Expand Down Expand Up @@ -780,7 +780,7 @@ ui:
keepCookies: []
image:
repository: renku/renku-ui-server
tag: "3.15.1"
tag: "3.16.0"
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -1280,14 +1280,14 @@ jena:
- ReadWriteOnce
size: 10Gi
additionalEnvironmentVariables:
- name: JVM_ARGS
value: -Xmx2G -Xms2G
- name: JVM_ARGS
value: -Xmx2G -Xms2G
compacting:
- name: ADMIN_USER
value: admin
## The 'Mon *-*-* 00:00:00' expression means the process will be run every Monday at 00:00:00. More details at https://github.com/eikek/calev
- name: COMPACTING_SCHEDULE
value: 'Mon *-*-* 00:00:00'
value: "Mon *-*-* 00:00:00"
resources:
requests:
cpu: 1000m
Expand Down Expand Up @@ -1491,7 +1491,7 @@ initDb:
dataService:
image:
repository: renku/renku-data-service
tag: "0.2.3"
tag: "0.3.0"
pullPolicy: IfNotPresent
service:
type: ClusterIP
Expand All @@ -1509,6 +1509,8 @@ dataService:
nodeSelector: {}
tolerations: []
affinity: {}
# This defines the maximum number of pinned projects in user preferences
maxPinnedProjects: 5
podSecurityContext: {}
securityContext:
runAsUser: 1000
Expand Down

0 comments on commit a1cefb4

Please sign in to comment.