Skip to content

Dev -> Main v2.4.5 #1094

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

Merged
merged 59 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
caa36ff
Style Control CHanges
MenamAfzal Jul 25, 2024
3159fc0
Add line Height in Said Components
MenamAfzal Jul 25, 2024
0cf5abd
Improved Translations
MenamAfzal Jul 25, 2024
470afcb
initial code
MenamAfzal Jul 25, 2024
4c8dd4e
Push for debug
MenamAfzal Jul 26, 2024
fb4f140
Increasing Version Numbers to release new SDK and Lowcoder Comps
Jul 26, 2024
9b4dedd
Increasing Version Number to release new SDK
Jul 26, 2024
6a1b7cc
double click handled
MenamAfzal Jul 26, 2024
c5640ad
added lineHeight as css property
MenamAfzal Jul 27, 2024
0bc663b
lineHeight icon added in right panel
MenamAfzal Jul 27, 2024
7459f78
lineHeight icon added in right panel
MenamAfzal Jul 27, 2024
32dc4ec
pull from origin
MenamAfzal Jul 27, 2024
1db61e7
pull from origin
MenamAfzal Jul 27, 2024
52305fe
latest changes
MenamAfzal Jul 27, 2024
35088b8
margin right added
MenamAfzal Jul 27, 2024
4c316ea
Merge branch 'dev' into fix/table-styles
MenamAfzal Jul 27, 2024
8288a82
Updating Stripe and introducing Lowcoder API as Datasource
Jul 27, 2024
d267998
finnal tweaks
MenamAfzal Jul 29, 2024
d52ac6f
Merge branch 'dev' into add/doubleClick
MenamAfzal Jul 29, 2024
4ab618b
Merge branch 'dev' into fix/table-styles
raheeliftikhar5 Jul 29, 2024
1828fba
Merge pull request #1070 from MenamAfzal/add/doubleClick
raheeliftikhar5 Jul 29, 2024
ecc5c8d
Merge branch 'dev' into fix/table-styles
raheeliftikhar5 Jul 29, 2024
df4df7d
Merge pull request #1071 from MenamAfzal/fix/table-styles
raheeliftikhar5 Jul 29, 2024
f8f2872
added app header settings in advanced settings
raheeliftikhar5 Jul 29, 2024
3e4fa6f
Merge branch 'dev' into add/lineHeight
raheeliftikhar5 Jul 29, 2024
7e3b1a9
Merge pull request #1069 from MenamAfzal/add/lineHeight
raheeliftikhar5 Jul 29, 2024
75a9714
fix: javascript queries not executing on page load
raheeliftikhar5 Jul 29, 2024
476943c
Renaming of old Strapi Specs file
Jul 29, 2024
fb90fe3
remove Console Logs in Node Server
Jul 29, 2024
4140a71
table expansion issue resolved
MenamAfzal Jul 30, 2024
fab46dd
shadow issue resolved
MenamAfzal Jul 30, 2024
a4bf6a9
added horizontalGridCells property in inner-grid based comps
raheeliftikhar5 Jul 30, 2024
acb1cb1
Merge branch 'dev' into fix/table
raheeliftikhar5 Jul 30, 2024
0069cbc
Merge pull request #1076 from MenamAfzal/fix/table
raheeliftikhar5 Jul 30, 2024
3ef0e4f
increase debounce time for input changes to avoid jumping cursor
raheeliftikhar5 Jul 31, 2024
4cd85cc
added dropdown type column in table
raheeliftikhar5 Jul 31, 2024
a739e2e
added tooltip option for table header
raheeliftikhar5 Jul 31, 2024
7129ccf
line height removed from single liner input fields
MenamAfzal Aug 1, 2024
e76fd45
added column separator option for downloaded table's csv
raheeliftikhar5 Aug 1, 2024
2ef23dd
added column tooltip in table
raheeliftikhar5 Aug 1, 2024
4e21471
removed tooltip from column types and placed in abstract level for al…
raheeliftikhar5 Aug 2, 2024
1bf4a84
Merge pull request #1083 from lowcoder-org/table-column-tooltip
FalkWolsky Aug 2, 2024
a62f1f2
Merge pull request #1082 from MenamAfzal/remove/lineHeight
FalkWolsky Aug 3, 2024
dfd71b5
Supabase Management API as Data Source
Aug 3, 2024
1c3716c
Cleaning up Data Sources Display
Aug 3, 2024
6043e8f
Sorting Database and Big Data
Aug 3, 2024
78dd346
Fixing Table Column Display Selector & Naming
Aug 3, 2024
11f4073
Reorganized icons - old icons to v1 folder
Aug 3, 2024
ee70a49
Fixing iframely Tag
Aug 3, 2024
6e98446
Fixing iframely Tag for Componet Display
Aug 3, 2024
c7f2c54
fix table scroll behaviour
raheeliftikhar5 Aug 5, 2024
a8f49d0
added horizontal/vertical scrollbar switches
raheeliftikhar5 Aug 6, 2024
f3e96ac
remove commented code
raheeliftikhar5 Aug 6, 2024
575755d
fix select input styles not applying
raheeliftikhar5 Aug 6, 2024
72e7419
fix tree select input styles not applying
raheeliftikhar5 Aug 6, 2024
23149c6
Merge pull request #1093 from lowcoder-org/table-scrollbars
FalkWolsky Aug 6, 2024
1a887bb
Setting Version for 2.4.5 and renaming local storage namespace
Aug 6, 2024
0e04061
fixed table scrollbar issues
raheeliftikhar5 Aug 6, 2024
c000da1
Increasing Versions for v2.4.5
Aug 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion client/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.4
2.4.5
2 changes: 1 addition & 1 deletion client/packages/lowcoder-comps/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lowcoder-comps",
"version": "2.4.9",
"version": "2.4.11",
"type": "module",
"license": "MIT",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
hiddenPropertyView,
ChangeEventHandlerControl,
DragEventHandlerControl,
CalendarEventHandlerControl,
Section,
sectionNames,
dropdownControl,
Expand All @@ -45,7 +46,9 @@ import {
CalendarDeleteIcon,
Tooltip,
useMergeCompStyles,
} from "lowcoder-sdk";
EditorContext,
CompNameContext,
} from 'lowcoder-sdk';

import {
DefaultWithFreeViewOptions,
Expand Down Expand Up @@ -76,7 +79,7 @@ let childrenMap: any = {
resourcesEvents: jsonValueExposingStateControl("resourcesEvents", resourcesEventsDefaultData),
resources: jsonValueExposingStateControl("resources", resourcesDefaultData),
resourceName: withDefault(StringControl, trans("calendar.resourcesDefault")),
onEvent: ChangeEventHandlerControl,
onEvent: CalendarEventHandlerControl,
// onDropEvent: safeDragEventHandlerControl,
editable: withDefault(BoolControl, true),
showEventTime: withDefault(BoolControl, true),
Expand Down Expand Up @@ -120,6 +123,12 @@ let CalendarBasicComp = (function () {
currentFreeView?: string;
currentPremiumView?: string;
}, dispatch: any) => {

const comp = useContext(EditorContext).getUICompByName(
useContext(CompNameContext)
);
const onEventVal = comp?.toJsonValue().comp.onEvent;


const theme = useContext(ThemeContext);
const ref = createRef<HTMLDivElement>();
Expand Down Expand Up @@ -303,7 +312,12 @@ let CalendarBasicComp = (function () {
};
showModal(eventInfo, true);
} else {
showModal(editEvent.current, false);
if (onEventVal && onEventVal.some((e: any) => e.name === 'doubleClick')) {
// Check if 'doubleClick' is included in the array
props.onEvent('doubleClick');
} else {
showModal(editEvent.current as EventType, false);
}
}
};

Expand Down Expand Up @@ -433,7 +447,6 @@ let CalendarBasicComp = (function () {
props.onDropEvent("dropEvent");
}
};

return (
<Wrapper
ref={ref}
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-core/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,7 @@ var CodeNode = /** @class */ (function (_super) {
return;
}
// wait for lazy loaded comps to load before executing query on page load
if (!Object.keys(value).length) {
if (!Object.keys(value).length && paths.size) {
isFetching_1 = true;
ready_1 = false;
}
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-core/src/eval/codeNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class CodeNode extends AbstractNode<ValueAndMsg<unknown>> {
return;
}
// wait for lazy loaded comps to load before executing query on page load
if (!Object.keys(value).length) {
if (!Object.keys(value).length && paths.size) {
isFetching = true;
ready = false;
}
Expand Down
6 changes: 3 additions & 3 deletions client/packages/lowcoder-design/src/components/Collapase.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { default as AntdCollapse, CollapseProps } from "antd/es/collapse";
import { ReactComponent as UnFold } from "icons/icon-unfold.svg";
import { ReactComponent as Folded } from "icons/icon-folded.svg";
import { ReactComponent as Omit } from "icons/icon-omit.svg";
import { ReactComponent as UnFold } from "icons/v1/icon-unfold.svg";
import { ReactComponent as Folded } from "icons/v1/icon-folded.svg";
import { ReactComponent as Omit } from "icons/v1/icon-omit.svg";
import styled, { css } from "styled-components";
import React, { ReactNode } from "react";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ButtonProps } from "antd/es/button";
import { default as AntdModal, ModalFuncProps, ModalProps as AntdModalProps } from "antd/es/modal";
import { ReactComponent as PackUpIcon } from "icons/icon-Pack-up.svg";
import { ReactComponent as PackUpIcon } from "icons/v1/icon-Pack-up.svg";
import React, { ReactNode, useState } from "react";
import styled from "styled-components";
import { TacoButtonType, TacoButton } from "components/button";
Expand Down
4 changes: 2 additions & 2 deletions client/packages/lowcoder-design/src/components/Menu.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { default as AntdMenu, MenuProps, SubMenuProps } from "antd/es/menu";
import { NormalMenuIconColor, TabActiveColor } from "constants/style";
import { ReactComponent as AddIcon } from "icons/icon-add.svg";
import { ReactComponent as RecycleBinIcon } from "icons/icon-recycle-bin.svg";
import { ReactComponent as AddIcon } from "icons/v1/icon-add.svg";
import { ReactComponent as RecycleBinIcon } from "icons/v1/icon-recycle-bin.svg";
import styled from "styled-components";

const MenuItemWrapper = styled.div`
Expand Down
18 changes: 17 additions & 1 deletion client/packages/lowcoder-design/src/components/ScrollBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ interface IProps {
};
$hideplaceholder?: boolean;
hideScrollbar?: boolean;
prefixNode?: React.ReactNode;
suffixNode?: React.ReactNode;
}

export const ScrollBar = ({
Expand All @@ -65,6 +67,8 @@ export const ScrollBar = ({
scrollableNodeProps,
hideScrollbar = false,
$hideplaceholder = false,
prefixNode,
suffixNode,
...otherProps
}: IProps) => {
const height = style?.height ?? '100%';
Expand All @@ -73,12 +77,24 @@ export const ScrollBar = ({

return hideScrollbar ? (
<ScrollBarWrapper className={className}>
{prefixNode}
{children}
{suffixNode}
</ScrollBarWrapper>
) : (
<ScrollBarWrapper className={className}>
<SimpleBar style={combinedStyle} scrollableNodeProps={scrollableNodeProps} {...otherProps}>
{children}
{({ scrollableNodeProps, contentNodeProps }) => {
return (
<div {...scrollableNodeProps as any}>
{prefixNode}
<div {...contentNodeProps as any}>
{children}
</div>
{suffixNode}
</div>
);
}}
</SimpleBar>
</ScrollBarWrapper>
);
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-design/src/components/Search.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled from "styled-components";
import { default as Input, InputProps } from "antd/es/input";
import { ReactComponent as Icon } from "icons/icon-Search.svg";
import { ReactComponent as Icon } from "icons/v1/icon-Search.svg";
import React, { CSSProperties } from "react";

const SearchInput = styled(Input)`
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-design/src/components/Section.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { trans } from "i18n/design";
import React, { ReactNode, useContext } from "react";
import styled from "styled-components";
import { ReactComponent as Packup } from "icons/icon-Pack-up.svg";
import { ReactComponent as Packup } from "icons/v1/icon-Pack-up.svg";
import { labelCss } from "./Label";
import { controlItem, ControlNode } from "./control";
import { Tooltip } from "./toolTip";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from "styled-components";
import { ReactComponent as close } from "icons/icon-flokclose.svg";
import { ReactComponent as close } from "icons/v1/icon-flokclose.svg";
import { ScrollBar } from "../components/ScrollBar";

const Container = styled.div<{ $width: number }>`
Expand Down
4 changes: 2 additions & 2 deletions client/packages/lowcoder-design/src/components/Switch.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from "react";
import { ReactNode } from "react";
import styled, { css } from "styled-components";
import { ReactComponent as jsIcon } from "icons/icon-Js-colors.svg";
import { ReactComponent as jsIconGray } from "icons/icon-Js-Gray.svg";
import { ReactComponent as jsIcon } from "icons/v1/icon-Js-colors.svg";
import { ReactComponent as jsIconGray } from "icons/v1/icon-Js-Gray.svg";
import { ToolTipLabel } from "components/toolTip";

type ControlPlacement = "bottom" | "right" | "modal";
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-design/src/components/Trees.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled, { css } from "styled-components";
import { ReactComponent as Folded } from "icons/icon-folded.svg";
import { ReactComponent as Folded } from "icons/v1/icon-folded.svg";
import { DataNode, TreeProps } from "antd/es/tree";
import DirectoryTree from "antd/es/tree/DirectoryTree";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { trans } from "i18n/design";
import { ReactNode } from "react";
import styled from "styled-components";
import { ReactComponent as ContainerDrag } from "icons/icon-container-drag.svg";
import { ReactComponent as ContainerDrag } from "icons/v1/icon-container-drag.svg";

type ContainerPlaceholderProps = {
children?: ReactNode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import copy from "copy-to-clipboard";
import styled from "styled-components";
import { ReactComponent as Dcopy } from "icons/icon-copy.svg";
import { ReactComponent as Dcopy } from "icons/v1/icon-copy.svg";
import { trans } from "i18n/design";
import { CSSProperties } from "react";
import { messageInstance } from "./GlobalInstances";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { default as AntdSelect, SelectProps as AntdSelectProps } from "antd/es/select";
import { ReactComponent as PackUpIcon } from "icons/icon-Pack-up.svg";
import { ReactComponent as PackUpIcon } from "icons/v1/icon-Pack-up.svg";
import styled from "styled-components";
import React from "react";

Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-design/src/components/edit.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from "styled-components";
import { ReactComponent as Edit } from "icons/icon-text-edit.svg";
import { ReactComponent as Edit } from "icons/v1/icon-text-edit.svg";
import { CSSProperties, ReactNode, useEffect, useRef, useState } from "react";
import { Input } from "../components/Input";
import { InputProps, InputRef } from "antd/es/input";
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-design/src/components/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { CustomSelect } from "./customSelect";
import { EllipsisTextCss, labelCss } from "./Label";
import { ToolTipLabel } from "./toolTip";
import styled from "styled-components";
import { ReactComponent as Star } from "icons/icon-star.svg";
import { ReactComponent as Star } from "icons/v1/icon-star.svg";
import _ from "lodash";
import { KeyValueList } from "./keyValueList";
import { OptionsType, ValueFromOption } from "./Dropdown";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from "styled-components";
import { ReactComponent as Bin } from "icons/icon-recycle-bin.svg";
import { ReactComponent as Bin } from "icons/v1/icon-recycle-bin.svg";
import { TacoButton } from "./button";
import { ReactNode } from "react";
import { BluePlusIcon } from "icons";
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-design/src/components/option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import React, { useState } from "react";
import { CSS } from "@dnd-kit/utilities";
import { SortableContext, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
import { ConstructorToComp, MultiCompConstructor } from "lowcoder-core";
import { ReactComponent as WarnIcon } from "icons/icon-warning-white.svg";
import { ReactComponent as WarnIcon } from "icons/v1/icon-warning-white.svg";
import { DndContext } from "@dnd-kit/core";
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
import { ActiveTextColor, GreyTextColor } from "constants/style";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { default as AntdInput, InputRef } from "antd/es/input";
import { ReactComponent as MustFillStar } from "icons/icon-must-fill-star.svg";
import { ReactComponent as MustFillStar } from "icons/v1/icon-must-fill-star.svg";
import { trans } from "i18n/design";
import { CSSProperties, Ref, useEffect, useRef, useState } from "react";
import styled, { css } from "styled-components";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { default as Pagination, PaginationProps } from "antd/es/pagination";
import styled, { css } from "styled-components";
import { ReactComponent as PackUpIcon } from "icons/icon-Pack-up.svg";
import { ReactComponent as PackUpIcon } from "icons/v1/icon-Pack-up.svg";

const packUpIconCss = css`
height: 24px;
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder-design/src/components/toolTip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { default as AntdTooltip, TooltipProps } from "antd/es/tooltip";
import { CSSProperties, ReactNode } from "react";
import styled, { css } from "styled-components";
import { labelCss } from "components/Label";
import { ReactComponent as CloseIcon } from "icons/icon-close.svg";
import { ReactComponent as CloseIcon } from "icons/v1/icon-close.svg";
import { TooltipRenderProps } from "react-joyride";
import { trans } from "i18n/design";

Expand Down
Loading
Loading