MudBlazor v7 Feedback #8976
Replies: 17 comments 31 replies
-
Really excited that we have such a precise and well written "migration" page. It looks a lot like what I would expect to find in Microsoft's documentation and is definitely the only reason that migrating is even an option at all for me considering the amount of breaking changes. Really amazing work from a lot of people <3. If I can allow myself to offer some thought and also play the devil's advocate at the same time : I am not sure what is the right answer for future breaking changes. I know Microsoft struggled a lot with the same problems and they ended up with the current .NET release format with STS between every LTS, a new "big" version once a year. I am not sure if it applies at all to MudBlazor but having matching versions with the .NET framework would definitely help. Upgrading Mud from v6.x to v8.x when also migrating .NET from 6.x to 8.x just makes sense, since that's already what we do with most packages anyway. On the other hand, waiting a year to see one's PR be published just to "follow Microsoft" would be really annoying. I felt the weight of waiting for 2 of my PR for nearly two years before they are finally here with version 7 and it sucked, specially since one of them was my first or second PR ever in this project and it wasn't the best feeling. I do like having a "preview" version like right now. I'd love to always have a |
Beta Was this translation helpful? Give feedback.
-
We tried to do that but we ended up getting lots of merge conflicts and it just wasn't manageable. So instead we'd go from v7 to v8 and to v9 within maybe a couple of months to merge a couple of breaking change PRs instead of waiting a year. It would of course mean more migration cycles but every time only a small change-set compared to the big one in v7 that lumped together breaking changes that accumulated over two years. If the majority of the community would prefer that we'd also prefer it because waiting a long time for breaking changes seriously hampers innovation for the dev team. |
Beta Was this translation helpful? Give feedback.
-
Assuming there would still be updates in between these couple months of breaking change update, Isn't that the exact same thing (git wise) as having a "main" in preview and a separate "non-preview" branch ? After a couple of months you'd still need to do a merge if I understand correctly. The only difference is in my story there was a package offered in preview as opposed to hidden for a couple months. Feel free to slap me if I misunderstand! 😄 I doubt any answer will be perfect sadly. I was thinking if the PR merged in the "stable" version are actually just small bugfixes they shouldn't be too much of a pain to merge. At work we kind of see it as the opposite : It's always an annoying play of "on which branch do I start", which very often results in most PR going to the "dev", or doing a "git rebase" on the right one afterward, like "branch out dev, PR to dev. Rebase on previous stable, PR to that one". Still no perfect answer! |
Beta Was this translation helpful? Give feedback.
-
I for one am very excited by this release and look forwarded to testing it on our application once out of preview. I do plan on making the switch if there are no showstoppers. Much thanks for the amazing framework!!! Since MS upended the world with SSR (which has it's place), I do have a question. Will v7 have tweaks/changes that better support SSR? (IE, replacing some native C# interactive code with JS where it might make sense to do so? I know this goes against the initial vision of MudBlazor being as native as possible). |
Beta Was this translation helpful? Give feedback.
-
Thanks for your detailed reply and I completely understand. Retrofitting any Blazor apps/libraries to support SSR is tricky and feels limiting. In our app, the goal is to ensure that, when having a need for a SSR page, that the visual appearance matches the rest of our MudBlazor app. This, for the most part, already works as it should. Where I would like to see more support is perhaps on the basic form controls. I admittedly haven't spent much time with SSR yet, but I have found that many controls like buttons and text inputs work just fine. Others like checkboxes, radios, and selects, however, do not (again, there maybe workarounds I haven't explored yet). It's natural that highly interactive controls will not function, but perhaps focusing on the main form input controls so they work in SSR would be a laudable goal and a small enough surface area to be able to accomplish. (For example, like you have SimpleTable, you could have a SimpleSelect that uses a standard HTML select control that is styled correctly.) Dialogs would be next on my wish list for SSR (JS of course would be needed). I know there are likely workarounds and we can apply your CSS directly. Just some thoughts. I know the team is small and you have a lot of other priorities, but I'm hoping now that SSR is present, we'll see a lot of MVC developers move to Blazor and I am hoping that the excellent MudBlazor framework will benefit. :) |
Beta Was this translation helpful? Give feedback.
-
I will say one of the frustrating things about Blazor (in general) and this migration is the component parameters that have been removed or renamed don't show up as errors/warnings at compile time in VS. IE MudList Clickable="true" is no longer a valid parameter, but VS doesn't warn of this at compilation. It does, however, have different syntax color coding, so it "knows". You simply get exceptions at runtime. If anyone has a solution for this, please share. :) Perhaps there is a way to enable warnings for this? |
Beta Was this translation helpful? Give feedback.
-
Personally I love that all of this "cleanup" is happening. I use MudBlazor in my Job as well as my private projects and honestly prefer it over any commercial Blazor component library out there. I think I still wouldn't be able to write proper bUnit tests if I wasn't able to look at the tests from MudBlazor. I don't know if we will switch to v7 right away at work, but I will definitely do the switch ASAP for my private projects. I'm for frequent and smaller packs of breaking changes, as it is 1. less of a hassle to migrate and 2. IMO a huge motivation booster for the main contributors. My major gripe with MudBlazor since .Net8: SSR support I read the thread above and understand that the capacity for that is not there with the limited teamsize. I would like to contribute, but can't commit to doing every component that would be nice to have a "simple" SSR version of it. Is there a plan from the core team on how they would like to have this approached? |
Beta Was this translation helpful? Give feedback.
-
I completely agree. One has to balance compatibility with progress. Just have to be disciplined that when something is a breaking change, there is justification for it and it's not just a "preference/style" change. Having the ability to support items for a period of time with an obsolete flag is also great when possible, to help push people to change without breaking directly. Give yourselves and the community the freedom to innovate and evolve faster. :) No need to lock yourselves to past choices for years. With the simplicity of package management, one can stay with an older version when needed. |
Beta Was this translation helpful? Give feedback.
-
Hello, Here are my two cents, as a beginner with only one MudBlazor project (based on a previous FluentUI project). Breaking Changes: Do you agree with the proposed breaking changes? How do you think they will impact your current projects or workflow? Exciting Features: Are there any features in v7 that particularly excite you? What improvements or additions do you look forward to the most? Migration Plans: Do you plan to migrate to v7 once it's released? If so, what factors are influencing your decision? Future Breaking Changes: How do you think breaking changes should be handled in the future? Should we opt for occasional massive changes with long stable periods in between, or would you prefer smaller breaks occurring more frequently, making migrations easier but potentially disruptive? Wishlist: Is there anything specific you'd like to see included in v7? Whether it's new functionalities, enhancements, or improvements to existing features, your suggestions are highly valued. Regards, |
Beta Was this translation helpful? Give feedback.
-
I also would much prefer more frequent smaller breaking changes. It's much easier to upgrade bit by bit than all at once. |
Beta Was this translation helpful? Give feedback.
-
Personally, I love change and support it. For a project to grow, we must have a strong base standard, and we are doing this right now. The feature I want to see the most is that the form element will be SSR-Friendly. We need it to work on a simple auth page like login/register, then redirect to the Interactive page. We can try:
That's all I have. Feel free to correct me, as I don't work much with the front end, so CSS is not my field. |
Beta Was this translation helpful? Give feedback.
-
With |
Beta Was this translation helpful? Give feedback.
-
As I run through my conversion, I noticed that a "Title" property was added to MudButton. Would it make sense to add it to MudLink for consistency ("title" works fine)? |
Beta Was this translation helpful? Give feedback.
-
FYI: It looks like the "Placement" property was removed from MudRadioGroup (Preview 4). I didn't see this listed in the migration guide (apologies if I missed it). |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
shall we report other issues here or somewhere else? I mean about v7.0.0 |
Beta Was this translation helpful? Give feedback.
-
Dear Community,
We invite you to share your valuable insights and feedback regarding the ongoing development of v7.0.0. Your input is crucial in shaping the future direction of MudBlazor.
Please feel free to express your thoughts on various aspects such as the proposed breaking changes, features you're excited about, concerns you may have, and whether you plan to migrate to this version. Your feedback will help us gauge the community's sentiment and ensure that the upcoming release meets your expectations.
Here are some prompts to guide your feedback:
Breaking Changes: Do you agree with the proposed breaking changes? How do you think they will impact your current projects or workflow?
Exciting Features: Are there any features in v7 that particularly excite you? What improvements or additions do you look forward to the most?
Migration Plans: Do you plan to migrate to v7 once it's released? If so, what factors are influencing your decision?
Future Breaking Changes: How do you think breaking changes should be handled in the future? Should we opt for occasional massive changes with long stable periods in between, or would you prefer smaller breaks occurring more frequently, making migrations easier but potentially disruptive?
Wishlist: Is there anything specific you'd like to see included in v7? Whether it's new functionalities, enhancements, or improvements to existing features, your suggestions are highly valued.
Feel free to share any additional thoughts, questions, or concerns you may have. Your feedback plays a pivotal role in making MudBlazor better for everyone.
Thank you for being an integral part of our community.
Best regards,
MudBlazor Team
Beta Was this translation helpful? Give feedback.
All reactions