Rethinking the Auth
panel
#2
Replies: 8 comments 13 replies
-
Another thing to think about is how Events would be thought about as different to Actions in a regular user's mind. Since Events would be "if this, then that" the second part is usually considered to be the action especially when you compare to NoCode tools like Zapier. Does this then require further thought as to what an Action is too I wonder? Either way, I think it is very important to not confuse the user by making it very clear what those differences are. In terms of whether introducing the concept of Events is a good idea or not for Wized's audience, my personal opinion is that it will work as long as the UI/UX is simple and the lessons around their use are clear and accessible. I always defer to Webflow University at this point to make my point as many people approach Webflow with fear as the tools and panels can be intimidating but once the new user has done a few videos from the university, that fear starts to subside. I think Wized is doing a similar thing to Webflow here and that is to help people to utilise the true power of code without (too much) coding so to this end, perhaps Wized should not shy away from the features that will make it the powerful tool we all need it to be just like Webflow "went for it" by covering a huge amount of HTML and CSS in its features. The difference is that we are moving into the territory of LowCode with this move in Wized which isn't a bad thing, but it needs to be done with the NoCoder AND Web Designer in mind. Your idea of premade requests (and premade events even) would be a big tick in the box on this point i.e. writing a piece of code, however small, from scratch is going to feel 10x harder than using a snippet that you can adapt. Having a library of the most common requests & events would not only speed things up but would help with alleviating any cognitive load for the user whereby creating code from scratch is not in their comfort zone. I wonder if even having the scaffold in the premade requests would suffice? You mention these, for example, and each could be a starting point in which the user fills-in the dynamic values:
Not to be silly but add an AI assistant to the mix and the user + AI could create these requests and events easily together! Those are my immediate thoughts. I hope they make sense! |
Beta Was this translation helpful? Give feedback.
-
My first thought is that while no-code users don't understand programming in a lexical sense, they can be just as capable at understanding concepts of logic with the right educational resources at their disposal and we should always assume that they're capable. I think these are great ideas. As a more technically minded designer, I haven't used Wized much because of its restrictions like these. I do wonder if something along the lines of a snippet library like Xano has could a) be a solution for concerns about widening the learning field too far and b) a great way to put some effort and work into the hands of the community that love the product. And lastly, the UI could really lend a hand in user comprehension if it had some visual indicators and tools to help - think flow charts that help hem to build the request that essentially represents the flow of data from action to action. That's a low-level example, but if I were a new user looking at only a narrow panel of words that I don't yet quite understand, I might turn tail and run to something that I, as maybe a visual learning, could understand more easily. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Firstly, I believe that this idea of RFCs is truly excellent, as it allows Wized users to be more engaged in the thought process of where the product is heading. The primary objective is to deliver the utmost value to users. Also, i think doing one-on-one interviews with beginners, intermediates, and professional Wized developers could also be a good idea. This can also serve as a test to determine if, for instance, the first downside is too technical (this, of course, would be a consideration for a later stage). This could also be a Friday technical stream. An open call to discuss these kind of stuff. I think together we can give you some fresh and clear ideas. You are weeks/months in the development of this, maybe this helps to zoom out sometimes and see it form other perspectives. (I don't know if this is the case/needed but it is just an honest thought). Personally, I don't think you need to restrict the product's capabilities for the sake of simplicity (downside 1). At times, it may be challenging for novices or even for those attempting to teach others. However, web app development is generally not an "easy" endeavor. I'm strongly in favor of the idea of incorporating Events, as it provides us with significantly increased flexibility. Currently, we can initiate requests when a condition is met, but why not extend this ability to perform actions when conditions are met? It might be worthwhile to explore the actions tab. At present, we can only select attributes. Imagine if we could also choose variables in the actions tab, and execute the action if a specific condition is met. Combining Actions and Events to offer more flexibility in the actions tab seems like a fantastic idea, enabling more operations when conditions are met. So no events tab, only an actions tab. This will already make it a lot easier to understand for beginner users. Perhaps it would be beneficial to establish separate technical levels, such as a lite version and a pro version (this, of course, would be for later), as seen in numerous other tools. When people onboard, they could select their technical level, and the product could be adjusted to fit their technical abilities. The pro version would have no limits, could participate in beta testing, wouldn't have pre-made components, and wouldn't display tutorial videos in their UI. On the contrary, the lite version would offer exactly the opposite of this, catering to those who are still developing their skills. Would love to hear your thoughts and other people's thoughts on combining Events and Actions in to one Action tab. |
Beta Was this translation helpful? Give feedback.
-
@theflowagency @wadecreative @FerdiBoxman After your comments, I think that the idea to combine this Events panel idea together with the Action panel makes total sense. With a simple additional How do you feel about this? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Today, I was working with the Webflow CMS, applying 'wized' attributes to each CMS item, each with a dynamic value originating from the CMS itself. The values would typically follow this pattern: For example, wized="cars_car1" ... and so on. After setting these attributes, I would then manually add all the attributes to Wized. However, this process becomes quite tedious as my clients add more content to the CMS, because this means that I have to go back to Wized and add more attributes to the triggers. It occurred to me that it would be quite beneficial to enhance the event trigger system, especially the trigger type related to attributes, by introducing "Attribute Logic". Right now, we have to manually add each attribute. But, what if we could introduce some logic that could automate this task? The logic could be based on a rule such as: Trigger an event for every attribute that contains, starts with, or ends with a specific value. For instance, attribute.startsWith("cars_") would trigger an event for any attribute that starts with "cars_". This enhancement could significantly streamline the process, making it much less labor-intensive than the current manual method. |
Beta Was this translation helpful? Give feedback.
-
Hello all! |
Beta Was this translation helpful? Give feedback.
-
Closing this as it was already shipped. |
Beta Was this translation helpful? Give feedback.
-
Update
After your great comments, I've drafted a new iteration in this comment, where we combine the proposed Events panel into the existing Actions panel.
The context
Currently the
Auth
panel in the Wized Configurator has two purposes:The most important functionality out of the two is nº 1: creating Access Controls as it allows users to protect pages based on their own conditions (user hasn't logged in, user is not an admin, etc...).
The second functionality, the premade requests, is just some helpers that advanced users don't seem to use much, once you get the drill of how requests work in Wized you can build them yourself in a matter of seconds.
We'll talk about the premade requests later, first I want to focus on rethinking Access Controls.
In Embed 1.0 users can create them by:
true
the users are allowed to stay on the page.In Embed 2.0 we decided to enhance Access Controls with a new
Variable condition
trigger, which works very similar to theVariable condition
trigger for requests:Users define a custom Condition function. This Condition function is evaluated when the page starts loading and then is re-evaluated any time that its dependencies change.
This has one big benefit: as opposite to the
Attribute present
trigger, withVariable condition
we don't need to wait until theDOMContentLoaded
event has fired to check if the Attribute is in the current page. Instead, we can just run the Condition function as soon as possible which greatly improves speed and UX.The idea
Ok great, so far this seems to be a nice improvement. But I think we can do even better. I think we have the chance to improve the platform even more with just a few tweaks.
If we take a step back and analyze what Access Controls actually are, you'll realize they are just callbacks that run under a specific condition:
Which is just a fancy way of describing how Events work in JavaScript.
So this got me wondering, why don't we just expand this and allow users to do anything after an Event, not just redirect the user.
We already support events to trigger element-specific Actions (
On click
,On change
, etc...) and events to trigger Requests.What we don't support is global events, not entirely at least. Access Controls partially implements it, but by removing some constraints we could allow users to do much, much more:
Essentially:
The proposal
I propose repurposing the
Auth
panel into a newEvents
panel (or any similar name).It would work very similar to the other panels: users could create/update/delete Events, sort them and classify them into folders:
(This is just some quick UI draft)
The amount of available events and actions could be expanded over time, always trying to find a balance between giving more flexibility to the user while not overwhelming them with too much options.
The downsides
I can think of two immediate downsides:
More technical concepts to teach to users. The more flexible and extensible we make the platform, the more we might be increasing the learning curve.
With Access Controls it is pretty straightforward to implement a gated page.
With Events, we might have to teach users about the concept and how to make the most out of it.
Multiple ways of doing the same thing. Requests can already be dynamically triggered when a condition is met. With Events, you'd also be able to the same. Is this a bad thing or a good thing? I am not sure, honestly.
What else? I'm sure we can be picky.
What about the premade auth requests?
Let's not forget that in the current
Auth
panel users can access premade auth requests like "Login user" and "Logout user":I think that we can find a different place where to put those. Or maybe even get rid of them if we find out users don't use them at all.
One potential place to locate them is inside the Requests panel.
While creating a new Request, the Request Summary panel is completely empty until the Request is successfully created and saved:
I think we could use that empty space to display pre-made requests and other suggestions.
Beta Was this translation helpful? Give feedback.
All reactions