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

[ACA-4679] Added code changes and env variables to enable DownloadPrompt and FileAutoDownload features on ACA #3127

Merged
merged 9 commits into from
Apr 20, 2023

Conversation

swapnil-verma-gl
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)
The DownloadPrompt and FileAutoDownload features implemented and ADF are not completely visible on the ACA application. This is due to data table column overrides and missing env variable configurations

What is the new behaviour?
Updated the data table column overrides and added env variable configurations to enable the DownloadPrompt and the FileAutoDownload feature on ACA

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:
More information on this feature can be found in the following JIRAs -

@pr-triage pr-triage bot added the PR: draft label Apr 18, 2023
@suneet-gupta suneet-gupta marked this pull request as ready for review April 18, 2023 13:46
Copy link
Contributor

@MichalKinas MichalKinas left a comment

Choose a reason for hiding this comment

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

Changes LGTM, but please rebase your PR to get newest license changes and add licenses to newly added files as linter suggest

…itional code for enabling non-responsive file preview download and file auto download features in ACA
…ownload features. Updated variable names from 'nonResponsiveDialog' to 'downloadPrompt'
@swapnil-verma-gl swapnil-verma-gl force-pushed the dev-swapnil-ACA-4679-enable-file-download branch from 1e313a8 to 62b6e46 Compare April 19, 2023 06:29
@swapnil-verma-gl
Copy link
Contributor Author

Changes LGTM, but please rebase your PR to get newest license changes and add licenses to newly added files as linter suggest

Thank you @MichalKinas. Rebased the PR and added the missing license headers.

@@ -37,6 +37,12 @@ runs:
echo "APP_CONFIG_OAUTH2_REDIRECT_LOGOUT=/"
echo "APP_CONFIG_OAUTH2_REDIRECT_LOGIN=/"
echo "APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI={protocol}//{hostname}{:port}/assets/silent-refresh.html"
echo "APP_CONFIG_ENABLE_DOWNLOAD_PROMPT=true"
Copy link
Contributor

Choose a reason for hiding this comment

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

update main readme file with these variables

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the README.md file. The values I added to that file are -

APP_CONFIG_ENABLE_DOWNLOAD_PROMPT=true
APP_CONFIG_ENABLE_DOWNLOAD_PROMPT_REMINDERS=true
APP_CONFIG_DOWNLOAD_PROMPT_DELAY=<time>
APP_CONFIG_DOWNLOAD_PROMPT_REMINDER_DELAY=<time>
APP_CONFIG_ENABLE_FILE_AUTO_DOWNLOAD=true
APP_CONFIG_FILE_AUTO_DOWNLOAD_SIZE_THRESHOLD_IN_MB=<file-size>

Please validate if these are correct or if we should add the actual values instead.

@DenysVuika
Copy link
Contributor

Instead of the angular service that you now have to provide in each constructor, you can create the Effect like in all other cases, and use store.dispatch

@DenysVuika DenysVuika merged commit 9148ccc into develop Apr 20, 2023
@DenysVuika DenysVuika deleted the dev-swapnil-ACA-4679-enable-file-download branch April 20, 2023 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants