add history card title changes
This commit is contained in:
		
							parent
							
								
									d816974e6f
								
							
						
					
					
						commit
						3ff078e031
					
				
					 3 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -100,6 +100,9 @@ async function main() {
 | 
			
		|||
          ? "horizontal"
 | 
			
		||||
          : undefined,
 | 
			
		||||
        hide_title: core.getBooleanInput("common_hide_title"),
 | 
			
		||||
        title: core.getInput("history_card_title")
 | 
			
		||||
          ? core.getInput("history_card_title")
 | 
			
		||||
          : `Last ${parseNumber(core.getInput("history_card_language_count"))} days XP history`,
 | 
			
		||||
        hide_border: core.getBooleanInput("common_hide_border"),
 | 
			
		||||
        theme:
 | 
			
		||||
          core.getInput("theme") in themes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -94,6 +94,11 @@ inputs:
 | 
			
		|||
    type: number
 | 
			
		||||
    default: 14
 | 
			
		||||
 | 
			
		||||
  history_card_title:
 | 
			
		||||
    description: Change the cards title
 | 
			
		||||
    required: false
 | 
			
		||||
    type: string
 | 
			
		||||
 | 
			
		||||
  common_hide_languages:
 | 
			
		||||
    description: "Hide specific line, eg: `scminput,Log,Plain text`"
 | 
			
		||||
    required: false
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								dist/action.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/action.js
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -145,6 +145,9 @@ function main() {
 | 
			
		|||
                            ? "horizontal"
 | 
			
		||||
                            : undefined,
 | 
			
		||||
                        hide_title: core.getBooleanInput("common_hide_title"),
 | 
			
		||||
                        title: core.getInput("history_card_title")
 | 
			
		||||
                            ? core.getInput("history_card_title")
 | 
			
		||||
                            : "Last ".concat((0, utils_1.parseNumber)(core.getInput("history_card_language_count")), " days XP history"),
 | 
			
		||||
                        hide_border: core.getBooleanInput("common_hide_border"),
 | 
			
		||||
                        theme: core.getInput("theme") in themes_json_1.default
 | 
			
		||||
                            ? core.getInput("theme")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue