{"id":46,"date":"2023-10-26T20:39:13","date_gmt":"2023-10-26T20:39:13","guid":{"rendered":"https:\/\/monsterfight5e.com\/?p=46"},"modified":"2023-10-26T20:39:13","modified_gmt":"2023-10-26T20:39:13","slug":"dev-log-session-detail","status":"publish","type":"post","link":"https:\/\/monsterfight5e.com\/index.php\/2023\/10\/26\/dev-log-session-detail\/","title":{"rendered":"Dev Log: Session Detail"},"content":{"rendered":"\n<p>I made some good work on the Session Detail Screen.  I thin it is looking pretty clean.  I had originally had some outlined cards for each item in a category, but it looked too busy.  Especially, if it was the same color as the call to action buttons.<br><br>I think there can be some improvement for the title text.  But that may be something I need to tackle at another time. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"485\" height=\"1024\" src=\"https:\/\/monsterfight5e.com\/wp-content\/uploads\/2023\/10\/Screenshot_1698352284-485x1024.png\" alt=\"\" class=\"wp-image-47\" srcset=\"https:\/\/monsterfight5e.com\/wp-content\/uploads\/2023\/10\/Screenshot_1698352284-485x1024.png 485w, https:\/\/monsterfight5e.com\/wp-content\/uploads\/2023\/10\/Screenshot_1698352284-142x300.png 142w, https:\/\/monsterfight5e.com\/wp-content\/uploads\/2023\/10\/Screenshot_1698352284-768x1621.png 768w, https:\/\/monsterfight5e.com\/wp-content\/uploads\/2023\/10\/Screenshot_1698352284-728x1536.png 728w, https:\/\/monsterfight5e.com\/wp-content\/uploads\/2023\/10\/Screenshot_1698352284-970x2048.png 970w, https:\/\/monsterfight5e.com\/wp-content\/uploads\/2023\/10\/Screenshot_1698352284.png 1080w\" sizes=\"(max-width: 485px) 100vw, 485px\" \/><\/figure>\n\n\n\n<p>The bulleted Text looks pretty good.  FYI this is all made in Compose.  Since its not obvious how to make bulleted text, I built my own composable.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@Composable\nfun BulletedText(\n    text: String,\n    modifier: Modifier = Modifier,\n    color: Color = Color.Unspecified,\n    fontSize: TextUnit = TextUnit.Unspecified,\n    fontStyle: FontStyle? = null,\n    fontWeight: FontWeight? = null,\n    fontFamily: FontFamily? = null,\n    letterSpacing: TextUnit = TextUnit.Unspecified,\n    textDecoration: TextDecoration? = null,\n    textAlign: TextAlign? = null,\n    lineHeight: TextUnit = TextUnit.Unspecified,\n    overflow: TextOverflow = TextOverflow.Clip,\n    softWrap: Boolean = true,\n    maxLines: Int = Int.MAX_VALUE,\n    minLines: Int = 1,\n    onTextLayout: (TextLayoutResult) -> Unit = {},\n    style: TextStyle = LocalTextStyle.current\n) {\n    Text(\n        text = \"\\u2022  $text\",\n        modifier,\n        color,\n        fontSize,\n        fontStyle,\n        fontWeight,\n        fontFamily,\n        letterSpacing,\n        textDecoration,\n        textAlign,\n        lineHeight,\n        overflow,\n        softWrap,\n        maxLines,\n        minLines,\n        onTextLayout,\n        style\n    )\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I made some good work on the Session Detail Screen. I thin it is looking pretty clean. I had originally had some outlined cards for each item in a category, but it looked too busy. Especially, if it was the same color as the call to action buttons. I think there can be some improvement [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/posts\/46"}],"collection":[{"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":1,"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":48,"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/posts\/46\/revisions\/48"}],"wp:attachment":[{"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monsterfight5e.com\/index.php\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}