Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task List component and playground #2917

Draft
wants to merge 39 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ba5aa48
Start work on task list ui
Jun 10, 2024
727fdb4
Playground demo testing
Jun 13, 2024
e0bf5b8
Playground service modification and slider added
Jun 18, 2024
1de7740
Playground demo changes
Jun 19, 2024
3664b80
Remove numOfTask from live service, inject TaskService on demo view i…
ReneOv-MSFT Jun 19, 2024
bca932f
Task List Demo modifications
Jun 19, 2024
0924135
Displayed exit code in demo
Jun 20, 2024
472f938
Removing comments
Jun 24, 2024
3d97364
Update Batch Dataplane RLC with latest TypeSpec (#2912)
wanghoppe Jun 24, 2024
7e72940
TaskList Component passing generated tasks to demo
Jun 25, 2024
9fc5758
Update top-level build dir to include all tests & app (#2918)
dpwatrous Jun 26, 2024
f3cc9f9
Removed depedency, added SpinButton, modified task-list Mounted
Jun 26, 2024
be0992b
Replaced playground icons with fluent ui icons
Jun 26, 2024
225ef88
Add --no-sandbox flag to Electron when running tests (#2919)
dpwatrous Jun 27, 2024
6569155
Pagination added to demo
Jul 2, 2024
11c3934
temp to add getoradd
wanghoppe Jun 25, 2024
42cae0f
update batch dependencies
wanghoppe Jul 2, 2024
0463950
update mock enviroment
wanghoppe Jul 2, 2024
04710c2
update desktop environment
wanghoppe Jul 2, 2024
a6cc034
fix lint issue
wanghoppe Jul 2, 2024
6ddd8af
update explorer-web's environment
wanghoppe Jul 3, 2024
f3047f3
resolve comments.
wanghoppe Jul 3, 2024
1ef83df
Infinite scroll added to demo
Jul 3, 2024
517ee9b
add LruCahe
wanghoppe Jul 9, 2024
19a507d
Start work on task list ui
Jun 10, 2024
1103660
Playground demo testing
Jun 13, 2024
134658b
Playground service modification and slider added
Jun 18, 2024
6e26337
Playground demo changes
Jun 19, 2024
27e4752
Remove numOfTask from live service, inject TaskService on demo view i…
ReneOv-MSFT Jun 19, 2024
f79c475
Task List Demo modifications
Jun 19, 2024
7928282
Displayed exit code in demo
Jun 20, 2024
f96440f
Removing comments
Jun 24, 2024
59a9d51
TaskList Component passing generated tasks to demo
Jun 25, 2024
6bd7c57
Removed depedency, added SpinButton, modified task-list Mounted
Jun 26, 2024
5ad58db
Replaced playground icons with fluent ui icons
Jun 26, 2024
f2880b1
Pagination added to demo
Jul 2, 2024
f433574
Infinite scroll added to demo
Jul 3, 2024
5bdf495
Merge cache and task service
Jul 9, 2024
f22007e
Merge cache and task service
Jul 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desktop/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = function(config) {
customLaunchers: {
CustomElectron: {
base: "Electron",
flags: ["--enable-precise-memory-info"],
flags: ["--enable-precise-memory-info", "--no-sandbox"],
browserWindowOptions: {
show: true,
webPreferences: {
Expand Down
8 changes: 4 additions & 4 deletions desktop/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"to-string-loader": "^1.1.6",
"ts-loader": "^5.4.5",
"ts-node": "^8.10.2",
"typescript": "~4.1.0",
"typescript": "~4.6.0",
"url-loader": "^1.1.2",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
Expand Down
7 changes: 6 additions & 1 deletion desktop/src/app/environment/desktop-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ import {
LiveSubscriptionService,
initEnvironment
} from "@azure/bonito-core";
import { MemoryCacheManager } from "@azure/bonito-core/lib/cache";
import { StandardClock } from "@azure/bonito-core/lib/datetime";
import { createConsoleLogger } from "@azure/bonito-core/lib/logging";
import { AlertNotifier } from "@azure/bonito-core/lib/notification/alert-notifier";
import { DefaultFormLayoutProvider } from "@azure/bonito-ui/lib/components/form";
import { BrowserDependencyName, BrowserEnvironmentConfig, DefaultBrowserEnvironment } from "@azure/bonito-ui/lib/environment";
import BatchExplorerHttpClient from "@batch-flask/core/batch-explorer-http-client";
import { BatchBrowserDependencyFactories, BatchFormControlResolver } from "@batch/ui-react";
import { LiveNodeService, LivePoolService } from "@batch/ui-service";
import { LiveTaskService, LiveAccountService, LiveNodeService, LivePoolService } from "@batch/ui-service";
import { BatchDependencyName } from "@batch/ui-service/lib/environment";
import { DesktopLocalizer } from "app/localizer/desktop-localizer";
import { AppTranslationsLoaderService, AuthService, BatchExplorerService } from "app/services";
Expand Down Expand Up @@ -42,10 +43,14 @@ export function initDesktopEnvironment(
() => new BatchExplorerHttpClient(authService),
[DependencyName.LocationService]: () =>
new LiveLocationService(),
[DependencyName.CacheManager]: () => new MemoryCacheManager(),
[BatchDependencyName.PoolService]: () =>
new LivePoolService(),
[BatchDependencyName.NodeService]: () =>
new LiveNodeService(),
[BatchDependencyName.TaskService]: () =>
new LiveTaskService(),
[BatchDependencyName.AccountService]: () => new LiveAccountService(),
[DependencyName.Notifier]: () =>
new AlertNotifier(), // TODO: update with real notification implementation
[DependencyName.ResourceGroupService]: () =>
Expand Down
5 changes: 4 additions & 1 deletion desktop/tsconfig.browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"src/test/**/*.ts",
"test/**/*.ts",
"**/testing**/*"
]
],
"angularCompilerOptions": {
"disableTypeScriptVersionCheck": true
}
}
Loading
Loading