cityofaustin / cityofaustin/techstack

Document type and size display for document links

Open
#3,564 0 comments 0 reactions 0 assignees View on GitHub
Feature: Document management Janis Alpha Team: Dev
Dominant language
No language data
Stars
11
Forks
3
PR merge metrics
No merged PRs in 30d

Description

- [ ] When a link to a document is added within a rich text block, on Janis, the document type and size displays in a parenthetical after the link, styling the same as on an official document.

### As a resident, I want to know that a link opens a document (like a PDF or a word doc) and its size, so that I set expectations for what's on the other side of my click.

**Is your feature request related to a problem? Please describe.**
On official documents pages, we autogenerate document types and file size on Janis. In #3537, we'll be reinstating the ability to add a document link within a rich text block. We'd like the links within rich text blocks to have the same design pattern.

![image.png](https://images.zenhubusercontent.com/5a31a50b8a75884b908b0ea6/1e63a5a5-cb81-4afb-a027-0f0bf89eb9ac)

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.