-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Interface IRouteMeta define API for RoutingPanel. #114
base: master
Are you sure you want to change the base?
Conversation
src/Application/IRouteMeta.php
Outdated
* Return route mask. | ||
* @return string | ||
*/ | ||
public function getMask(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nette doesn't use visibility in interfaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, fixed.
I don't like the name, it sounds like an abbreviation. :/ |
@Majkl578 What do you suggest? I named in issue as IRouteBar. What do you think about IRouteInfo, IRouteMask, IRouteMaskBar, IRoutingPanelRoute? |
Generally good idea but the issue is much more complex. |
20a93ca
to
08cbdeb
Compare
@JanTvrdik Let's describe it. |
You need to consider custom routers (which can do pretty much anything) as well. Some custom routers may be just wrappers of another routers, some do complex logic. The entire interface of routing bar may need to be redesigned to be able to clearly display advanced router configurations. For start it needs to support tree of routers, not a list. |
@JanTvrdik You are true, but I think this is good step forward. |
2c1ae3b
to
b42b3fe
Compare
8e388e3
to
aca6b40
Compare
88ef0bd
to
b7df270
Compare
3187c71
to
1eeffdf
Compare
8e1f517
to
2f545e6
Compare
Issue #113