- 
                Notifications
    You must be signed in to change notification settings 
- Fork 18
[Playground] 177 auth UI component #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            justinyoo
  merged 43 commits into
  aliencube:main
from
pmj-chosim:feature/177-auth-ui-component
  
      
      
   
  Sep 16, 2024 
      
    
  
     Merged
                    Changes from 32 commits
      Commits
    
    
            Show all changes
          
          
            43 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      88c3a3d
              
                Add files via upload
              
              
                pmj-chosim ae6e63a
              
                testcode
              
              
                pmj-chosim e523195
              
                add Api key comoponent
              
              
                pmj-chosim 1ed7d57
              
                Action test
              
              
                pmj-chosim 6694f2f
              
                Merge branch 'aliencube:main' into feature/177-auth-ui-component
              
              
                pmj-chosim 7122e72
              
                component code(callback) modify
              
              
                pmj-chosim 5931901
              
                test code modify
              
              
                pmj-chosim d29f2a3
              
                upstream
              
              
                pmj-chosim 0b7b4f2
              
                upstream update
              
              
                pmj-chosim cb4a7d6
              
                Merge branch 'main' of https://github.com/aliencube/azure-openai-sdk-…
              
              
                pmj-chosim 19f25e6
              
                test code modify 1
              
              
                pmj-chosim 6a8adfd
              
                test code modify from Assert to FluentAssertions
              
              
                pmj-chosim 1edd331
              
                전반적인 수정
              
              
                pmj-chosim 6c2542f
              
                update upstream
              
              
                pmj-chosim 04f3c00
              
                Action test
              
              
                pmj-chosim 96ad4f5
              
                Merge branch 'aliencube:main' into feature/177-auth-ui-component
              
              
                pmj-chosim e556a10
              
                Update Home.razor
              
              
                pmj-chosim 302fadf
              
                Action error test
              
              
                pmj-chosim fa6eac3
              
                Update ApiKeyInputComponent.razor
              
              
                pmj-chosim 5a7cd97
              
                Update Home.razor
              
              
                pmj-chosim 48a6edb
              
                testcode error modify
              
              
                pmj-chosim 8947ac0
              
                test code modify2
              
              
                pmj-chosim 473e28b
              
                Merge branch 'aliencube:main' into feature/177-auth-ui-component
              
              
                pmj-chosim 214a9f5
              
                html id & testcode pwd & eliment checking
              
              
                pmj-chosim cad251b
              
                add test code for testpage
              
              
                pmj-chosim 0f00ed3
              
                전반적인 수정
              
              
                pmj-chosim f927e52
              
                Merge remote-tracking branch 'upstream/main' into feature/177-auth-ui…
              
              
                pmj-chosim 5f4c83d
              
                Merge branch 'aliencube:main' into feature/177-auth-ui-component
              
              
                pmj-chosim 673ddfd
              
                fluent delete
              
              
                pmj-chosim 2ac45c6
              
                apikey component razor modify
              
              
                pmj-chosim badb4aa
              
                playground page test code modify
              
              
                pmj-chosim 91f41c9
              
                playground.razor apikeycomponent id  modify
              
              
                pmj-chosim c5326d1
              
                add test code for test page
              
              
                pmj-chosim 14b9955
              
                testcode for testpage modify about apikeyinputcomponent
              
              
                pmj-chosim 9b55986
              
                sync new merge in upstream
              
              
                pmj-chosim 44774cf
              
                back to test page latest modify: here is 2nd latest modify code
              
              
                pmj-chosim fbe0181
              
                merge conflict modify
              
              
                pmj-chosim 05c88d8
              
                add required and data-type in api  component.razor
              
              
                pmj-chosim 7dc21ab
              
                Merge branch 'aliencube:main' into feature/177-auth-ui-component
              
              
                pmj-chosim f2133e3
              
                playwright package miss commit delete
              
              
                pmj-chosim 12a4e09
              
                Merge branch 'feature/177-auth-ui-component' of https://github.com/pm…
              
              
                pmj-chosim 4613595
              
                delete unnecessary  variable in playgroundtest
              
              
                pmj-chosim b7ab576
              
                delete  unnecessary library in testpagestests.cs
              
              
                pmj-chosim File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| @page "/" | ||
| @using AzureOpenAIProxy.PlaygroundApp.Components.UI | ||
|  | ||
| <PageTitle>Home</PageTitle> | ||
|  | ||
|  | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
        
          
          
            20 changes: 20 additions & 0 deletions
          
          20 
        
  src/AzureOpenAIProxy.PlaygroundApp/Components/UI/ApiKeyInputComponent.razor
  
  
      
      
   
        
      
      
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <FluentTextField Id="@Id" @bind-Value=apiKeyValue TextFieldType="TextFieldType.Password" @onchange="SetApiKey">API key input</FluentTextField> | ||
|  | ||
| @code { | ||
| [Parameter] | ||
| public string? Id { get; set; } | ||
|  | ||
| private string? apiKeyValue { get; set; } | ||
|         
                  justinyoo marked this conversation as resolved.
              Outdated
          
            Show resolved
            Hide resolved | ||
|  | ||
|         
                  justinyoo marked this conversation as resolved.
              Show resolved
            Hide resolved | ||
| [Parameter] | ||
| public EventCallback<string> OnKeyInput { get; set; } | ||
|         
                  justinyoo marked this conversation as resolved.
              Show resolved
            Hide resolved | ||
|  | ||
| private async Task SetApiKey(ChangeEventArgs e) | ||
| { | ||
| apiKeyValue = e?.Value?.ToString(); | ||
|         
                  justinyoo marked this conversation as resolved.
              Outdated
          
            Show resolved
            Hide resolved | ||
| if (apiKeyValue != null) | ||
| { | ||
| await OnKeyInput.InvokeAsync(apiKeyValue); | ||
| } | ||
|         
                  justinyoo marked this conversation as resolved.
              Outdated
          
            Show resolved
            Hide resolved | ||
| } | ||
| } | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.