Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
7ef7592
fix(ci): Add dummy id for testing in app component
DEVUCP May 7, 2025
78ee90e
ci: Remove unused variables and objs etc
DEVUCP May 7, 2025
5434ef6
ci: Update webpack.yml to run on CI and development PR and push
DEVUCP May 7, 2025
5282487
feat: Create a HTTP client like `axios`
omardoescode May 11, 2025
8abc739
fix: remove unnecessary baseUrl
omardoescode May 11, 2025
5de3a00
fix: export createHTTPClient
omardoescode May 11, 2025
d77c125
chore: Merge pull request #4 from DEVUCP/http-client
DEVUCP May 12, 2025
7955660
feat: Implement basic routing
omardoescode May 13, 2025
28f954f
feat: Add more unorganized stuff
omardoescode May 13, 2025
21c65ed
Merge branch 'development' into routing
omardoescode May 13, 2025
405bf42
Merge pull request #5 from DEVUCP/routing
omardoescode May 13, 2025
7f1d5a1
feat: Setup up types, context and service for file management and set…
omardoescode May 14, 2025
0a62722
feat: Setup get folder service and put in cache
omardoescode May 14, 2025
3796c33
feat: Setup root folder
omardoescode May 14, 2025
bff4599
feat: Login page and login functionality done
omardoescode May 14, 2025
c519921
Switched to Tailwindcss and Vite
marwanm-dev May 14, 2025
d4393c7
Merge pull request #6 from DEVUCP/vite_tailwind_setup
omardoescode May 14, 2025
3f0daa8
feat: Add simple drive page with files and folders layout
marwanm-dev May 14, 2025
f9b8553
fix: Add template for testing tailwind in main.tsx
marwanm-dev May 14, 2025
6f510ce
fix: Fixed tailwindcss colors not rendering
marwanm-dev May 14, 2025
281e011
feat: Make tailwind works
omardoescode May 14, 2025
e0d9795
Merge branch 'development' of github.com:DEVUCP/PandoraDrive-client i…
omardoescode May 14, 2025
5e6ed73
feat: Reshow routes and remove margins
omardoescode May 14, 2025
ac8cee4
feat: Setup contexts, auth, folder setup and a lot of stuff I forgot …
omardoescode May 14, 2025
9064626
feat: Render files and folders in current page
omardoescode May 15, 2025
ee808da
feat: Setup file upload service UI and insert file metadata (next is …
omardoescode May 15, 2025
7526bbd
feat: Finish File Upload Service Part
omardoescode May 15, 2025
99bf915
feat: Upload file service and client side completed
omardoescode May 15, 2025
e5e139e
feat: add base chatbot
moha09-coder May 15, 2025
379c0de
feat: Add files after upload by creating a drive context
omardoescode May 16, 2025
23291aa
feat: Create Dialogs and upload folder successfully
omardoescode May 16, 2025
a093d30
feat: add relative redirecting after login
moha09-coder May 16, 2025
e42770d
feat: route html_object forms to /drive instead of component popup
moha09-coder May 16, 2025
150140b
Merge branch 'development' of https://github.com/DEVUCP/PandoraDrive-…
moha09-coder May 16, 2025
57d34fd
feat: Finish V1 with drive page
omardoescode May 16, 2025
f226e9d
Fix merge conflicts
moha09-coder May 16, 2025
7f59e3c
Merge branch 'development' of https://github.com/DEVUCP/PandoraDrive-…
moha09-coder May 16, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build and Test

on:
push:
branches: [ main, CI]
branches: [ main, CI, development]
pull_request:
branches: [ main ]
branches: [ main, CI, development]

jobs:
build-and-test:
Expand Down
64 changes: 16 additions & 48 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,56 +1,24 @@
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build
/dist

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.env

# debug logs
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# electron
/out
node_modules
dist
dist-ssr
*.local

# TypeScript
*.tsbuildinfo
.tscache
*.js.map

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# Editor directories and files
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
100 changes: 54 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,54 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

```js
export default tseslint.config({
extends: [
// Remove ...tseslint.configs.recommended and replace with this
...tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
...tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
...tseslint.configs.stylisticTypeChecked,
],
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
```

You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:

```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config({
plugins: {
// Add the react-x and react-dom plugins
'react-x': reactX,
'react-dom': reactDom,
},
rules: {
// other rules...
// Enable its recommended typescript rules
...reactX.configs['recommended-typescript'].rules,
...reactDom.configs.recommended.rules,
},
})
```
28 changes: 28 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'

export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
)
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading
Loading