GithubHelp home page GithubHelp logo

untitled-projects's Introduction

Untitled Projects.

How to run

  • Have your .env set up (reach out to @yych42 if you are on the team).
  • Run normally with npm run dev -- --open

White Label Environmental Variables

Although the site is completely customizable, it is going to be implemented in a way that allows the modification to be done through environmental variables. The cool thing about this is that if you do not wish to modify the default value or forgot any, we have a wrapper environment.js file to "intelligently" handle missing values and implement the default.

The format conversion is as follows: .env VITE_SITE_TITLE => environment.js site_title

Currently supported variables:

  • VITE_SITE_TITLE: Default("Untitled Projects")

Visualization of the Codebase

Visualization of the codebase

untitled-projects's People

Contributors

yych42 avatar runkaiz avatar

Watchers

 avatar  avatar

untitled-projects's Issues

Note page errors

Turns out when all notes are drafts and/or the user is not logged in, the note page glitches out.

Prisma upsert

I wish to use the upsert function instead of finding whether a note exists or not then use an if statement to create or update. Using upsert should theoretically be much simpler but for some reason slug as an unique identifier always results in updating even when it does not exist.

Adding coauthors result in error when saving a note

It seems like the format which all author objects are being fetched does not comply with what the database is expecting.

...coauthors: {\n connect: [\n {\n name: 'Runkai'\n ~~~~\n }\n ]\n }\n }\n}\n\nUnknown arg name in data.coauthors.connect.0.name for type UserWhereUniqueInput. Did you mean id?...

Resize issues

On mobile devices, the Notes page has its side bar hidden. The reveal button in the top bar only reveals the main menu. While the currently disabled (and useless) button might come in handy for that purpose.

UI/UX Regression

Editor is now oversized with a double scrolling problem after 05f4db4. The new editor also contains design elements unseen/inconsistent with the rest of the app. For example, we don't use focus rings and the buttons are too large in comparison with the rest of the app. I suggest we revert this part of the change.


Personally I would prefer a wider margin for page contents. A more restricted line width is easier to follow. See examples below.
Screen Shot 2022-06-05 at 21 41 42
Screen Shot 2022-06-05 at 21 42 13
I suggest reverting 2f92851

Related: #23

Notes menu should hide automatically

Current on mobile devices, when a note is selected from the dynamic menu, the user have to manually close the menu in order to view it. The mobile notes menu should hide automatically when a new note is selected so that the interface will feel more fluid and responsive.

Duplicated notes directory

Screen Shot 2022-06-05 at 09 35 41

These two sections essentially have the same function. The right side should be left empty until a note is selected on the left. For the mobile version, there should be a way to access the left-side notes directory.

Vercel should not be building the eco branch

It would be a waste of time and resources for Vercel since eco mode runs with a different adapter and does not support Vercel in the same way as master. Eco is not supposed to be deployed to Vercel in the first place.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.