Skip to content
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

[ACS-8312] Display warning about losing response #10059

Conversation

jacekpluta
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
https://hyland.atlassian.net/browse/ACS-8312

What is the new behaviour?

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@jacekpluta jacekpluta force-pushed the ACS-8312-Display-warning-about-losing-response branch from da5bf2c to da7652a Compare August 7, 2024 21:39
@jacekpluta jacekpluta added the AI label Aug 7, 2024
@jacekpluta jacekpluta force-pushed the ACS-8312-Display-warning-about-losing-response branch 2 times, most recently from 8df9fdd to e0bae5a Compare August 8, 2024 07:13
})
export class UnsavedChangesDialogComponent {}
export class UnsavedChangesDialogComponent {
private readonly unsavedAiChangesModalVisible = 'unsaved_ai_changes__modal_visible';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep it as global variable on the core level so that it can be reused in other repos

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. moved it to other local storage variables

@jacekpluta jacekpluta force-pushed the ACS-8312-Display-warning-about-losing-response branch from e0bae5a to f096b69 Compare August 12, 2024 07:11
@jacekpluta jacekpluta force-pushed the ACS-8312-Display-warning-about-losing-response branch from f096b69 to 6b066f2 Compare August 12, 2024 07:41
Copy link

}

/**
* Sets 'unsaved_ai_changes__modal_visible' checked state (true or false string) as new item in local storage.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name should be updated here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh and also let's add a mention about this functionality to the documentation of this component

@jacekpluta jacekpluta merged commit 135cf10 into ACS-8201-Knowledge-retrieval Aug 12, 2024
2 checks passed
@jacekpluta jacekpluta deleted the ACS-8312-Display-warning-about-losing-response branch August 12, 2024 08:24
AleksanderSklorz pushed a commit that referenced this pull request Aug 20, 2024
* [ACS-8312] Display warning about losing response

* [ACS-8312] Display warning about losing response - fixes
AleksanderSklorz pushed a commit that referenced this pull request Aug 26, 2024
* [ACS-8312] Display warning about losing response

* [ACS-8312] Display warning about losing response - fixes
AleksanderSklorz pushed a commit that referenced this pull request Sep 9, 2024
* [ACS-8312] Display warning about losing response

* [ACS-8312] Display warning about losing response - fixes
jacekpluta added a commit that referenced this pull request Sep 13, 2024
* [ACS-8312] Display warning about losing response

* [ACS-8312] Display warning about losing response - fixes
jacekpluta added a commit that referenced this pull request Sep 18, 2024
* [ACS-8312] Display warning about losing response

* [ACS-8312] Display warning about losing response - fixes
jacekpluta added a commit that referenced this pull request Sep 19, 2024
…selected files (#10229)

* [ACS-8202] basic flow getting ai response for one or more selected files (#9944)

* ACS-8202 Getting list of agents

* ACS-8202 Mocked agents, used base api from hxi connector

* ACS-8202 Search Ai service

* ACS-8202 Small correction and mocked data

* ACS-8202 Renamed variable

* ACS-8202 Added documentation

* ACS-8202 Addressed PR comments

* ACS-8202 Type change

* ACS-8202 Reverted unwatend change

* ACS-8202 Reverted unwanted change

* ACS-8201 Small correction after rebasing with Angular 15

* [ACS-8398] Unit tests for agents and search ai  (#9974)

* ACS-8398 Unit tests for search ai api and agents api

* ACS-8398 Unit tests for getAnswer function from SearchAiApi, corrections for unit tests for SearchAiApi and AgentsApi

* ACS-8398 Unit tests for SearchAiService and AgentService

* [ACS-8210] Agent basic details popup (#9956)

* [ACS-8573] Allow user to ask question without file selection

* [ACS-8312] Display warning about losing response (#10059)

* [ACS-8312] Display warning about losing response

* [ACS-8312] Display warning about losing response - fixes

* [ACS-8432] Sending all file types to HX instead of only the text file types (#10087)

* ACS-8201 Fixed issues after rebase

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page (#10132)

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page - review fixes

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page - review fixes 2

* [ACS-8399] Integrate all changes with backend (#10163)

* Answers endpoint fix (#10176)

* [ACS-8664] generic question redirection to hx insight (#10174)

* ACS-8664 Loading HX insight url

* ACS-8664 Added documentation for loading config of Knowledge Retrieval

* ACS-8664 Unit tests

* ACS-8664 Fixed unit tests

* ACS-8664 Fixed unit tests after rebase

* ACS-8664 Addressed comment

* ACS-8201 Fixed issues after rebase

* [ACS-8695] Getting Agent avatar (#10189)

* [ACS-8695] Getting Agent avatar

* [ACS-8695] Getting Agent avatar - on image load error

* [ACS-8695] Getting Agent avatar - removed getAgentAvatar call (#10209)

* [ACS-8201] Review fixes

---------

Co-authored-by: AleksanderSklorz <[email protected]>
Co-authored-by: Aleksander Sklorz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants