This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push:
new c5a303d5ff [ZEPPELIN-6205] Sort configurations alphabetically in new UI
c5a303d5ff is described below
commit c5a303d5ff8498d4880d4b8b3c0326d2ee1dcffc
Author: ChanHo Lee <[email protected]>
AuthorDate: Mon Jul 14 04:25:41 2025 +0900
[ZEPPELIN-6205] Sort configurations alphabetically in new UI
### What is this PR for?
This PR updates the new UI to display configurations in alphabetical order
### What type of PR is it?
Improvement
### Todos
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-6205
### 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
Closes #4950 from tbonelee/sort-config-values.
Signed-off-by: Cheng Pan <[email protected]>
---
.../src/app/pages/workspace/configuration/configuration.component.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/zeppelin-web-angular/src/app/pages/workspace/configuration/configuration.component.ts
b/zeppelin-web-angular/src/app/pages/workspace/configuration/configuration.component.ts
index fb3b120574..aead174677 100644
---
a/zeppelin-web-angular/src/app/pages/workspace/configuration/configuration.component.ts
+++
b/zeppelin-web-angular/src/app/pages/workspace/configuration/configuration.component.ts
@@ -29,7 +29,7 @@ export class ConfigurationComponent implements OnInit {
getAllConfig(): void {
this.configurationService.getAll().subscribe(data => {
- this.configEntries = [...Object.entries<string>(data)];
+ this.configEntries = [...Object.entries<string>(data)].sort((a, b) =>
a[0].localeCompare(b[0]));
this.cdr.markForCheck();
});
}