Skip to content

Dev -> Main - v2.3.1 Fix #737

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 49 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
bc9d45c
Merge branch 'dev' of https://github.com/lowcoder-org/lowcoder into dev
freddysundowner Feb 19, 2024
c60dcce
Merge branch 'dev' of https://github.com/lowcoder-org/lowcoder into dev
freddysundowner Feb 21, 2024
ebfbdfd
added licence key data field
freddysundowner Feb 22, 2024
e7014bb
Merge branch 'dev' of https://github.com/lowcoder-org/lowcoder into c…
freddysundowner Feb 23, 2024
df156a5
fixed access of licence in the full calendar
freddysundowner Feb 23, 2024
0e95abd
fixed bug on licence key input filled
freddysundowner Feb 23, 2024
a1918e5
"add premium and free calendar options drop down"
freddysundowner Feb 26, 2024
4b86584
removed hand coded licence key
freddysundowner Feb 26, 2024
50f87fc
Mention component height issue fix, checkbox component hover backgrou…
imtananikhwa Feb 26, 2024
658e299
Add logs for debugging
aq-ikhwa-tech Feb 27, 2024
4890116
fix for comps hide on adding to modal/drawer
raheeliftikhar5 Feb 27, 2024
6b8a497
Fixes and introduction of text-decoration and text transform property…
imtananikhwa Feb 27, 2024
f501802
CSS styles and propeties added to tabbed container while ensuring the…
imtananikhwa Feb 27, 2024
2c80045
CSS properties and their control added for segment control
imtananikhwa Feb 27, 2024
8e9ab45
Toasts Notification & Loading Mesages
sudoischenny Feb 27, 2024
36ccf9a
Merge branch 'lowcoder-org:main' into main
sudoischenny Feb 27, 2024
683179c
Update Toasts Image
sudoischenny Feb 27, 2024
3708c30
Added toast.destroy()
sudoischenny Feb 27, 2024
791cff1
Toast Dismiss
sudoischenny Feb 27, 2024
9857111
Add migration to fix existing application public view bug
aq-ikhwa-tech Feb 28, 2024
e5bbd35
Remove unnecessary logs
aq-ikhwa-tech Feb 28, 2024
a85f478
fixed styledcomponent warning in drawerComp
raheeliftikhar5 Feb 28, 2024
08b675a
added app meta fields
raheeliftikhar5 Feb 28, 2024
27d870d
Merge pull request #1 from lowcoder-org/dev
sudoischenny Feb 28, 2024
220c0cc
Merge branch 'lowcoder-org:main' into main
sudoischenny Feb 28, 2024
f30fdf2
TS issue fixed
imtananikhwa Feb 28, 2024
6e81667
Tab container type removal, due to compiler error
imtananikhwa Feb 28, 2024
a6be0ab
Merge pull request #718 from lowcoder-org/add-logs-to-debug-api-stats…
FalkWolsky Feb 28, 2024
2f7487b
Merge branch 'dev' into imtanan-task1
FalkWolsky Feb 28, 2024
b395356
Merge pull request #719 from imtananikhwa/imtanan-task1
FalkWolsky Feb 28, 2024
56d2086
Merge branch 'dev' into main
FalkWolsky Feb 28, 2024
eb3854b
Merge pull request #721 from sudoischenny/main
FalkWolsky Feb 28, 2024
8d6bf63
Merge branch 'dev' into fix_modal_comps_invisible
FalkWolsky Feb 28, 2024
5e5f73c
Merge pull request #724 from raheeliftikhar5/fix_modal_comps_invisible
FalkWolsky Feb 28, 2024
fa20094
Merge branch 'dev' into app_meta_field
FalkWolsky Feb 28, 2024
e379627
Merge pull request #725 from raheeliftikhar5/app_meta_field
FalkWolsky Feb 28, 2024
b6e1e2c
Added Comments to Marketplace Use
Feb 29, 2024
877f9f5
Add Support as App Category
Feb 29, 2024
4f58b96
Adding Admin Area Icons
Mar 1, 2024
1c44f3a
Changing Readme for latest ENV Variables
Mar 1, 2024
c96bb7e
Rounding Up Marketplace and Multi-Icon Component
Mar 3, 2024
cc5333c
Added comments based on common discussion
Feb 29, 2024
120fbc9
fix: sorted out application view rights for all cases
ludomikula Feb 29, 2024
de03572
fix: update location of marketplace app settings
ludomikula Mar 1, 2024
d5c9c32
fix: for now, allow to view non-published apps for logged in users
ludomikula Mar 1, 2024
35472c0
Adding mn height for App Cards in Marketplace
Mar 4, 2024
73ea344
Merge branch 'dev' into calendar-licenc-key
FalkWolsky Mar 4, 2024
3452d4b
Merge pull request #736 from lowcoder-org/calendar-licenc-key
FalkWolsky Mar 4, 2024
f31c4f9
Increase Lowcoder Comps Version
Mar 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding Admin Area Icons
  • Loading branch information
FalkWolsky committed Mar 1, 2024
commit 4f58b9620a645ae562cc44227b0c4fca9775ea5d
33 changes: 17 additions & 16 deletions client/packages/lowcoder-design/src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,22 +171,6 @@ export { ReactComponent as videoPlayTriangle } from "./icon-video-play-triangle.
export { ReactComponent as DrawerCompIcon } from "./icon-drawer.svg";
export { ReactComponent as LeftMeetingIcon } from "./icon-left-comp-video.svg";
export { ReactComponent as PlusIcon } from "./icon-plus.svg";
export { ReactComponent as HomeIcon } from "./icon-application-home.svg";
export { ReactComponent as HomeModuleIcon } from "./icon-application-module.svg";
export { ReactComponent as HomeQueryLibraryIcon } from "./icon-application-query-library.svg";
export { ReactComponent as HomeDataSourceIcon } from "./icon-application-datasource.svg";
export { ReactComponent as RecyclerIcon } from "./icon-application-recycler.svg";
export { ReactComponent as MarketplaceIcon } from "./icon-application-marketplace.svg";
export { ReactComponent as LowcoderMarketplaceIcon } from "./icon-lowcoder-marketplace.svg";
export { ReactComponent as HomeActiveIcon } from "./icon-application-home-active.svg";
export { ReactComponent as HomeModuleActiveIcon } from "./icon-application-module-active.svg";
export { ReactComponent as HomeQueryLibraryActiveIcon } from "./icon-application-query-library-active.svg";
export { ReactComponent as HomeDataSourceActiveIcon } from "./icon-application-datasource-active.svg";
export { ReactComponent as RecyclerActiveIcon } from "./icon-application-recycler-active.svg";
export { ReactComponent as MarketplaceActiveIcon } from "./icon-application-marketplace-active.svg";
export { ReactComponent as LowcoderMarketplaceActiveIcon } from "./icon-lowcoder-marketplace-active.svg";
export { ReactComponent as FavoritesIcon } from "./icon-application-favorites.svg";
export { ReactComponent as HomeSettingIcon } from "./icon-application-setting.svg";
export { ReactComponent as FolderIcon } from "./icon-application-folder.svg";
export { ReactComponent as AllTypesIcon } from "./icon-application-all.svg";
export { ReactComponent as InviteUserIcon } from "./icon-application-invite-user.svg";
Expand Down Expand Up @@ -314,6 +298,23 @@ export { ReactComponent as LeftShow } from "./remix/eye-off-line.svg";
export { ReactComponent as LeftHide } from "./remix/eye-line.svg";
export { ReactComponent as LeftLock } from "./remix/lock-line.svg";
export { ReactComponent as LeftUnlock } from "./remix/lock-unlock-line.svg";
export { ReactComponent as UserGroupIcon } from "./remix/group-line.svg";
export { ReactComponent as UserIcon } from "./remix/user-line.svg";
export { ReactComponent as UserAddIcon } from "./remix/user-add-line.svg";
export { ReactComponent as UserDeleteIcon } from "./remix/user-unfollow-line.svg";
export { ReactComponent as UserShieldIcon } from "./remix/shield-user-line.svg";
export { ReactComponent as ThemeIcon } from "./remix/palette-line.svg";
export { ReactComponent as AppsIcon } from "./remix/apps-2-line.svg";
export { ReactComponent as WorkspacesIcon } from "./remix/hotel-line.svg";

export { ReactComponent as HomeIcon } from "./remix/home-3-line.svg";
export { ReactComponent as HomeModuleIcon } from "./remix/focus-mode.svg";
export { ReactComponent as HomeQueryLibraryIcon } from "./remix/braces-line.svg";
export { ReactComponent as HomeDataSourceIcon } from "./remix/database-2-line.svg";
export { ReactComponent as RecyclerIcon } from "./remix/delete-bin-line.svg";
export { ReactComponent as MarketplaceIcon } from "./icon-application-marketplace.svg";
export { ReactComponent as FavoritesIcon } from "./icon-application-favorites.svg";
export { ReactComponent as HomeSettingIcon } from "./remix/settings-4-line.svg";


// new
Expand Down
5 changes: 3 additions & 2 deletions client/packages/lowcoder/src/components/layout/SubSideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { PropsWithChildren } from "react";
import styled from "styled-components";

const Wrapper = styled.div`
min-width: 232px;
width: 232px;
min-width: 280px;
width: 280px;
height: 100%;
background: #ffffff;
border-right: 1px solid #f0f0f0;
Expand All @@ -17,6 +17,7 @@ const Wrapper = styled.div`
color: #222222;
margin: 0 0 20px 20px;
}

.ant-menu-inline .ant-menu-item {
margin: 4px 0;
padding: 10px 20px !important;
Expand Down
4 changes: 2 additions & 2 deletions client/packages/lowcoder/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@ export const en = {
"advanced": "Advanced",
"lab": "Lab",
"branding": "Branding",
"oauthProviders": "OAuth Providers",
"oauthProviders": "User Authentication",
"appUsage": "App Usage Logs",
"environments": "Environments",
"premium": "Premium"
Expand Down Expand Up @@ -2621,7 +2621,7 @@ export const en = {
"table": table,
},
"idSource": {
"title": "OAuth Providers",
"title": "User Authentication Provider",
"form": "Email",
"pay": "Premium",
"enable": "Enable",
Expand Down
4 changes: 2 additions & 2 deletions client/packages/lowcoder/src/i18n/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ settings: {
advanced: "高级",
lab: "实验室",
branding: "品牌",
oauthProviders: "OAuth 提供商",
oauthProviders: "User Authentication",
appUsage: "应用程序使用日志",
environments: "环境",
premium: "高级版",
Expand Down Expand Up @@ -2560,7 +2560,7 @@ componentDocExtra: {
table: table,
},
idSource: {
title: "OAuth 提供商",
title: "用户认证提供商",
form: "电子邮件",
pay: "高级",
enable: "启用",
Expand Down
64 changes: 10 additions & 54 deletions client/packages/lowcoder/src/pages/ApplicationV2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
FOLDER_URL_PREFIX,
FOLDERS_URL,
MARKETPLACE_URL,
MARKETPLACE_URL_BY_TYPE,
MODULE_APPLICATIONS_URL,
QUERY_LIBRARY_URL,
SETTING,
Expand All @@ -17,25 +16,17 @@ import {
EditPopover,
EllipsisTextCss,
FolderIcon,
HomeActiveIcon,
HomeDataSourceActiveIcon,
HomeDataSourceIcon,
HomeIcon,
HomeModuleActiveIcon,
HomeModuleIcon,
HomeQueryLibraryActiveIcon,
HomeQueryLibraryIcon,
HomeSettingsActiveIcon,
HomeSettingsIcon,
HomeSettingIcon,
InviteUserIcon,
PlusIcon,
PointIcon,
RecyclerActiveIcon,
RecyclerIcon,
MarketplaceIcon,
MarketplaceActiveIcon,
LowcoderMarketplaceActiveIcon,
LowcoderMarketplaceIcon,
AppsIcon
} from "lowcoder-design";
import React, { useEffect, useState } from "react";
import { fetchAllApplications, fetchHomeData } from "redux/reduxActions/applicationActions";
Expand Down Expand Up @@ -345,48 +336,28 @@ export default function ApplicationHome() {
text: <TabLabel>{trans("home.allApplications")}</TabLabel>,
routePath: ALL_APPLICATIONS_URL,
routeComp: HomeView,
icon: ({ selected, ...otherProps }) =>
selected ? <HomeActiveIcon {...otherProps} /> : <HomeIcon {...otherProps} />,
icon: ({ selected, ...otherProps }) => selected ? <AppsIcon {...otherProps} width={"24px"}/> : <AppsIcon {...otherProps} width={"24px"}/>,
},
{
text: <TabLabel>{trans("home.allModules")}</TabLabel>,
routePath: MODULE_APPLICATIONS_URL,
routeComp: ModuleView,
icon: ({ selected, ...otherProps }) =>
selected ? (
<HomeModuleActiveIcon {...otherProps} />
) : (
<HomeModuleIcon {...otherProps} />
),
icon: ({ selected, ...otherProps }) => selected ? <HomeModuleIcon {...otherProps} width={"24px"}/> : <HomeModuleIcon {...otherProps} width={"24px"}/>,
visible: ({ user }) => user.orgDev,
},
{
text: (
<TabLabel>
{trans("home.marketplace")}
</TabLabel>
),
text: <TabLabel>{trans("home.marketplace")}</TabLabel>,
routePath: MARKETPLACE_URL,
routePathExact: false,
routeComp: MarketplaceView,
icon: ({ selected, ...otherProps }) =>
selected ? (
<MarketplaceActiveIcon {...otherProps} />
) : (
<MarketplaceIcon {...otherProps} />
),
icon: ({ selected, ...otherProps }) => selected ? <MarketplaceIcon {...otherProps} width={"24px"}/> : <MarketplaceIcon {...otherProps} width={"24px"}/>,
visible: ({ user }) => user.orgDev,
},
{
text: <TabLabel>{trans("home.trash")}</TabLabel>,
routePath: TRASH_URL,
routeComp: TrashView,
icon: ({ selected, ...otherProps }) =>
selected ? (
<RecyclerActiveIcon {...otherProps} />
) : (
<RecyclerIcon {...otherProps} />
),
icon: ({ selected, ...otherProps }) => selected ? <RecyclerIcon {...otherProps} width={"24px"}/> : <RecyclerIcon {...otherProps} width={"24px"}/>,
visible: ({ user }) => user.orgDev,
},
],
Expand Down Expand Up @@ -414,25 +385,15 @@ export default function ApplicationHome() {
text: <TabLabel>{trans("home.queryLibrary")}</TabLabel>,
routePath: QUERY_LIBRARY_URL,
routeComp: QueryLibraryEditor,
icon: ({ selected, ...otherProps }) =>
selected ? (
<HomeQueryLibraryActiveIcon {...otherProps} />
) : (
<HomeQueryLibraryIcon {...otherProps} />
),
icon: ({ selected, ...otherProps }) => selected ? <HomeQueryLibraryIcon {...otherProps} width={"24px"}/> : <HomeQueryLibraryIcon {...otherProps} width={"24px"}/>,
visible: ({ user }) => user.orgDev,
},
{
text: <TabLabel>{trans("home.datasource")}</TabLabel>,
routePath: DATASOURCE_URL,
routePathExact: false,
routeComp: DatasourceHome,
icon: ({ selected, ...otherProps }) =>
selected ? (
<HomeDataSourceActiveIcon {...otherProps} />
) : (
<HomeDataSourceIcon {...otherProps} />
),
icon: ({ selected, ...otherProps }) => selected ? <HomeDataSourceIcon {...otherProps} width={"24px"}/> : <HomeDataSourceIcon {...otherProps} width={"24px"}/>,
visible: ({ user }) => user.orgDev,
onSelected: (_, currentPath) => currentPath.split("/")[1] === "datasource",
},
Expand All @@ -441,12 +402,7 @@ export default function ApplicationHome() {
routePath: SETTING,
routePathExact: false,
routeComp: Setting,
icon: ({ selected, ...otherProps }) =>
selected ? (
<HomeSettingsActiveIcon {...otherProps} />
) : (
<HomeSettingsIcon {...otherProps} />
),
icon: ({ selected, ...otherProps }) => selected ? <HomeSettingIcon {...otherProps} width={"24px"}/> : <HomeSettingIcon {...otherProps} width={"24px"}/>,
visible: ({ user }) => user.orgDev,
onSelected: (_, currentPath) => currentPath.split("/")[1] === "setting",
},
Expand Down
44 changes: 29 additions & 15 deletions client/packages/lowcoder/src/pages/setting/settingHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ import AuditSetting from "@lowcoder-ee/pages/setting/audit";
import { isEE, isEnterpriseMode, isSelfDomain, showAuditLog } from "util/envUtils";
import { TwoColumnSettingPageContent } from "./styled";
import SubSideBar from "components/layout/SubSideBar";
import { Menu } from "lowcoder-design";
import {
Menu,
UserGroupIcon,
UserShieldIcon,
LeftSettingIcon,
ThemeIcon,
WorkspacesIcon
} from "lowcoder-design";
import { useSelector } from "react-redux";
import { getUser } from "redux/selectors/usersSelectors";
import history from "util/history";
Expand Down Expand Up @@ -37,25 +44,35 @@ export function SettingHome() {
const selectKey = useParams<{ setting: string }>().setting || SettingPageEnum.UserGroups;

const items = [
{
key: SettingPageEnum.UserGroups,
label: trans("settings.userGroups"),
},
{
key: SettingPageEnum.Organization,
label: trans("settings.organization"),
icon: <WorkspacesIcon width={"20px"}/>,
},
{
key: SettingPageEnum.OAuthProvider,
label: (trans("settings.oauthProviders")),
disabled: !currentOrgAdmin(user),
icon: <UserShieldIcon width={"20px"}/>,
},
{
key: SettingPageEnum.UserGroups,
label: trans("settings.userGroups"),
icon: <UserGroupIcon width={"20px"}/>,
},
{
key: SettingPageEnum.Theme,
label: trans("settings.theme"),
icon: <ThemeIcon width={"20px"}/>,
},
{
key: SettingPageEnum.OAuthProvider,
label: (
<span className="text">{trans("settings.oauthProviders")}</span>
),
disabled: !currentOrgAdmin(user),
key: SettingPageEnum.Advanced,
label: trans("settings.advanced"),
icon: <LeftSettingIcon width={"20px"}/>,
},

// Premium features

{
key: SettingPageEnum.Environments,
label: (
Expand Down Expand Up @@ -107,16 +124,13 @@ export function SettingHome() {
!enableCustomBrand(config) ||
(!isSelfDomain(config) && !isEnterpriseMode(config)),
},
{
key: SettingPageEnum.Advanced,
label: trans("settings.advanced"),
},
];

return (
<TwoColumnSettingPageContent>
<SubSideBar title={trans("settings.title")}>
<Menu
<Menu
style={{ border: "none" }}
mode="inline"
selectedKeys={[selectKey]}
onClick={(value) => {
Expand Down