OXYGENHUB

A proposal's description renders as Markdown (closes #29) c53e328b2db4

Author
Andy McCall @andymccall <[email protected]>
via
agent agent:claude@andymccall <[email protected]> · keyless, under your grant for changes,refs,seal · key 9a2c715ac044
When
· 2026-10-28 21:08 UTC
Signature
◈ sealed by agent:claude@andymccall
Hash
c53e328b2db406e7e5c4e7fcfbfcc3d45e58d2197c27bcdfffdebdd13f0bb224
Depends on
1823bc12eda1 57c0824300db 840c75813f86 e2df27a81e5d
Depended on by
797eca1a3e64 6823c243eaac 0b152017dee3 8440d51a2275
In bookmarks
main
In tags
v0.1.2 v0.1.3 v0.1.4 v0.1.5 v0.1.6 v0.1.7 v0.1.8 v0.1.9
Edits
5 atoms, 0 tree operations, 2 files

Browse the tree at this change

modified CHANGELOG.md +4 −0
1 1
# Changelog
2 2
3 +
## Unreleased
4 +
5 +
- **A proposal's description is Markdown:** it showed as plain text, `##`, `**`, backticks and table pipes included, with the source's line breaks; it now renders as an issue's does (headings, emphasis, code, lists and tables, lines joined into paragraphs).
6 +
3 7
## 0.1.1 (2026-10-28)
4 8
5 9
- **Panels you can see (#24):** on a phone, cards and boxes were near-black on black. The app now uses OxygenHub's own colours by default (Account › Wallpaper colours turns Android's back on), every card is one panel with a 1 dp edge, as the website's have, on a tone a clear step above the background, and wallpaper colours in the dark get the same steps. A backdrop stays inside its band, and an image the app cannot show yet (a README's badge) no longer leaves a 180 dp blank.
…
28 unchanged lines
modified app/src/main/java/io/oxygenhub/android/ui/proposals/ProposalScreen.kt +3 −1
…
51 unchanged lines
52 52
import androidx.compose.ui.text.font.FontWeight
53 53
import androidx.compose.ui.unit.dp
54 54
import androidx.lifecycle.compose.collectAsStateWithLifecycle
55 +
import com.mikepenz.markdown.m3.Markdown
55 56
import io.oxygenhub.android.api.Check
56 57
import io.oxygenhub.android.api.Proposal
57 58
import io.oxygenhub.android.ui.common.AppScreen
58 59
import io.oxygenhub.android.ui.common.LoadContent
60 +
import io.oxygenhub.android.ui.common.NoImages
59 61
import io.oxygenhub.android.ui.common.Panel
60 62
import io.oxygenhub.android.ui.common.relativeTime
61 63
import io.oxygenhub.android.ui.issues.LabelChip
…
44 unchanged lines
106 108
                    Changes(page.proposal, onOpenFiles)
107 109
                    if (page.proposal.body.isNotBlank()) {
108 110
                        Section("Description") {
109 -
                            Text(page.proposal.body, modifier = Modifier.padding(16.dp), style = MaterialTheme.typography.bodyMedium)
111 +
                            Markdown(page.proposal.body, modifier = Modifier.padding(16.dp), imageTransformer = NoImages)
110 112
                        }
111 113
                    }
112 114
                }
…
238 unchanged lines