Fsp Support library for Angular.
Angular | user-issue |
---|---|
>=13.0.0 <14.0.0 | v13.x.x |
>=12.0.0 <13.0.0 | v12.x.x |
>=11.0.0 <12.0.0 | v11.x.x |
>=10.0.0 <11.0.0 | v10.x.x |
>=9.0.0 <10.0.0 | v9.x.x |
npm i @fivestarprogramming/fsp-support
import { FormsModule } from '@angular/forms';
import { UserIssueLibModule } from '@fivestarprogramming/fsp-support';
@NgModule({
declarations: [AppComponent],
imports: [FormsModule ,UserIssueLibModule.forRoot({
apiUrl:'https://localhost:44310/api',
appKey:'',
appName:''
})],
bootstrap: [AppComponent]
})
export class AppModule {}
@import "~@fivestarprogramming/fsp-support/assets/style.css";
import { UserIssueAuthService } from '@fivestarprogramming/fsp-support';
this._UserIssueAuthService.setCurrentUser({
name: 'user',
email: 'user@email.com'
});
<fsp-user-issue [showBugIcon]="true" ></fsp-user-issue>
import { FspSupportService } from '@fivestarprogramming/fsp-support';
constructor( private _FspSupportService:FspSupportService) { }
onShowFspSupport(){
this._FspSupportService.setShowPopup(true);
}
Alt + B
INSERT INTO [dbo].[Projects]
([Id]
,[Name]
,[Key]
,[JiraReporterId]
,[JiraProjectId]
,[JiraAssigneeId])
VALUES
(<Id, uniqueidentifier,> --generate Guid
,<Name, nvarchar(max),> --name of project
,<Key, nvarchar(450),> --key will add in frontend module to attach with backend (appKey)
,<JiraReporterId, nvarchar(max),> --jira reporter Id from jira profile https://?.atlassian.net/jira/people/{userId}
,<JiraProjectId, nvarchar(max),> --jira project id its exist in project setting
,<JiraAssigneeId, nvarchar(max),>) -- jira assign id from jira profile https://?.atlassian.net/jira/people/{userId}
INSERT INTO [dbo].[JiraUsers]
([Id]
,[Name]
,[Email]
,[JiraToken]
,[ProjectId])
VALUES
(<Id, uniqueidentifier,> --generate Guid
,<Name, nvarchar(max),> --name of user
,<Email, nvarchar(max),> --user email that used for jira
,<JiraToken, nvarchar(max),> --jira token for the user
,<ProjectId, uniqueidentifier,>) -- its id for selected project from db