Skip to content

Commit 4f90aa0

Browse files
committed
Prepare for release 0.2.14
1 parent afc624c commit 4f90aa0

11 files changed

Lines changed: 2116 additions & 1729 deletions

File tree

docs/build.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ def read_cls_docstring(cls):
3939

4040
def get_versions():
4141
return [
42+
{
43+
"version": "0.2.14",
44+
"changes": [
45+
"Make permissions functions awaitable. Bump frontend/backend packages.",
46+
],
47+
},
4248
{
4349
"version": "0.2.13",
4450
"changes": [
@@ -54,7 +60,7 @@ def get_versions():
5460
{
5561
"version": "0.2.11",
5662
"changes": [
57-
"Fixes for examples. Fixes for Pony ORM (delete, update m2m). Allow sorting by custoim columns. Fix for list_display ordering.",
63+
"Fixes for examples. Fixes for Pony ORM (delete, update m2m). Allow sorting by custom columns. Fix for list_display ordering.",
5864
],
5965
},
6066
{

docs/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

fastadmin/static/assets/worker-D3TWcJOI.js

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fastadmin/static/index.min.js

Lines changed: 344 additions & 235 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/containers/list/index.tsx

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -244,36 +244,32 @@ export const List: React.FC = () => {
244244
</Row>
245245
}
246246
bottomActions={
247-
<>
248-
{(modelConfiguration?.actions || []).length > 0 &&
249-
modelConfiguration?.actions_on_bottom && (
250-
<div style={{ marginTop: isMobile ? 10 : -50 }}>
251-
<Select
252-
placeholder={_t("Select Action By") as string}
253-
allowClear={true}
254-
value={action}
255-
onChange={setAction}
256-
style={{ width: 200 }}
257-
>
258-
{(modelConfiguration?.actions || []).map(
259-
(a: IModelAction) => (
260-
<Select.Option key={a.name} value={a.name}>
261-
{a.description || a.name}
262-
</Select.Option>
263-
),
264-
)}
265-
</Select>
266-
<Button
267-
disabled={!action || selectedRowKeys.length === 0}
268-
style={{ marginLeft: 5 }}
269-
loading={isLoadingAction}
270-
onClick={onApplyAction}
271-
>
272-
{_t("Apply")}
273-
</Button>
274-
</div>
275-
)}
276-
</>
247+
(modelConfiguration?.actions || []).length > 0 &&
248+
modelConfiguration?.actions_on_bottom && (
249+
<div style={{ marginTop: isMobile ? 10 : -50 }}>
250+
<Select
251+
placeholder={_t("Select Action By") as string}
252+
allowClear={true}
253+
value={action}
254+
onChange={setAction}
255+
style={{ width: 200 }}
256+
>
257+
{(modelConfiguration?.actions || []).map((a: IModelAction) => (
258+
<Select.Option key={a.name} value={a.name}>
259+
{a.description || a.name}
260+
</Select.Option>
261+
))}
262+
</Select>
263+
<Button
264+
disabled={!action || selectedRowKeys.length === 0}
265+
style={{ marginLeft: 5 }}
266+
loading={isLoadingAction}
267+
onClick={onApplyAction}
268+
>
269+
{_t("Apply")}
270+
</Button>
271+
</div>
272+
)
277273
}
278274
>
279275
{modelConfiguration ? (

frontend/src/index.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
body {
22
margin: 0;
3-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
4-
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
3+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
4+
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
5+
sans-serif;
56
-webkit-font-smoothing: antialiased;
67
-moz-osx-font-smoothing: grayscale;
78
}
89

910
code {
10-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
11+
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
12+
monospace;
1113
}
1214

1315
.table-row-selected {

frontend/src/providers/ConfigurationProvider/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable react-refresh/only-export-components */
2+
13
import { useQuery } from "@tanstack/react-query";
24
import { Button, Popover, Result } from "antd";
35
import React from "react";

frontend/src/providers/SignInUserProvider/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable react-refresh/only-export-components */
2+
13
import { useQuery } from "@tanstack/react-query";
24
import React from "react";
35

0 commit comments

Comments
 (0)