Workspace取消勾选测试版

This commit is contained in:
jingrow 2025-10-09 20:11:07 +08:00
parent 39de02f08d
commit 7fe00c71bc
3 changed files with 5 additions and 23 deletions

View File

@ -2,9 +2,7 @@
"actions": [],
"allow_rename": 1,
"autoname": "field:label",
"beta": 1,
"creation": "2020-01-23 13:45:59.470592",
"pagetype": "PageType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
@ -219,12 +217,13 @@
],
"in_create": 1,
"links": [],
"modified": "2024-05-30 17:30:36.791171",
"modified": "2025-10-09 20:09:54.853235",
"modified_by": "Administrator",
"module": "Desk",
"name": "Workspace",
"naming_rule": "By fieldname",
"owner": "Administrator",
"pagetype": "PageType",
"permissions": [
{
"create": 1,
@ -251,8 +250,9 @@
"write": 1
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}
}

View File

@ -35,20 +35,7 @@ class Workspace(Page):
custom_blocks: DF.Table[WorkspaceCustomBlock]
for_user: DF.Data | None
hide_custom: DF.Check
indicator_color: DF.Literal[
"green",
"cyan",
"blue",
"orange",
"yellow",
"gray",
"grey",
"red",
"pink",
"darkgrey",
"purple",
"light-blue",
]
indicator_color: DF.Literal["green", "cyan", "blue", "orange", "yellow", "gray", "grey", "red", "pink", "darkgrey", "purple", "light-blue"]
is_hidden: DF.Check
label: DF.Data
links: DF.Table[WorkspaceLink]
@ -62,7 +49,6 @@ class Workspace(Page):
sequence_id: DF.Float
shortcuts: DF.Table[WorkspaceShortcut]
title: DF.Data
# end: auto-generated types
def validate(self):
self.title = strip_html(self.title)

View File

@ -21,10 +21,6 @@
{% if frm.meta.beta %}
<div class="sidebar-menu">
<p><label class="indicator-pill yellow" title="{{ __("This feature is brand new and still experimental") }}">{{ __("Experimental") }}</label></p>
<p><a class="small text-muted" href="http://git.jingrow.com/jingrow/{{ jingrow.boot.module_app[jingrow.scrub(frm.meta.module)] }}/issues/new"
target="_blank">
{{ __("Click here to post bugs and suggestions") }}</a></p>
</div>
{% endif %}
<ul class="list-unstyled sidebar-menu sidebar-rating hide">