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 user preferences service #85

Merged
merged 8 commits into from Nov 22, 2023
Merged

Conversation

leafty
Copy link
Member

@leafty leafty commented Nov 13, 2023

This is a feature branch for the project pins.

Fixes #64, #81.

First version of the user preferences service.

---------

Co-authored-by: Flora Thiebaut <flora.thiebaut.91@gmail.com>
Co-authored-by: Tasko Olevski <olevski90@gmail.com>
@leafty leafty self-assigned this Nov 13, 2023
@coveralls
Copy link

coveralls commented Nov 13, 2023

Pull Request Test Coverage Report for Build 6928613605

  • 218 of 226 (96.46%) changed or added relevant lines in 14 files are covered.
  • 7 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.4%) to 90.731%

Changes Missing Coverage Covered Lines Changed/Added Lines %
bases/renku_data_services/data_api/main.py 1 2 50.0%
components/renku_data_services/user_preferences/db.py 66 73 90.41%
Files with Coverage Reduction New Missed Lines %
bases/renku_data_services/data_api/main.py 1 65.31%
components/renku_data_services/crc/blueprints.py 2 93.42%
components/renku_data_services/crc/db.py 2 88.5%
components/renku_data_services/crc/models.py 2 87.66%
Totals Coverage Status
Change from base Build 6904973245: 0.4%
Covered Lines: 2829
Relevant Lines: 3118

💛 - Coveralls

@leafty leafty changed the title feat: add user preferences service (#74) feat: add user preferences service Nov 14, 2023
@leafty leafty marked this pull request as ready for review November 20, 2023 10:23
@leafty leafty requested a review from a team as a code owner November 20, 2023 10:23
@leafty leafty merged commit ded94e8 into main Nov 22, 2023
8 checks passed
@leafty leafty deleted the feat-add-user-preferences branch November 22, 2023 12:43
leafty added a commit to SwissDataScienceCenter/renku that referenced this pull request Nov 28, 2023
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 <flora.thiebaut.91@gmail.com>
Co-authored-by: Laura <lokijuhy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a backend and API to store and retrieve user preferences
3 participants