-
Notifications
You must be signed in to change notification settings - Fork 841
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
[Feature] SE View Only #168
Comments
Hi,
I'm open to discuss that, but I think it would be a better approach to write and publish a standalone SE library on top of Mosby. I would be more than happy to share the link to such a extension module library in the README. See https://github.com/Bodo1981/appkit What do you think? By the way: In my experience you need 3 states i.e. for login: 1. Show login input form. 2. Show loading (Sending) 3. Show Error ( and optionally 4. Show successful) |
Sure, no problem. About the states, I agree 100%, that' how I do on my side. And I'd give a +1 for the step 4, show successful callback. Thanks for taking your time and I really appreciate all the work and effort you put on your project dude ! |
Hey @sockeqwe, how is it going ? See what your toughts are on that ! |
Sorry, I am a little bit busy right now, I will take a detailed look during the weekend... Indeed, there are discussions going on to remove LCE from this project (or at least package it into is own artifacts) #148 and I think if I would rewrite this project from scratch I wouldn't add LCE into this project. Usually, some other Mosby users give their feedback here on github on some project related decisions. I think we should wait some more days, maybe we get some more opinions about that, and then we make a final decision. I'm open to discuss that with the community and you are part of the community!
I'm not really talking about writing a whole big library like appkit, I'm just saying that instead of putting all you code into Mosby directly, we could simple publish those classes as its own artifact (with having a dependency to Mosby). Does that all makes sense for you? |
Sure, no problem ! Thanks for your time, I'll wait for some other feedback ;) |
We are using mosby in several projects and in each of them we have different requirements for LCE views which happen to differ a bit from each other. And also from Mosby's default implementation of LCE. The concept is there, but I discovered that it is sometimes easier to create my own implementation of LCE stuff than to try to customize mosby's and to apply workarounds for functionality it does a little bit differently. For example mosby has the concept of So I feel that it would be a correct move - to separate this into a different artifact which would provide this functionality for the projects that can use it right away. And other implementations can use that for a reference and inspiration also :) |
I also use multiple variations of LCE for different cases and some are the Mosby provided implementation. To the same end I have two implementations around forms as well. I'm onboard with moving LCE and adding other things like SE to a separate module, that makes the most sense to me. |
I kinda stopped developing this features waiting for a feedback from you guys... |
I think we can add this but in a separate module in Mosby 3.0 . Still not sure about the naming... |
@sockeqwe Thanks for the feedback ! |
Regarding naming: Content Loading Error Success (CLES) ? Doesn't sound that nice in my ears but nothing better came into my mind until now ... not sure ... |
@sockeqwe Hmm, I'm not sure about that, IMO, it doesn't seem like a "natural" name to refer to Form views. Maybe using send or something else to make it clearer ? Something like Send Loading Error Success (SLER) or Form Loading Error Success (FLES) ?? |
What do you think about having a SE(send-error) View/Presenter only ?
That would be useful on Form Scenarios, like logging in, saving data etc.
I'm already implementing it on my app, if you think that would be cool, I can drop a PR !
The text was updated successfully, but these errors were encountered: