You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/28 02:32:32 UTC
[GitHub] [apisix-dashboard] yangxikun opened a new issue #2150: support custom plugins type
yangxikun opened a new issue #2150:
URL: https://github.com/apache/apisix-dashboard/issues/2150
# Feature request
## Please describe your feature
We can define `type` in APISIX plugins:
```lua
local _M = {
version = 0.1,
priority = 37, -- lx-rate-limit 之后执行
type = "traffic",
name = plugin_name,
schema = schema,
}
```
But the `type` not used by dashboard frontend:

## Describe the solution you'd like
```ts
const typedData = data.data.map((item) => ({
...item,
type: PLUGIN_LIST[item.name]?.type || item.type ?? 'other',
hidden: PLUGIN_LIST[item.name]?.hidden || false,
}));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] github-actions[bot] closed issue #2150: support custom plugins type
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #2150:
URL: https://github.com/apache/apisix-dashboard/issues/2150
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] github-actions[bot] commented on issue #2150: support custom plugins type
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2150:
URL: https://github.com/apache/apisix-dashboard/issues/2150#issuecomment-981481639
This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] github-actions[bot] commented on issue #2150: support custom plugins type
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2150:
URL: https://github.com/apache/apisix-dashboard/issues/2150#issuecomment-993379670
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org