File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " milo" ,
3
3
"private" : true ,
4
- "version" : " 0.1.7 " ,
4
+ "version" : " 0.1.8 " ,
5
5
"type" : " module" ,
6
6
"scripts" : {
7
7
"dev" : " vite" ,
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " milo"
3
- version = " 0.1.7 "
3
+ version = " 0.1.8 "
4
4
description = " Milo - AI Text Transformation Tool"
5
5
authors = [" you" ]
6
6
edition = " 2021"
Original file line number Diff line number Diff line change 19
19
},
20
20
"productName" : " Milo" ,
21
21
"mainBinaryName" : " Milo" ,
22
- "version" : " 0.1.7 " ,
22
+ "version" : " 0.1.8 " ,
23
23
"identifier" : " com.milo.dev" ,
24
24
"plugins" : {},
25
25
"app" : {
Original file line number Diff line number Diff line change @@ -15,17 +15,21 @@ interface Settings {
15
15
custom_prompts : {
16
16
[ key : string ] : string ;
17
17
} ;
18
+ prompt_order : string [ ] ;
18
19
selected_tone ?: string ;
19
- firstVisitComplete ?: boolean ;
20
- shortcutEnabled ?: boolean ;
20
+ first_visit_complete ?: boolean ;
21
+ shortcut_enabled ?: boolean ;
22
+ shortcut_keys ?: string ;
23
+ theme ?: string ;
21
24
}
22
25
23
26
function App ( ) {
24
27
const [ settings , setSettings ] = useState < Settings > ( {
25
28
openai_model : "" ,
26
29
custom_prompts : { } ,
27
- firstVisitComplete : false ,
28
- shortcutEnabled : true
30
+ prompt_order : [ ] ,
31
+ first_visit_complete : false ,
32
+ shortcut_enabled : true
29
33
} ) ;
30
34
const [ activeSection , setActiveSection ] = useState ( "info" ) ;
31
35
const [ loading , setLoading ] = useState ( true ) ;
@@ -57,7 +61,7 @@ function App() {
57
61
. then ( ( savedSettings : any ) => {
58
62
setSettings ( savedSettings as any as Settings ) ;
59
63
// Set initial section based on whether it's first visit
60
- if ( ! savedSettings . firstVisitComplete ) {
64
+ if ( ! savedSettings . first_visit_complete ) {
61
65
setActiveSection ( 'info' ) ;
62
66
} else {
63
67
setActiveSection ( 'dashboard' ) ;
You can’t perform that action at this time.
0 commit comments