Skip to content

Commit

Permalink
Merge pull request #259 from etn-ccis/dev
Browse files Browse the repository at this point in the history
Publish 4.0.1
  • Loading branch information
JeffGreiner-eaton authored Apr 17, 2023
2 parents 511d72d + d9530f7 commit 9604e8d
Show file tree
Hide file tree
Showing 32 changed files with 465 additions and 290 deletions.
22 changes: 2 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,7 @@ jobs:
name: Publish @brightlayer-ui/angular-auth-workflow
command: |
cd login-workflow && yarn publish:package -b $CIRCLE_BRANCH
tag_login_workflow:
docker:
- image: cimg/node:14.19.0-browsers

steps:
- checkout
- gh/setup
- run:
name: Tag @brightlayer-ui/angular-auth-workflow
command: |
cd login-workflow && yarn tag:package -b $CIRCLE_BRANCH
workflows:
version: 2
angular_workflows:
Expand All @@ -172,16 +161,9 @@ workflows:
- master
- publish_login_workflow:
requires:
- build_login_workflow
- cypress_tests
filters:
branches:
only:
- master
- dev
- tag_login_workflow:
requires:
- publish_login_workflow
filters:
branches:
only:
- master
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug Report
about: Report a bug with a Brightlayer UI resource
title: ''
labels: 'bug, needs-review, brightlayer-ui'
assignees: ''

---

#### Describe the bug / expected behavior

#### What are the steps to reproduce?
1. Go to...
2. Click on...

#### Screenshots / Screen recording

#### Code snippet / Link to minimum reproduction example
<!-- Please include a minimum code snippet (if relevant) that shows the bug, or link to a codesandbox or other running example where it can be observed -->
```
CODE HERE
```

#### Your environment information
<!-- Describe any relevant environment information (e.g., Operating System, Library version number, browser used, etc.) where the issue was discovered -->

#### Suggested fix
<!-- If you have a suggestion for what might be causing the issue or where to look as a starting point, please mention it here -->

#### Anything else to add?
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature Request
about: Suggest an idea for this resource
title: ''
labels: 'enhancement, needs-review, brightlayer-ui'
assignees: ''

---

#### Describe the desired feature/functionality

#### Additional Context (where / how would this be used)

#### Is this request related to a current issue?

#### Suggested implementation details
23 changes: 23 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!-- If this pull request fixes an Issue, link it below. If not, you can remove the line below -->
Fixes # .

<!-- Include a bulleted list summarizing the main changes you have made in this PR -->
#### Changes proposed in this Pull Request:
-
-
-

<!-- Include screenshots if they will help illustrate the changes in this PR -->
#### Screenshots / Screen Recording (if applicable)
-


<!-- Instruction for PR reviewers, if more complicated than a simple yarn start -->
#### To Test:
-

<!-- Useful for draft pull requests -->
#### Any specific feedback you are looking for?
-


40 changes: 21 additions & 19 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/login-workflow"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 1
target-branch: "dev"
labels:
- "external-dependency"

- package-ecosystem: "npm"
directory: "/login-workflow/example"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 1
target-branch: "dev"
labels:
- "external-dependency"
- package-ecosystem: 'npm'
directory: '/login-workflow'
schedule:
interval: 'monthly'
day: 'monday'
open-pull-requests-limit: 1
target-branch: 'dev'
labels:
- 'external-dependency'
- 'brightlayer-ui'

- package-ecosystem: 'npm'
directory: '/login-workflow/example'
schedule:
interval: 'monthly'
day: 'monday'
open-pull-requests-limit: 1
target-branch: 'dev'
labels:
- 'external-dependency'
- 'brightlayer-ui'
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Add brightlayer-ui label to any root file changes on fork pull requests
brightlayer-ui:
- '*'
3 changes: 2 additions & 1 deletion .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
master: ['hotfix/*', 'release/*', 'dev/*', 'dev*']
external-dependency: ['combined/*', 'combined-dependabots/*']
external-dependency: ['combined/*', 'combined-dependabots/*']
brightlayer-ui: ['*', '*/*']
14 changes: 14 additions & 0 deletions .github/workflows/laberler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Fork PR Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
9 changes: 5 additions & 4 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Comment on PR'
on:
pull_request:
pull_request_target:
branches:
- master

Expand All @@ -12,8 +12,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Comment PR
uses: thollander/actions-comment-pull-request@v1
uses: thollander/actions-comment-pull-request@v2
with:
message: 'Thank you for the master pull request. 👍 Please be sure this pull request is for the master branch. The master branch is used for items that are ready for publishing.
The dev branch is our working branch for all issues and enhancements. Please read our [Contributing Guidelines](https://github.com/brightlayer-ui/.github/blob/dev/CONTRIBUTING.md) for more information.'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
The dev branch is our working branch for all issues and enhancements. Please read our [Contributing Guidelines](https://github.com/etn-ccis/blui-doc-it/blob/master/src/docs/community/contributing-guideline.md) for more information.'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
comment_tag: execution
20 changes: 20 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR Labeler
on:
pull_request:
types: [opened]

permissions:
contents: read

jobs:
pr-labeler:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/pr-labeler.yml
17 changes: 17 additions & 0 deletions .github/workflows/tagging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Tagging

env:
GH_TOKEN: ${{ github.token }}
CURRENT_BRANCH: ${{ github.ref_name }}

on:
push:
branches:
- master

jobs:
tag-login-workflow-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cd login-workflow && yarn tag:package -b ${CURRENT_BRANCH}
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @emclaug2 @daileytj @jeffvg
* @surajeaton @daileytj @JeffGreiner-eaton @joebochill
13 changes: 10 additions & 3 deletions login-workflow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## v4.0.1 (April 17, 2023)

### Fixed

- Fixed Email input should have a consistant invalid email error message in the login page ([#99](https://github.com/etn-ccis/blui-angular-workflows/issues/99)).
- Fixed update resend code screen to match new design issue in the create account page ([#247](https://github.com/etn-ccis/blui-angular-workflows/issues/247)).

## v4.0.0 (November 22, 2022)

### Changed
Expand All @@ -8,14 +15,14 @@

### Fixed

- Fixed duplicate IDs on the Change Password Page ([#178](https://github.com/brightlayer-ui/angular-workflows/issues/178)).
- Fixed some minor Chinese translations issue ([#150](https://github.com/brightlayer-ui/angular-workflows/pull/150)).
- Fixed duplicate IDs on the Change Password Page ([#178](https://github.com/etn-ccis/blui-angular-workflows/issues/178)).
- Fixed some minor Chinese translations issue ([#150](https://github.com/etn-ccis/blui-angular-workflows/pull/150)).

## v3.0.1 (June 13, 2022)

### Fixed

- Fixed bug in create-account workflow where `requestRegistrationCode` was not invoked before reaching the "Verify Email" screen ([#132](https://github.com/brightlayer-ui/angular-workflows/issues/132)).
- Fixed bug in create-account workflow where `requestRegistrationCode` was not invoked before reaching the "Verify Email" screen ([#132](https://github.com/etn-ccis/blui-angular-workflows/issues/132)).

## v3.0.0 (March 15, 2022)

Expand Down
16 changes: 8 additions & 8 deletions login-workflow/LICENSES.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,26 @@
},
"@brightlayer-ui/[email protected]": {
"licenses": "BSD-3-Clause",
"repository": "https://github.com/brightlayer-ui/angular-component-library",
"licenseUrl": "https://github.com/brightlayer-ui/angular-component-library/raw/master/LICENSE",
"repository": "https://github.com/etn-ccis/blui-angular-component-library",
"licenseUrl": "https://github.com/etn-ccis/blui-angular-component-library/raw/master/LICENSE",
"parents": "example"
},
"@brightlayer-ui/[email protected]": {
"licenses": "BSD-3-Clause",
"repository": "https://github.com/brightlayer-ui/angular-themes",
"licenseUrl": "https://github.com/brightlayer-ui/angular-themes/raw/master/LICENSE",
"repository": "https://github.com/etn-ccis/blui-angular-themes",
"licenseUrl": "https://github.com/etn-ccis/blui-angular-themes/raw/master/LICENSE",
"parents": "example"
},
"@brightlayer-ui/[email protected]": {
"licenses": "BSD-3-Clause",
"repository": "https://github.com/brightlayer-ui/icons",
"licenseUrl": "https://github.com/brightlayer-ui/icons",
"repository": "https://github.com/etn-ccis/blui-icons",
"licenseUrl": "https://github.com/etn-ccis/blui-icons",
"parents": "example"
},
"@brightlayer-ui/[email protected]": {
"licenses": "BSD-3-Clause",
"repository": "https://github.com/brightlayer-ui/icons",
"licenseUrl": "https://github.com/brightlayer-ui/icons/raw/master/LICENSE",
"repository": "https://github.com/etn-ccis/blui-icons",
"licenseUrl": "https://github.com/etn-ccis/blui-icons/raw/master/LICENSE",
"parents": "example"
},
"[email protected]": {
Expand Down
21 changes: 11 additions & 10 deletions login-workflow/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Angular Auth Workflow
![npm (scoped)](https://img.shields.io/npm/v/@brightlayer-ui/angular-auth-workflow) [![codecov](https://codecov.io/gh/brightlayer-ui/angular-workflows/branch/master/graph/badge.svg?token=QVN32QVDG3)](https://codecov.io/gh/brightlayer-ui/angular-workflows)
# Angular Auth Workflow

The Angular Auth Workflow package provides a consistent authentication and registration experience across Eaton web applications using Angular.
[![](https://img.shields.io/circleci/project/github/etn-ccis/blui-angular-workflows/master.svg?style=flat)](https://circleci.com/gh/etn-ccis/blui-angular-workflows/tree/master) ![npm (scoped)](https://img.shields.io/npm/v/@brightlayer-ui/angular-auth-workflow) [![codecov](https://codecov.io/gh/etn-ccis/blui-angular-workflows/branch/master/graph/badge.svg?token=QVN32QVDG3)](https://codecov.io/gh/etn-ccis/blui-angular-workflows)

The Angular Auth Workflow package provides a consistent [authentication and registration experience](https://brightlayer-ui.github.io/patterns/user-auth) across Eaton web applications using Angular.

This includes pre-built implementations of the screens for Login, Forgot Password, Self-Registration, Contact Support, Registration By Invitation, and a dialog for Change Password.

This documentation explains the steps required to integrate this auth workflow into your application.

![Login](https://raw.githubusercontent.com/brightlayer-ui/angular-workflows/master/login-workflow/media/login.png) ![Home](https://raw.githubusercontent.com/brightlayer-ui/angular-workflows/master/login-workflow/media/home.png) ![Password](https://raw.githubusercontent.com/brightlayer-ui/angular-workflows/master/login-workflow/media/password.png)
![Login](https://raw.githubusercontent.com/etn-ccis/blui-angular-workflows/master/login-workflow/media/login.png) ![Home](https://raw.githubusercontent.com/etn-ccis/blui-angular-workflows/master/login-workflow/media/home.png) ![Password](https://raw.githubusercontent.com/etn-ccis/blui-angular-workflows/master/login-workflow/media/password.png)

# Installation
To install the latest version of this package, run:
Expand All @@ -20,27 +21,27 @@ yarn add @brightlayer-ui/angular-auth-workflow
# Integration
You have two options for using this package in your application. You can manually integrate the package into an existing project, or you can start a project using the `/example` project provided in the package.

To integrate the package into an existing project, read our [Existing Project Integration](https://github.com/brightlayer-ui/angular-workflows/tree/master/login-workflow/docs/existing-project-integration.md) instructions. Even if you are starting from scratch, it may be useful for you to refer to the example project while getting started.
To integrate the package into an existing project, read our [Existing Project Integration](https://github.com/etn-ccis/blui-angular-workflows/tree/master/login-workflow/docs/existing-project-integration.md) instructions. Even if you are starting from scratch, it may be useful for you to refer to the example project while getting started.

To use the example project as a starting point, read our [Sample Project Integration](https://github.com/brightlayer-ui/angular-workflows/tree/master/login-workflow/docs/sample-project-integration.md) instructions.
To use the example project as a starting point, read our [Sample Project Integration](https://github.com/etn-ccis/blui-angular-workflows/tree/master/login-workflow/docs/sample-project-integration.md) instructions.

# Services

In order to provide your own custom API calls, access auth-state, or configure general auth module settings, check out our [services documentation](https://github.com/brightlayer-ui/angular-workflows/tree/master/login-workflow/docs/services.md).
In order to provide your own custom API calls, access auth-state, or configure general auth module settings, check out our [services documentation](https://github.com/etn-ccis/blui-angular-workflows/tree/master/login-workflow/docs/services.md).

# Page Customization

To replace the default content that is rendered on the screen, check out our [page customization documentation](https://github.com/brightlayer-ui/angular-workflows/tree/master/login-workflow/docs/page-customization.md).
To replace the default content that is rendered on the screen, check out our [page customization documentation](https://github.com/etn-ccis/blui-angular-workflows/tree/master/login-workflow/docs/page-customization.md).

# Error Handling

If your application requires custom error-handling, check out our [error-handling documentation](https://github.com/brightlayer-ui/angular-workflows/tree/master/login-workflow/docs/error-handling.md).
If your application requires custom error-handling, check out our [error-handling documentation](https://github.com/etn-ccis/blui-angular-workflows/tree/master/login-workflow/docs/error-handling.md).

# Contributors

To work on this package as a contributor, first clone down the repository:
```shell
git clone https://github.com/brightlayer-ui/angular-workflows
git clone https://github.com/etn-ccis/blui-angular-workflows
cd angular-workflows/login-workflow
```

Expand Down
Loading

0 comments on commit 9604e8d

Please sign in to comment.