code4romania / code4romania/centrucivic

Fix bad card display for different use cases

Open
#54 0 comments 0 reactions 1 assignee Claimed by @mirunaioana-msc View on GitHub
enhancement :rocket:
Dominant language
TypeScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Service cards can look bad for different usecases (very short service description), see screenshot:
![Screenshot 2024-05-20 at 14 42 32](https://github.com/code4romania/centrucivic/assets/95479576/77af1fab-6a78-4c7f-8a35-f25a957e42f0)

**Describe the solution you'd like**
To avoid ugly card display, I recommend the following changes:

From NGO Hub > Civic Center app > Manage my services > Add new service
- Eliminate 'Descriere scurta serviciu' field
- Set validation for 'Descriere extinsa serviciu': min 250 characters
- Change label "Descriere extinsa serviciu" to "Descriere serviciu"

image

In the public Centru Civic portal:
Instead of 'Descriere scurta serviciu', the service cards should display the first 250 characters + "..." of the "Descriere serviciu" field (in NGO Hub).

**Describe alternatives you've considered**
- Changing validation for both fields to a minimum of 150 characters (short description), and 500 characters (long description).
or
- Not displaying any service description at all on the service cards

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.