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

FluentAvalonia v2 Roadmap #238

Closed
4 tasks
amwx opened this issue Nov 9, 2022 · 4 comments
Closed
4 tasks

FluentAvalonia v2 Roadmap #238

amwx opened this issue Nov 9, 2022 · 4 comments
Labels
v2 Related to v2

Comments

@amwx
Copy link
Owner

amwx commented Nov 9, 2022

I think at this point the biggest changes have been made for v2/Avalonia 11.0, both here an upstream - at least in terms of the public API. FA is now (or at least should be) compatible out-of-the-box on all backends, however, if you find something gives you trouble do raise an issue. I know very little about the wasm/mobile stuff and may not be able to help all that much, but someone else might - and we can try to get a solution working.

My time will be a little more limited through at least through the end of the year so I'm laying out my plans for the next little bit. Most likely, no new controls or features will be going into v2.0 at this point. It will just be bug fixes and ensuring compatibility with remaining changes for 11.0 upstream.

[Still todo before v2 release]

  • Add simple docs site (via github pages) for basic documentation for FA
    • I've realized my only documentation is really in the sample app, which isn't ideal since you have to download and run it to see everything. So as part of my Sample App refactor, I'm going add a small documentation thing for things like getting started, basic info about controls, etc. Examples will still be in the sample app. Most of this will be auto-generated for my sake.
  • Sample app clean up/face lift (also move sample app and FASandbox project into /samples directory for organization)
  • Code clean up (try to reduce warnings)
  • [Will add more if/as things come up]

PLEASE NOTE

  • Until more documentation is available, please read the AppWindow PR for how to use AppWindow, including the necessary steps for styling and TaskDialog to work.
  • Please do not submit any PRs for changes in the sample app, until changes are done


To recap what's been done so far (major features and PRs):

[Preview1]

[Preview2]

[Preview3]

[Preview4]

[Preview5]
Lot's of changes here, too many to list, so please see these PRs. Note preview5 contains many breaking changes
Most notable changes:

As a reminder, the HighContrast theme is broken in preview5 pending a fix for DynamicResource upstream.

@amwx amwx added the v2 Related to v2 label Nov 9, 2022
@amwx amwx pinned this issue Nov 9, 2022
@stevemonaco
Copy link

stevemonaco commented Nov 13, 2022

Avalonia 11-preview4 has made breaking changes to TextLayout's constructors to add letterSpacing. I got this exception in FA 2.0.0-preview3:

System.MissingMethodException: Method not found: 'Void Avalonia.Media.TextFormatting.TextLayout..ctor(System.String, Avalonia.Media.Typeface, Double, Avalonia.Media.IBrush, Avalonia.Media.TextAlignment, Avalonia.Media.TextWrapping, Avalonia.Media.TextTrimming, Avalonia.Media.TextDecorationCollection, Avalonia.Media.FlowDirection, Double, Double, Double, Int32, System.Collections.Generic.IReadOnlyList`1<Avalonia.Utilities.ValueSpan`1<Avalonia.Media.TextFormatting.TextRunProperties>>)'.
   at FluentAvalonia.UI.Controls.FontIcon.GenerateText()

Edit: Above has been fixed with FA v2-preview4

Besides that, SelectableTextBlock has been introduced and will probably need styling. I plan to try using it in ContentDialog for message boxes so the user can select and copy the body text.

@amwx
Copy link
Owner Author

amwx commented Nov 13, 2022

FluentAvalonia v2-preview4 packages have been pushed

@Dynesshely
Copy link
Contributor

Suggest VuePress as Docs site framework.

@AlphaNecron
Copy link

Make dynamic navigation icon as well as add Microsoft Store-like navigation view theme as a ControlTheme?

@amwx amwx closed this as completed Aug 6, 2023
@amwx amwx unpinned this issue Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 Related to v2
Projects
None yet
Development

No branches or pull requests

4 participants