dididy opened a new pull request, #5098:
URL: https://github.com/apache/zeppelin/pull/5098
### What is this PR for?
If a user accesses a shared link (via **“Link this paragraph”**) for a
paragraph that does not exist, it now **redirects to the home screen** and
**displays an error modal** indicating that the paragraph does not exist. Added
tests to cover this behavior.
---
**Correct button text in Create Note modal** - db87e51
```
<nz-form-label>
<ng-container *ngIf="cloneNote; else importTpl">Clone
Note</ng-container>
<ng-template #importTpl>Note Name</ng-template>
</nz-form-label>
...
<button nz-button nzType="primary" (click)="createNote()">
<ng-container *ngIf="cloneNote; else importTpl">Clone</ng-container>
<ng-template #importTpl>Create</ng-template>
</button>
```
- There was an issue where importTpl was duplicated, causing the "Note Name"
to be overridden on the "Create" button. Renamed button's importTpl to
importTplBtn to fix this.
---
**App component related E2E test updates** - daf6045
- Updated tests for the App component to ensure verify correct behavior
under various scenarios.
---
**Add create new note precedure when it's empty** - 94933a4
Added a notebook test utility for creating a new note and a common utility
that creates a note if none exists, which can be used in multiple places.
- zeppelin-web-angular/e2e/models/notebook.util.ts
- zeppelin-web-angular/e2e/utils.ts
### What type of PR is it?
Bug Fix
Improvement
### Todos
### What is the Jira issue?
ZEPPELIN-6330
### How should this be tested?
### Screenshots (if appropriate)
### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]