cs35l-egg's Issues
[feature] landing page
Optionally, we can have a landing page for all logged out users to see. The landing page should contain a hero section, some sections that display our features, and a call to action section that redirects users to visit the community page, and also prompt them to sign up or log in.
[enhancement] remap save shortcut to save to backend
When the backend file API endpoints are finished, remap the edit page "save" shortcut key to save the file to backend. Also add "download", which actually downloads files to local.
[feature] add undo/redo shortcut keys
Implement undo/redo shortcut keys in edit page. This might be more complicated than it seems, we might have to implement a "kill ring" of some sort along with the shortcut keys. Also, when a user deletes 3 words by pressing and releasing delete key 2 times, does that count as 1 operation that can be undone? We might need to look into how to determine what exactly is 1 operation.
[feature] 404 page
We may have a better 404 page.
[feature] table component for displaying files
The table component will be used in home page, community page, like page. Look into Tanstack table.
[feature] user profile page
A user profile page should be a form that allows users to edit their profile pictures and names for now.
[enhancement] build and publish docker images, deploy on cloud services
we might not do it due to time or money constraints though
[feature] Editable file name
Make a file name in edit page, and make that file name editable. For now, save the file name in a useState
, and on save to a local file, save the file using that file name.
[feature] add menu bar to edit page
To ensure we have enough space for all the features for editing a document, consider adding a menu bar on edit page. Consider using this component from ShadCN.
[feature] comment API endpoints
CRUD operations for the comment model, including:
- create a new comment
- get all comments of a file
- update a comment
- delete a comment
[feature] add export to PDF
this one is purely for fun lol
[feature] edit auth routes google endpoints to add and validate users
Refer to the user model, and write logic inside google endpoints to create new users or get user info. Also make sure to add usernames into session.
[fix] nav bar rework
We can make the nav bar buttons uniform, move "Egg" to the left to make space for the user profile on the right.
[feature] nav bar user profile
Have a circular user profile if the user is logged in. On clicking the profile, it opens a dropdown that shows options for "profile" which links to a profile page, and "logout" which calls the logout function from the backend. If the user is not logged in, display 2 buttons, log in and sign up, respectively.
[feature] backend file model
The file model should have: file name, content, username (the name of the owner of the file)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.