-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add more simple samples #242
Comments
Just to clarify what exactly is needed here... Should this be a new documentation style like the offical Xamarin.Forms documentation? or for example something like this: MKDocs or should we write a program as the |
Yes, my comment was not really clear. We already have documentation here: https://fsprojects.github.io/Fabulous/guide.html Initially, I meant to add more samples like TicTacToe and CounterApp. Then I thought maybe a program like |
There are some parts I would like to do better in the current documentation.
When this is done then we can add some examples as in the XF e.g. like the TODO-App and so on. The AllControls Example is as you wrote it in another Issue more like a Sandbox( Proof of Concept) so I don't think it would be great to rewrite it. I think this is more clear where to go from here... what do you think about this? |
Regarding the documentation, it's a reasonable request. I don't have enough rights to change the website itself. |
The new issue belongs to the link you posted, right? |
No, I meant a new issue in Fabulous so we can track where we are with the docs. I want to keep this issue for samples, like adding the Todo app you mentioned. |
For anyone who wants to do a sample app but does not which one... Take a look at the Xamarin.Forms samples: Xamarin.Forms-Samples |
@TimLariviere Anything specific what I should include or not include? When I have the initial app running - should I include it into Fabulous? or where to put? |
How is the progress going on this? Also the @SergejDK link to the samples seems to be broken. Here's some links to samples for Xamarin.Forms microsoft docs and github I'd be interested in helping out on this. Maybe we could recreate some of the Xamarin.Forms samples, such as the Weather app or the Bug sweeper to show how fabulous scales into a real app? |
I'll let @SergejDK answer to that. For my part, I haven't worked on it.
Absolutely! Any help is really appreciated. :) We already have a TicTacToe sample, so BugSweeper might not add much. You could also take a look at https://github.com/jamesmontemagno/app-pretty-weather |
Awesome! I think the app pretty weather would be even better and looks super simple. I'll go ahead and fork fabulous and work on this. |
I did not get the time to work on pretty much in the last months... Please go ahead and work on this :) One thing to mention is that Don had a great idea:
Maybe this is something that we should think about in this issue? |
Progress UpdateI wanted to give an update on what I have done so far. I have successfully created a replica of the pretty weather app and created a view extension for the pancake view. I really like the overall development experience (especially the hot reload). I'm curious of the progress of the type provider for extending the view module? I think that'd be really valuable in speeding up the development process (I'd love to help). Additionally, I'd love to see hot reload become faster (maybe using binary requests instead json if not done so already?) Making the samples buildable outside the Fabulous repoI'm curious as to how we should accomplish making the samples buildable outside the Fabulous repo and also build under CI? Maybe you could have something in MSBuild that would use Fabulous if building CI, but use nuget if being built locally? That would allow samples to be seperate, but still test changes to fabulous. Screenshots |
Awesome, thanks! Will take a look at the PR.
We don't work on a type provider because even though it may seem like a good idea, in fact, there's a lot of subtleties that make it impractical. Instead, the new Fabulous.XamarinForms.Generator can help you with that.
There's a lot of room to improve LiveUpdate. So if you feel like it, you can take a look :)
That's an interesting thought. <ItemGroup Condition="'$(IsFabulousRepository)' == 'True'">
<ProjectReference Include="..\..\..\src\Fabulous.XamarinForms\Fabulous.XamarinForms.fsproj" />
<ProjectReference Include="..\..\..\src\Fabulous.XamarinForms.LiveUpdate\Fabulous.XamarinForms.LiveUpdate.fsproj" />
</ItemGroup>
<ItemGroup Condition="'$(IsFabulousRepository)' != 'True'">
<PackageReference Include="Fabulous.XamarinForms" Version="0.50.3" />
<PackageReference Include="Fabulous.XamarinForms.LiveUpdate" Version="0.50.3" />
</ItemGroup> The only real difficulty will be to automatically update the hard-coded version numbers when we update the version number of Fabulous. |
Awesome! I think this would be something good to add to these docs as this is what I was following to make the view extension. I'll take a look at the LiveUpdate and see what I can do 😄. As far as the hard coded version numbers, for people who are downloading the samples it would be easy to update the nugets and we could update the nugets manually as well. |
Since we have a new cool sample thanks to @chrisevans9629, I'll close this issue. |
AllControls became more of a playground for testing new features than a real sample.
So before we can release Fabulous 1.0, we need to make simpler samples.
I'm thinking something like the
XAML Controls Gallery
in the Microsoft Store (https://www.microsoft.com/en-us/p/xaml-controls-gallery/9msvh128x2zt) can be a good thing to do.It would both act as an interactive documentation, show code samples on how to use a control, and demonstrate how to implement a complete application with Fabulous.
The text was updated successfully, but these errors were encountered: