RED-5213 RSS changes
This commit is contained in:
parent
306cc90ab8
commit
4be3e320be
@ -33,6 +33,15 @@
|
||||
[minWidth]="width"
|
||||
></redaction-file-actions>
|
||||
|
||||
<iqser-circle-button
|
||||
(action)="openRSSView(file)"
|
||||
*ngIf="configService.values.RSS_ENABLED"
|
||||
[tooltip]="'file-preview.open-rss-view' | translate"
|
||||
class="ml-8"
|
||||
icon="red:rss"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
(action)="toggleFullScreen()"
|
||||
[icon]="fullScreen ? 'red:exit-fullscreen' : 'red:fullscreen'"
|
||||
@ -52,15 +61,6 @@
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
(action)="openRSSView(file)"
|
||||
*ngIf="userPreferenceService.areDevFeaturesEnabled"
|
||||
[tooltip]="'file-preview.open-rss-view' | translate"
|
||||
[type]="circleButtonTypes.primary"
|
||||
class="ml-8"
|
||||
icon="red:rss"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
<!-- End Dev Mode Features-->
|
||||
|
||||
<iqser-circle-button
|
||||
|
||||
@ -34,7 +34,7 @@ import { ManualRedactionEntryWrapper } from '@models/file/manual-redaction-entry
|
||||
import { AnnotationWrapper } from '@models/file/annotation.wrapper';
|
||||
import { AnnotationDrawService } from '../pdf-viewer/services/annotation-draw.service';
|
||||
import { AnnotationProcessingService } from './services/annotation-processing.service';
|
||||
import { Dictionary, File, ViewMode, ViewModes } from '@red/domain';
|
||||
import { AppConfig, Dictionary, File, ViewMode, ViewModes } from '@red/domain';
|
||||
import { PermissionsService } from '@services/permissions.service';
|
||||
import { combineLatest, firstValueFrom, from, of, pairwise } from 'rxjs';
|
||||
import { UserPreferenceService } from '@users/user-preference.service';
|
||||
@ -66,6 +66,7 @@ import { REDDocumentViewer } from '../pdf-viewer/services/document-viewer.servic
|
||||
import { AnnotationsListingService } from './services/annotations-listing.service';
|
||||
import { PdfProxyService } from './services/pdf-proxy.service';
|
||||
import Annotation = Core.Annotations.Annotation;
|
||||
import { ConfigService } from '@services/config.service';
|
||||
|
||||
const textActions = [TextPopups.ADD_DICTIONARY, TextPopups.ADD_FALSE_POSITIVE];
|
||||
|
||||
@ -98,6 +99,7 @@ export class FilePreviewScreenComponent
|
||||
readonly permissionsService: PermissionsService,
|
||||
readonly userPreferenceService: UserPreferenceService,
|
||||
readonly pdfProxyService: PdfProxyService,
|
||||
readonly configService: ConfigService,
|
||||
private readonly _listingService: AnnotationsListingService,
|
||||
private readonly _router: Router,
|
||||
private readonly _ngZone: NgZone,
|
||||
|
||||
@ -14,5 +14,6 @@
|
||||
"OAUTH_URL": "https://qa1.iqser.cloud/auth/realms/redaction",
|
||||
"RECENT_PERIOD_IN_HOURS": 24,
|
||||
"SELECTION_MODE": "structural",
|
||||
"MANUAL_BASE_URL": "https://docs.redactmanager.com/preview"
|
||||
"MANUAL_BASE_URL": "https://docs.redactmanager.com/preview",
|
||||
"RSS_ENABLED": true
|
||||
}
|
||||
|
||||
@ -1296,7 +1296,7 @@
|
||||
"upload-csv": "Upload File Attributes Configuration"
|
||||
},
|
||||
"rss-dialog": {
|
||||
"title": "RSS",
|
||||
"title": "Structured Component Management",
|
||||
"actions": {
|
||||
"export": "Export",
|
||||
"close": "Close"
|
||||
@ -1310,7 +1310,7 @@
|
||||
"delta-tooltip": "The Delta View shows the unseen changes since your last visit to the page. This view is only available if there is at least 1 change.",
|
||||
"document-info": "Document Info",
|
||||
"download-original-file": "Download Original File",
|
||||
"open-rss-view": "Open RSS View",
|
||||
"open-rss-view": "Open Structured Component Management View",
|
||||
"exclude-pages": "Exclude pages from redaction",
|
||||
"excluded-from-redaction": "excluded",
|
||||
"fullscreen": "Full Screen (F)",
|
||||
|
||||
@ -1,14 +1,23 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 310 310" style="enable-background:new 0 0 310 310;" xml:space="preserve">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
|
||||
viewBox="0 0 492 492" style="enable-background:new 0 0 492 492;" xml:space="preserve">
|
||||
<g fill="currentColor">
|
||||
<path id="XMLID_789_" d="M90.244,264.828C90.244,240.11,70.139,220,45.427,220c-24.715,0-44.822,20.11-44.822,44.828
|
||||
c0,24.714,20.107,44.82,44.822,44.82C70.139,309.648,90.244,289.542,90.244,264.828z"/>
|
||||
<path id="XMLID_790_" d="M5.648,169.43c35.961,0,69.782,14.066,95.231,39.605c25.45,25.583,39.467,59.648,39.467,95.92
|
||||
c0,2.762,2.238,5,5,5h57.486c2.762,0,5-2.238,5-5c0-111.952-90.699-203.031-202.185-203.031c-2.762,0-5,2.238-5,5v57.505
|
||||
C0.648,167.191,2.887,169.43,5.648,169.43z"/>
|
||||
<path id="XMLID_791_" d="M5.726,0c-2.762,0-5,2.238-5,5v57.495c0,2.762,2.238,5,5,5c130.24,0,236.199,106.544,236.199,237.505
|
||||
c0,2.762,2.238,5,5,5h57.471c2.762,0,5-2.238,5-5C309.396,136.822,173.17,0,5.726,0z"/>
|
||||
<g>
|
||||
<path d="M484.09,227.108l-94.356-94.36c-5.064-5.06-11.82-7.844-19.028-7.844s-13.96,2.784-19.024,7.844l-16.12,16.128
|
||||
c-5.064,5.064-7.852,11.82-7.852,19.024c0,7.208,2.788,14.084,7.852,19.152l20.388,20.508H165.382
|
||||
c-14.836,0-26.944,11.824-26.944,26.656v22.8c0,14.832,12.108,27.416,26.944,27.416h191.74l-21.52,21.26
|
||||
c-5.068,5.068-7.856,11.692-7.856,18.9c0,7.204,2.788,13.896,7.856,18.96l16.12,16.084c5.064,5.068,11.82,7.84,19.024,7.84
|
||||
c7.208,0.008,13.964-2.796,19.028-7.86l94.316-94.324c5.08-5.08,7.868-11.864,7.848-19.08
|
||||
C491.958,238.972,489.17,232.188,484.09,227.108z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g fill="currentColor">
|
||||
<g>
|
||||
<path d="M265.59,76.876c1.844,11.532,13.084,23.064,26.644,23.064h22.796c14.724,0,27.12-12.308,27.12-27.036v-34.4
|
||||
C342.15,17.308,324.95,0,303.758,0H38.662c-21.2,0-38.6,17.308-38.6,38.504v414.904C0.062,474.6,17.466,492,38.662,492h265.096
|
||||
c21.192,0,38.392-17.404,38.392-38.592v-34.592c0-14.728-12.4-26.752-27.12-26.752h-22.796c-13.616,0-24.916,11.532-26.672,23.064
|
||||
H76.938V76.876H265.59z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.4 KiB |
@ -17,6 +17,7 @@ OAUTH_URL="${OAUTH_URL:-/auth}"
|
||||
RECENT_PERIOD_IN_HOURS="${RECENT_PERIOD_IN_HOURS:-24}"
|
||||
SELECTION_MODE="${SELECTION_MODE:-structural}"
|
||||
MANUAL_BASE_URL="${MANUAL_BASE_URL:-https://docs.redactmanager.com/preview}"
|
||||
RSS_ENABLED="${RSS_ENABLED:-false}"
|
||||
|
||||
|
||||
|
||||
@ -36,7 +37,8 @@ echo '{
|
||||
"OAUTH_URL":"'"$OAUTH_URL"'",
|
||||
"RECENT_PERIOD_IN_HOURS":'"$RECENT_PERIOD_IN_HOURS"',
|
||||
"SELECTION_MODE":"'"$SELECTION_MODE"'",
|
||||
"MANUAL_BASE_URL":"'"$MANUAL_BASE_URL"'"
|
||||
"MANUAL_BASE_URL":"'"$MANUAL_BASE_URL"'",
|
||||
"RSS_ENABLED":'"$RSS_ENABLED"'
|
||||
}' > /usr/share/nginx/html/ui/assets/config/config.json
|
||||
|
||||
echo 'Env variables: '
|
||||
|
||||
@ -15,4 +15,5 @@ export interface AppConfig {
|
||||
RECENT_PERIOD_IN_HOURS: number;
|
||||
SELECTION_MODE: string;
|
||||
MANUAL_BASE_URL: string;
|
||||
RSS_ENABLED: boolean;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user