-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* import frontend work from setup blazor web branch * import fw lite desktop changes * import fw lite shared blazor changes * import local web app changes * tweak type generation to support async and i async enumerable, as well as other types that hadn't been included yet * continue polishing type generation, pull out multi-string to allow a custom definition * rewrite `fetchProjects` to `localProjects`, let js call dotnet methods as camelCase and convert to PascalCase * develop a way to map services between js and dotnet * expose more services and use them from HomeView.svelte * commit generated ts types * add create project api and call from home page * fix server authority issues * wire up js invokable miniLcm service for crdts and fwdata * create dotnet project view to solve late binding of api service, fix issue with IHostApplicationLifetime not being available in Maui * remove reference which was breaking android build of FwLiteDesktop * dont set TargetFramework in build props as that prevents projects from setting more specific frameworks * fix some broken stuff due to services not existing * fix android app icon missing issue * remove usage of `toSorted` which is not supported on older android phones * allow invoking logout/login via js * remove unused constructor fields on entry component change * populate datacache when injecting a crdt project to the active scope * configure oauth client to support protocol handler on android to allow callbacks to return to the app * fix port forwarding for staging * refactor some service setup after merge * refactor IsPackagedApp into IsPortableApp * refactor FwLiteProvider to use constant for js function name and simplify removing a service * change svelte app binding to look for `id="svelte-app"` instead of just `app` * fix compile issues and dependency missmatch * prevent svelte from catching navigation to allow blazor to handle it, then notify svelte of navigation from the blazor event * setup watch builder build task * fix issue with rollup not resolving $lib * configure linq2db to use the Microsoft SQLite library instead of system data sqlite * prevent throwing errors when sending change notifications fails after a sync * ensure hosted services run at startup as expected * return the project when setting active project context * !fixup ensure hosted services run at startup as expected * make all methods return async in generated ts code, support ValueTask * update generated types * connect js event bus to C# ChangeEventBus * remove ProjectContext.cs and use stateful CurrentProjectService.cs instead * correct nrt error * update swashbuckle version to fix build error error was `error : Unable to find service type 'Microsoft.Extensions.ApiDescriptions.IDocumentProvider' in loaded assemblies.` * ignore csproj.user files * remove unused layout files * dispose of the module properly when the SvelteLayout is disposed of * change crdt project pages to use OwningComponentBase which ensures they have a service scope to use for project access * pass in jsRuntime as a parameter to FwLiteProvider rather than injecting it since it's a scoped service * make login buttons reactive * remove unused components * create an async disposing OwningComponentBase and use it for project pages * fix app header under status bar issue on android, ensure that status bar color matches fw lite theme * use hsl color space rather than oklch to support older browsers on old phones * remove unused generated types * ensure that a specific target framework is set. this fixes issues with publish where specifying a single framework is required. This then breaks FwLiteDesktop and causes it to ignore the TargetFrameworks, fix that by defining an empty target framework * !fixup remove unused generated types * configure `fw-lite:maui-desktop` task to run build-viewer-app * remove deleted generated file from index * update caniuse-lite * specify condition for windows related properties * refactor FwDataProjectContext.cs to be scoped and not a singleton * make miniLcm disposable * refactor FieldWorksProjectList.cs and CrdtProjectsService.cs into a common IProjectProvider.cs interface * refactor project import to make it optional. if import is called at runtime, it will throw * refactor FwShared to not depend on FwDataBridge, put that dependency into FwLiteDesktop windows builds * fix circular dependency between FieldWorksProjectList and FwDataFactory * ensure lcm service is cleared when going home * update typegen * only enable fwdata bridge when building for windows * use supportsFwData to determine if we show the fieldworks column * introduce DurableInvoke helper which uses a method defined on window in index which will always be there, to call methods which might not always be there * always export methods as promises when converting from c# to TS * Replace remaining oklch colors * Add global error handling and tidy up error notifications * Explicitly empty viewer app out dir to prevent unexpected residue * Add finally blocks to home view actions * fix compile error in test * don't always copy Mercurial stuff * mark tests as slow * keep `CurrentProjectService` scoped when running tests * fix frontend build issue because viewer output file was renamed * migrate away from types in viewer/lib/mini-lcm and use generated dotnet types instead * make ProjectView about optional * resolve import errors when importing code to the frontend from the viewer * change fw-lite build to use ubunut-latest on main build * build android * build maui on windows * fix eslint errors * specify os when building for android * don't import Dotnet service in viewer because it breaks the build * make release depend on the publish-android job * build android on mac, run tests on ubuntu, fix windows build * remove setup maui from initial build since it doesn't work on linux * use windows for tests since linux doesn't seem to like the slnf file * install maui instead of maui-android * fix os condition * Add Vs code tasks for FwLiteDesktop and android task * avoid trimming SqliteConnection ClearAllPools * publish single file when making portable windows builds * only use MsalCacheHelper on desktop platforms * activate the desktop window once login is successful * Try to dispose service provider on shutdown * Make some JS more readable * Add FwLiteShared to FwLiteOnly.slnf * remove typegen tool * markup route parameters as services * enable file logging again * Move comment --------- Co-authored-by: Tim Haasdyk <tim_haasdyk@sil.org>
- Loading branch information
Showing
227 changed files
with
3,376 additions
and
2,044 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ | |
"rollForward": false | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.