Skip to content

add user readme#955

Merged
Taucher2003 merged 8 commits intomainfrom
#918-add-user-readme
May 10, 2026
Merged

add user readme#955
Taucher2003 merged 8 commits intomainfrom
#918-add-user-readme

Conversation

@raphael-goetz
Copy link
Copy Markdown
Member

Resolves: #918

@raphael-goetz raphael-goetz marked this pull request as ready for review May 9, 2026 19:05
Copilot AI review requested due to automatic review settings May 9, 2026 19:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a nullable readme field to User and exposes it via GraphQL so users can store markdown content that can be displayed on their profile (Resolves: #918).

Changes:

  • Add users.readme (text, nullable) via migration and schema dump update.
  • Expose readme on User GraphQL type and allow updating it through usersUpdate.
  • Add request/type specs and update GraphQL docs for the new field/argument.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
spec/requests/graphql/mutation/users/update_spec.rb Adds request coverage for updating readme and auditing.
spec/graphql/types/user_type_spec.rb Ensures readme is present on the User GraphQL type.
docs/graphql/object/user.md Documents User.readme.
docs/graphql/mutation/usersupdate.md Documents usersUpdate(readme:) argument.
db/structure.sql Reflects schema changes (includes users.readme, but also includes unrelated schema additions).
db/schema_migrations/20260509183408 Adds schema migration checksum entry for the migration.
db/migrate/20260509183408_add_readme_to_user.rb Adds the readme column to users.
app/graphql/types/user_type.rb Adds readme field to GraphQL User type.
app/graphql/mutations/users/update.rb Adds readme argument to usersUpdate.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread db/structure.sql Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2513458618

Status: Passed
Duration: 4 minutes

Job summaries

rspec: [cloud]

Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/14295098555/artifacts/tmp/coverage/index.html
Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2513458618/test_report
Finished in 21.78 seconds (files took 13.37 seconds to load)
1374 examples, 0 failures
Line Coverage: 92.45% (4471 / 4836)
[TEST PROF INFO] Time spent in factories: 00:12.212 (41.13% of total time)

rspec: [ee]

Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/14295098554/artifacts/tmp/coverage/index.html
Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2513458618/test_report
Finished in 21.78 seconds (files took 11.47 seconds to load)
1352 examples, 0 failures
Line Coverage: 92.82% (4371 / 4709)
[TEST PROF INFO] Time spent in factories: 00:11.809 (41.08% of total time)

rspec: [ce]

Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/14295098553/artifacts/tmp/coverage/index.html
Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2513458618/test_report
Finished in 20.8 seconds (files took 10.77 seconds to load)
1302 examples, 0 failures
Line Coverage: 92.33% (4200 / 4549)
[TEST PROF INFO] Time spent in factories: 00:11.520 (43.14% of total time)

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/14295110789/artifacts/out/index.html

rubocop

773 files inspected, no offenses detected

@raphael-goetz raphael-goetz self-assigned this May 9, 2026
@raphael-goetz raphael-goetz requested a review from Taucher2003 May 9, 2026 19:43
Comment thread db/migrate/20260509183408_add_readme_to_user.rb Outdated
Comment thread spec/requests/graphql/mutation/users/update_spec.rb Outdated
raphael-goetz and others added 3 commits May 10, 2026 08:00
Co-authored-by: Niklas van Schrick <mc.taucher2003@gmail.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
@Taucher2003 Taucher2003 merged commit a9a1b00 into main May 10, 2026
1 check passed
@Taucher2003 Taucher2003 deleted the #918-add-user-readme branch May 10, 2026 15:45
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.

Add user readme field

3 participants