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

216 provide templates when creating new entries unique carer language #233

Conversation

stampaaaron
Copy link
Contributor

No description provided.

Copy link

changeset-bot bot commented Jan 6, 2025

🦋 Changeset detected

Latest commit: f29347b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@quassel/frontend Patch
@quassel/backend Patch
@quassel/mockup Patch
@quassel/ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Jan 6, 2025

Codecov Report

Attention: Patch coverage is 9.09091% with 80 lines in your changes missing coverage. Please review.

Project coverage is 17.85%. Comparing base (112d238) to head (f29347b).
Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
apps/frontend/src/components/TemplateMenu.tsx 0.00% 23 Missing and 1 partial ⚠️
apps/frontend/src/components/CarerSelect.tsx 0.00% 15 Missing and 1 partial ⚠️
...rc/components/questionnaire/calendar/EntryForm.tsx 0.00% 15 Missing and 1 partial ⚠️
.../components/questionnaire/QuestionnaireEntries.tsx 0.00% 13 Missing ⚠️
...ps/backend/src/research/entries/entries.service.ts 25.00% 6 Missing ⚠️
apps/frontend/src/components/EntitySelect.tsx 0.00% 2 Missing ⚠️
...omponents/questionnaire/calendar/EntryCalendar.tsx 0.00% 2 Missing ⚠️
...c/research/participants/participants.controller.ts 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #233      +/-   ##
==========================================
- Coverage   18.12%   17.85%   -0.27%     
==========================================
  Files         118      119       +1     
  Lines        3129     3204      +75     
  Branches      113      115       +2     
==========================================
+ Hits          567      572       +5     
- Misses       2508     2577      +69     
- Partials       54       55       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@openscript openscript left a comment

Choose a reason for hiding this comment

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

I like the selection via the dropdown button. It feels like a very natural way of applying a template. Good job!

The following doesn't seem to work yet:

  • After changing or creating a new entry, the templates are not available on subsequent creations without reloading the page. Probably this is a caching problem.
Screencast.From.2025-01-06.13-47-28.mp4
  • Maybe we should enable word wrapping for the template selection items as they become quite long and can be cut of:

image

  • Maybe a gap between the input or making it a group with the input field would further improve the user interface.

@stampaaaron stampaaaron merged commit 30a8ff7 into main Jan 7, 2025
3 checks passed
@stampaaaron stampaaaron deleted the 216-provide-templates-when-creating-new-entries-unique-carer-language branch January 7, 2025 09:59
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.

Provide templates when creating new entries (unique carer, language)
2 participants