Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ updates:
- "Dependencies"

- package-ecosystem: "npm"
directory: "/examples/kendo-react-freemium"
directory: "/examples/kendo-react-project-tracker-app"
schedule:
interval: "daily"
groups:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- 'examples/kendo-react-file-manager/**'
kendo-react-finance-portfolio:
- 'examples/kendo-react-finance-portfolio/**'
kendo-react-freemium:
- 'examples/kendo-react-freemium/**'
kendo-react-project-tracker-app:
- 'examples/kendo-react-project-tracker-app/**'
kendo-react-homepage-demo:
- 'examples/kendo-react-homepage-demo/**'
kendo-react-nextjs:
Expand Down Expand Up @@ -115,9 +115,9 @@ jobs:
npm ci
npm run build

- name: Build Kendo React Freemium app
working-directory: ./examples/kendo-react-freemium
if: steps.changes.outputs.kendo-react-freemium == 'true'
- name: Build Kendo React Project Tracker app
working-directory: ./examples/kendo-react-project-tracker-app
if: steps.changes.outputs.kendo-react-project-tracker-app == 'true'
run: |
npm ci
npm run build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + KendoReact</title>
<title>Project Tracker Sample Application | Progress Telerik</title>
</head>
<body class="k-body">
<div id="root"></div>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "kendo-react-freemium",
"name": "kendo-react-project-tracker-app",
"private": true,
"version": "0.0.0",
"homepage": "https://telerik.github.io/kendo-react/kendo-react-freemium/",
"homepage": "https://telerik.github.io/kendo-react/kendo-react-project-tracker-app/",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import NewTask from "./pages/NewTask";
export default function App() {
return (
<>
<BrowserRouter basename="/kendo-react/kendo-react-freemium">
<BrowserRouter basename="/kendo-react/kendo-react-project-tracker-app">
<AppBarComponent />
<DrawerComponent>
<Routes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function AppBarComponent() {
return (
<AppBar positionMode="sticky" className="bg-surface-alt !p-4" themeColor='inherit'>
<AppBarSection className="grow gap-4">
<a href={"/kendo-react/kendo-react-freemium/"}>
<a href="#" onClick={(e) => { e.preventDefault(); navigate('/'); }}>
<img src={logo} alt="Logo" className="hidden md:flex" />
<img src={compactLogo} alt="Logo" className="flex md:hidden" />
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function Home() {

return (
<>
<div style={{ minHeight: 'calc(100vh - 106px)'}} className="bg-linear-[119deg,_#F8F9FF_-1.78%,_#F3F2FF_47.75%,_#E6F5FF_97.28%] p-10">
<div style={{ minHeight: 'calc(100vh - 106px)'}} className="bg-linear-[119deg,_#F8F9FF_-1.78%,_#F3F2FF_47.75%,_#E6F5FF_97.28%] overflow-auto p-10">
<h1 className="text-4xl text-subtle pb-6">Welcome John Porter 👋</h1>
<div className="grid grid-cols-[360px_1fr] lg:grid-cols-12 xl:grid-cols-[1fr_2fr_360px] gap-6">
<div className="col-span-2 lg:col-span-6 xl:col-span-2">
Expand Down Expand Up @@ -71,7 +71,7 @@ export default function Home() {
</CardHeader>
<CardBody className="flex flex-col gap-2">
{teamsData.slice(0, 4).map((team, index) => {
return <Card key={'team-' + index}>
return <Card key={'team-' + index} className={`${index === 2 || index === 3 ? 'hidden lg:flex' : ''}`}>
<div onClick={() => navigate('/team-management')} className="cursor-pointer">
<CardBody className="flex items-center">
<Avatar style={{ background: team.avatarColor }}>{team.teamCode}</Avatar>
Expand All @@ -91,7 +91,7 @@ export default function Home() {
</div>
<div className="col-span-2 lg:col-span-4 xl:col-span-1 h-116">
<Card className="rounded-2xl h-full">
<CardHeader className="border-0 flex justify-between items-center">
<CardHeader className="border-0 flex flex-wrap justify-between items-center gap-2">
<CardTitle className="font-medium">To-Do List</CardTitle>
<Button fillMode="flat" themeColor="primary" svgIcon={plusIcon}>Add more tasks</Button>
</CardHeader>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ import {
GridLayout,
} from "@progress/kendo-react-layout";
import {
homeIcon,
searchIcon,
homeIcon
} from "@progress/kendo-svg-icons";
import { SvgIcon } from "@progress/kendo-react-common";
import React from "react";
import { useNavigate } from "react-router-dom";
import { InputPrefix, InputSeparator, TextBox, TextBoxChangeEvent } from "@progress/kendo-react-inputs";
import { Badge } from "@progress/kendo-react-indicators";
import { projectsData } from "./data";

Expand All @@ -28,23 +26,13 @@ const breadcrumbItems: DataModel[] = [

export default function Projects() {
const navigate = useNavigate();
const [projects, setProjects] = React.useState(projectsData);

const handleItemSelect = (e: BreadcrumbLinkMouseEvent) => {
if (e.id === "home") {
navigate("/");
}
};

const handleSearchChange = (props: TextBoxChangeEvent) => {
const searchValue = (props.value as string).toLowerCase();

const filteredProjects = projectsData.filter((project) => {
return project.ProjectName.toLowerCase().includes(searchValue);
});
setProjects(filteredProjects);
};

return (
<div
style={{ minHeight: "calc(100vh - 106px)" }}
Expand All @@ -58,16 +46,10 @@ export default function Projects() {

<div className="flex flex-wrap items-center justify-between">
<h1 className="text-4xl">Projects</h1>
<TextBox className="w-75" size="large" onChange={handleSearchChange} prefix={() =>
<InputPrefix>
<SvgIcon icon={searchIcon} />
<InputSeparator />
</InputPrefix>
} placeholder="Search projects" />
</div>

<GridLayout className="grid-cols-2 lg:grid-cols-3 xl:grid-cols-4" style={{ gap: "var(--kendo-spacing-4) var(--kendo-spacing-6)" }}>
{projects.map((project, index) => {
<GridLayout className="grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4" style={{ gap: "var(--kendo-spacing-4) var(--kendo-spacing-6)" }}>
{projectsData.map((project, index) => {
return (
<div key={index} className="bg-surface-alt border-1 border-border rounded-lg">
<div className="px-4 py-3">
Expand Down Expand Up @@ -96,7 +78,7 @@ export default function Projects() {
<Avatar type={'image'} size="small" className="mr-1" border={false}>
<img src={project.AvatarSrc} />
</Avatar>
<span>Marlon66</span>
<span className="truncate">Marlon66</span>
</div>
</div>
<div>
Expand All @@ -105,7 +87,7 @@ export default function Projects() {
<Avatar type={'image'} size="small" className="mr-1">
<img src={project.AvatarSrc} />
</Avatar>
<span>Monserrat49</span>
<span className="truncate">Monserrat49</span>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default function Team() {
</ButtonGroup>
</div>

<GridLayout className={`${isGridView ? 'grid-cols-2' : 'grid-cols-1'} ${isGridView ? 'lg:grid-cols-4' : 'lg:grid-cols-1'}`} style={{ gap: "var(--kendo-spacing-4) var(--kendo-spacing-6)" }}>
<GridLayout className={`${isGridView ? 'grid-cols-1 sm:grid-cols-2 lg:grid-cols-4' : 'grid-cols-1'}`} style={{ gap: "var(--kendo-spacing-4) var(--kendo-spacing-6)" }}>
{team.teamMembers.map((member, index) => {
return <Card key={index}>
<CardBody className="flex items-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function TeamManagement() {
)} />
</div>

<GridLayout className={`${isGridView ? 'grid-cols-2' : 'grid-cols-1'} ${isGridView ? 'lg:grid-cols-4' : 'lg:grid-cols-1'}`} style={{gap: "var(--kendo-spacing-4) var(--kendo-spacing-6)"}}>
<GridLayout className={`${isGridView ? 'grid-cols-1 sm:grid-cols-2 lg:grid-cols-4' : 'grid-cols-1'}`} style={{gap: "var(--kendo-spacing-4) var(--kendo-spacing-6)"}}>
{teams.map((team, index) => {
return <Card key={index}>
<CardBody className="flex items-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite'

export default defineConfig({
base: `/kendo-react/kendo-react-freemium/`,
base: `/kendo-react/kendo-react-project-tracker-app/`,
plugins: [react(), tailwindcss()],
});
4 changes: 2 additions & 2 deletions live/bin/build-gh-pages
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# Builds example projects and deploys them to GH Pages
STANDALONE_PROJECTS=(ecommerce-jewellery-store kendo-react-e-commerce-astro-app kendo-react-finance-portfolio react-coffee-warehouse react-admin-dashboard kendo-react-homepage-demo kendo-react-file-manager react-grid-live-data kendo-react-freemium)
STANDALONE_PROJECTS=(ecommerce-jewellery-store kendo-react-e-commerce-astro-app kendo-react-finance-portfolio react-coffee-warehouse react-admin-dashboard kendo-react-homepage-demo kendo-react-file-manager react-grid-live-data kendo-react-project-tracker-app)

set -e

Expand All @@ -16,7 +16,7 @@ do
npm run build
mkdir -p ../../live/build/${PROJECT}

if [ "$PROJECT" = "kendo-react-e-commerce-astro-app" ] || [ "$PROJECT" = "kendo-react-freemium" ]; then
if [ "$PROJECT" = "kendo-react-e-commerce-astro-app" ] || [ "$PROJECT" = "kendo-react-project-tracker-app" ]; then
mv -v dist/* "../../live/build/${PROJECT}"
else
mv -v build/* "../../live/build/${PROJECT}"
Expand Down
2 changes: 1 addition & 1 deletion live/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>KendoReact - Sample Applications</h1>
<li><a href="react-grid-live-data/">Grid Live Data Application</a></li>
<li><a href="ecommerce-jewellery-store/">Ecommerce jewellery Store Application</a></li>
<li><a href="kendo-react-e-commerce-astro-app/">Ecommerce Astro Application</a></li>
<li><a href="kendo-react-freemium/">Kendo React Freemium Application</a></li>
<li><a href="kendo-react-project-tracker-app/">Kendo React Project Tracker Application</a></li>
</ul>
<p>
To access the source code of all sample applications, go to the
Expand Down