-
Notifications
You must be signed in to change notification settings - Fork 44
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
[IMP] Function: add hidden
tag to hide functions
#1928
Conversation
fa607cf
to
419e93c
Compare
aab15ca
to
90e1dae
Compare
90e1dae
to
ee4dbe6
Compare
This commit adds the tag `hidden` to hide some functions to users, so users will not have the chance to see their existences. task 3102309
ee4dbe6
to
53be688
Compare
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.
LGTM
(I applied my comment)
Side note about commit messages: the line length shouldn't be above ~80 characters 😉
robodoo r+
src/types/functions.ts
Outdated
} | ||
|
||
export interface FunctionDescription extends AddFunctionDescription { | ||
minArgRequired: number; | ||
maxArgPossible: number; | ||
nbrArgRepeating: number; | ||
getArgToFocus: (argPosition: number) => number; | ||
hidden?: boolean; |
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.
not useful since it extends AddFunctionDescription
which has the same property definition
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. Task: 3810284
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. closes #3842 Task: 3810284 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. Task: 3810284 X-original-commit: f883740
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. Task: 3810284 X-original-commit: f883740
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. Task: 3810284 X-original-commit: f883740
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. closes #3872 Task: 3810284 X-original-commit: f883740 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. closes #3877 Task: 3810284 X-original-commit: f883740 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. closes #3875 Task: 3810284 X-original-commit: f883740 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. Task: 3810284 X-original-commit: f883740
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. closes #3878 Task: 3810284 X-original-commit: f883740 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. Task: 3810284 X-original-commit: 4894703
The introduction of the `hidden` tag of functions in pr #1928 did not account for the `insert function` menu of the top bar that was developped at the same time. This revision ensures that the functions marked as `hidden` do not appear in the top bar menu, similarly to their behaviour in the composer formula autocomplete assistant. closes #3885 Task: 3810284 X-original-commit: 4894703 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
Description:
This PR adds the tag
hidden
to hide some functions to users, so users will not have the chance to see their existences.Odoo task ID : 3102309
review checklist