{"id":14965049,"url":"https://github.com/bip901/avaloniadialogs","last_synced_at":"2025-04-12T02:41:22.615Z","repository":{"id":219641138,"uuid":"749513759","full_name":"Bip901/AvaloniaDialogs","owner":"Bip901","description":"This library wraps DialogHost.Avalonia, providing a more convenient API and built-in common dialogs such as a Yes/No popup and a snackbar.","archived":false,"fork":false,"pushed_at":"2024-02-25T17:06:53.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-26T09:20:42.810Z","etag":null,"topics":["avalonia","dialogs"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bip901.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-28T19:44:17.000Z","updated_at":"2024-06-14T10:30:59.294Z","dependencies_parsed_at":"2024-06-14T10:40:57.169Z","dependency_job_id":null,"html_url":"https://github.com/Bip901/AvaloniaDialogs","commit_stats":null,"previous_names":["bip901/avaloniadialogs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bip901%2FAvaloniaDialogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bip901%2FAvaloniaDialogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bip901%2FAvaloniaDialogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bip901%2FAvaloniaDialogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bip901","download_url":"https://codeload.github.com/Bip901/AvaloniaDialogs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507468,"owners_count":21115607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avalonia","dialogs"],"created_at":"2024-09-24T13:34:08.952Z","updated_at":"2025-04-12T02:41:22.596Z","avatar_url":"https://github.com/Bip901.png","language":"C#","readme":"# AvaloniaDialogs\n\n[![NuGet version](https://img.shields.io/nuget/v/AvaloniaDialogs.svg)](https://www.nuget.org/packages/AvaloniaDialogs/)\n\nThis library wraps [DialogHost.Avalonia](https://github.com/AvaloniaUtils/DialogHost.Avalonia/), providing a more convenient API and built-in common dialogs such as a Yes/No popup and a snackbar.\n\n## [Quick Start Guide](./AvaloniaDialogs/README.md)\n\n## Improvements over DialogHost.Avalonia\n\n* Convenient async APIs - spawning a dialog is as easy as:\n\n```csharp\nSingleActionDialog dialog = new() {\n    Message = \"Hello from C# code!\",\n    ButtonText = \"Click me!\"\n};\nawait dialog.ShowAsync();\n```\n\n* Built-in common dialogs: Loading Dialog, Snackbar, Twofold (e.g. Yes/No), Threefold (e.g. Cancel/Discard/Save)\n* Easy extensibility: to create your own dialogs, just inherit from `BaseDialog` (or `BaseDialog\u003c\u003e` if your dialog returns a result). For example, [here's a custom dialog](./AvaloniaDialogs.Demo/CustomDialog.axaml.cs) that displays a slider and returns the user's selection.\n* Added support for nested dialogs - that is, opening a new dialog while another is showing on the same DialogHost.\n* Improved keyboard UX - this library ensures correct keyboard focus to prevent interacting with elements below the dialog; Dialogs can be closed by pressing Escape by default; and more.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbip901%2Favaloniadialogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbip901%2Favaloniadialogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbip901%2Favaloniadialogs/lists"}