File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " milo" ,
33 "private" : true ,
4- "version" : " 0.1.7 " ,
4+ "version" : " 0.1.8 " ,
55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " vite" ,
Original file line number Diff line number Diff line change 11[package ]
22name = " milo"
3- version = " 0.1.7 "
3+ version = " 0.1.8 "
44description = " Milo - AI Text Transformation Tool"
55authors = [" you" ]
66edition = " 2021"
Original file line number Diff line number Diff line change 1919 },
2020 "productName" : " Milo" ,
2121 "mainBinaryName" : " Milo" ,
22- "version" : " 0.1.7 " ,
22+ "version" : " 0.1.8 " ,
2323 "identifier" : " com.milo.dev" ,
2424 "plugins" : {},
2525 "app" : {
Original file line number Diff line number Diff line change @@ -15,17 +15,21 @@ interface Settings {
1515 custom_prompts : {
1616 [ key : string ] : string ;
1717 } ;
18+ prompt_order : string [ ] ;
1819 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 ;
2124}
2225
2326function App ( ) {
2427 const [ settings , setSettings ] = useState < Settings > ( {
2528 openai_model : "" ,
2629 custom_prompts : { } ,
27- firstVisitComplete : false ,
28- shortcutEnabled : true
30+ prompt_order : [ ] ,
31+ first_visit_complete : false ,
32+ shortcut_enabled : true
2933 } ) ;
3034 const [ activeSection , setActiveSection ] = useState ( "info" ) ;
3135 const [ loading , setLoading ] = useState ( true ) ;
@@ -57,7 +61,7 @@ function App() {
5761 . then ( ( savedSettings : any ) => {
5862 setSettings ( savedSettings as any as Settings ) ;
5963 // Set initial section based on whether it's first visit
60- if ( ! savedSettings . firstVisitComplete ) {
64+ if ( ! savedSettings . first_visit_complete ) {
6165 setActiveSection ( 'info' ) ;
6266 } else {
6367 setActiveSection ( 'dashboard' ) ;
You can’t perform that action at this time.
0 commit comments