16.0.4 • Published 1 year ago

@fivestarprogramming/fsp-support v16.0.4

Weekly downloads
-
License
BEERWARE
Repository
github
Last release
1 year ago

Fsp Support

Fsp Support library for Angular.

Versions

Angularuser-issue
>=13.0.0 <14.0.0v13.x.x
>=12.0.0 <13.0.0v12.x.x
>=11.0.0 <12.0.0v11.x.x
>=10.0.0 <11.0.0v10.x.x
>=9.0.0 <10.0.0v9.x.x

Getting started

Step 1: Install @fivestarprogramming/fsp-support:

NPM

npm i @fivestarprogramming/fsp-support

Step 2: Import the NgSelectModule and angular FormsModule module:

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 {}

Step 3: Include a theme:

@import "~@fivestarprogramming/fsp-support/assets/style.css";

Step 4: include the user info and show when auth , use the service:

import { UserIssueAuthService } from '@fivestarprogramming/fsp-support';

 this._UserIssueAuthService.setCurrentUser({
        name: 'user',
        email: 'user@email.com'
      });

Step 5: In template use fsp-user-issue component with your options

<fsp-user-issue [showBugIcon]="true" ></fsp-user-issue>

To call popup directly from typescript

import { FspSupportService } from '@fivestarprogramming/fsp-support';

constructor( private _FspSupportService:FspSupportService) { }

onShowFspSupport(){
    this._FspSupportService.setShowPopup(true);
}

To call popup directly By ShortCut

Alt + B

In backend part 1 you need to insert in db this info

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}

In backend part 2 if you need create issue by specified user you need to insert (optional)

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
16.0.4

1 year ago

16.0.3

1 year ago

16.0.2

1 year ago

16.0.1

1 year ago

13.1.1

2 years ago

13.1.0

2 years ago

9.1.8

2 years ago

9.1.7

2 years ago

9.1.6

2 years ago

9.1.5

2 years ago

9.2.0

2 years ago

9.1.4

2 years ago

9.1.3

2 years ago

9.1.2

2 years ago

9.1.1

2 years ago

9.1.0

2 years ago

9.0.4

3 years ago

13.0.4

3 years ago

9.0.3

3 years ago

9.0.2

3 years ago

9.0.1

3 years ago

13.0.3

3 years ago

13.0.2

3 years ago

13.0.1

3 years ago

12.0.1

3 years ago

11.0.1

3 years ago

10.0.1

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago