Track assetlinks.json and the technical overview deck
assetlinks.json is the Digital Asset Links statement served from the Gitea host for the OAuth App Link; it holds only the package name and public certificate fingerprints. The deck is rebuilt for the redesign (TASK-050 to TASK-054). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
333baf4e52
commit
105e181bd2
@ -1,61 +0,0 @@
|
||||
package com.ubisam.ubgitea.ui.home
|
||||
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.fillMaxSize
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.material3.Scaffold
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import com.ubisam.ubgitea.R
|
||||
import com.ubisam.ubgitea.ui.theme.UBGiteaTheme
|
||||
|
||||
@Composable
|
||||
fun HomeScreen(
|
||||
state: HomeUiState = HomeUiState.Ready,
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
Scaffold(modifier = modifier.fillMaxSize()) { innerPadding ->
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
.padding(innerPadding),
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
verticalArrangement = Arrangement.Center,
|
||||
) {
|
||||
Text(
|
||||
text = stringResource(R.string.app_name),
|
||||
style = MaterialTheme.typography.headlineLarge,
|
||||
)
|
||||
Text(
|
||||
text = stringResource(state.messageResource),
|
||||
style = MaterialTheme.typography.bodyLarge,
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
data class HomeUiState(
|
||||
val isReadOnly: Boolean,
|
||||
val messageResource: Int,
|
||||
) {
|
||||
companion object {
|
||||
val Ready = HomeUiState(
|
||||
isReadOnly = true,
|
||||
messageResource = R.string.home_read_only_placeholder,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@Preview(showBackground = true)
|
||||
@Composable
|
||||
private fun HomeScreenPreview() {
|
||||
UBGiteaTheme {
|
||||
HomeScreen()
|
||||
}
|
||||
}
|
||||
15
assetlinks.json
Normal file
15
assetlinks.json
Normal file
@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"relation": [
|
||||
"delegate_permission/common.handle_all_urls"
|
||||
],
|
||||
"target": {
|
||||
"namespace": "android_app",
|
||||
"package_name": "com.ubisam.ubgitea",
|
||||
"sha256_cert_fingerprints": [
|
||||
"2B:DF:F7:0D:99:40:5D:C2:2A:FD:15:2D:EC:13:B1:BD:3A:6F:87:97:CD:CD:4B:5E:7A:33:67:AD:05:A1:5D:C7",
|
||||
"3A:B4:20:00:87:61:8B:6B:7E:9D:68:FC:94:FE:EE:C1:F0:79:77:D5:54:B0:EF:7C:D5:6E:56:CF:20:32:95:05"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
BIN
docs/UBGitea_기술소개.pptx
Normal file
BIN
docs/UBGitea_기술소개.pptx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user