[BrushGraph 7/7] Integrate Brush Graph into the app#66
[BrushGraph 7/7] Integrate Brush Graph into the app#66maxmmitchell wants to merge 5 commits intobrush-graph/6-canvasfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive "Brush Graph" feature, a node-based visual designer for ink brushes. It includes a new navigation destination, a complex UI with canvas, inspector, and notification panes, and a tutorial system. Key technical changes include the addition of an ExtendedColorScheme for warning states, Hilt injection for the texture store, and autosave functionality in the drawing canvas. Review feedback highlights critical issues with texture serialization due to incorrect store instantiation, potential UI freezes from blocking I/O on the main thread, and opportunities for code cleanup regarding unused parameters and magic strings.
b5d3f01 to
feb8bd6
Compare
bcf7952 to
53d3ee1
Compare
feb8bd6 to
d599cde
Compare
5bc8df0 to
261113b
Compare
d599cde to
b512362
Compare
261113b to
d64bb5a
Compare
b512362 to
7903aa3
Compare
| dialogSlot() | ||
|
|
||
| BoxWithConstraints(modifier = modifier.fillMaxSize()) { | ||
| val currentIsLandscape = maxWidth > maxHeight |
| modifier: Modifier = Modifier, | ||
| ) { | ||
| val context = LocalContext.current | ||
| var showMoreMenu by remember { mutableStateOf(false) } |
There was a problem hiding this comment.
All of these can be remberSaveable, so to survive configuration changes
| onExport: () -> Unit, | ||
| onLoadBrushFile: () -> Unit, | ||
| onSaveToPalette: () -> Unit, | ||
| textureStore: TextureBitmapStore, |
There was a problem hiding this comment.
this was never and might not be needed
| class BrushGraphViewModel @Inject constructor( | ||
| private val customBrushDao: CustomBrushDao, | ||
| private val textureStore: CahierTextureBitmapStore, | ||
| public val textureStore: CahierTextureBitmapStore, |
d2d8890 to
b23afd0
Compare
42ec480 to
46afe97
Compare
727bc59 to
c2505db
Compare
46afe97 to
92d7925
Compare
Description
This is the final PR in the Brush Graph stack. It ties all the components together and integrates the feature into the main application navigation and resource files.
Details
DisplayTextExtensions).CahierNavGraph, as a default-on toggle which controls whether the "Launch" button next to Brush Designer leads to tab-based or graph-based view.Dependencies
brush-graph/6-canvas