pzyon / engraved_legacy Goto Github PK
View Code? Open in Web Editor NEWStore information snippets (URLs, code, notes, etc.). Add keywords to find and access them from everywhere.
Store information snippets (URLs, code, notes, etc.). Add keywords to find and access them from everywhere.
E.g. Trim texts (especially titles). Consider adding a "sanitizeItem" or something function to
https://github.com/PzYon/engraved/blob/master/server/src/db/DbService.ts:
While we are already at it, we might as well cleanup that class a bit. E.g. updateItem
should not return promise of any
, etc. There might be some other things, as apparently the typing for mongodb have been improved.
E.g for
E.g. when creating a new item or when viewing/editing an existing one.
Use keywords, etc.
Show some information about the current user, i.e.:
edited 11 minutes ago
- component that
If there is an existing keyword named "TypeScript" and I would like to create a new one named "Script" the "Create keyword xxx" is not display.
Consider adding more item types, for example:
Or alternatively consider adding support for custom types, where the user define his own types.
Not sure if this is a good idea.. But we could consider adding either
HTML
in order to be able to do very custom stuff - maybe even with script support?Note
kind to be able to support markdown and HTMLpackage.json
is requiredAdd possibility to sort items.
Sortable props:
Render below search box. Maybe as flyout, maybe inline. Maybe with a gear/settings icon.
... more to come
At the moment nothing happens e.g. when mongo server isn't started during development.
https://blog.bitsrc.io/react-16-what-can-it-do-for-you-part-1-e2ee4b9022fb
What boundaries do we need?
Open points
Next to the common information we need to show some type specific information (or actions) in Item.tsx
.
Notes:
Code:
Url:
Refresh token
Token should be refreshed automatically somehow...?
Keep URL on redirect:
The token expires after a certain amount of time. This then redirects the user to the google auth API. Afterwards the user is redirected back to the root URL of our app. This leads to the context being lost.
To prevent this, we should:
Every form has a
Notes
As a user I most probably often perform similar queries, e.g. if I want to see everything related to "work" or "sport". Maybe we could add a functionality (on the user page) where the user can define and name queries, that he/she can then easily call. The queries could be display as tabs somewhere.
For unauthenticated users, e.g. using a unique URL - similar to OneDrive.
...namely German.
ViewItemPage
and EditItemPage
could both be wrapped by a DoWithItemPage
or somethingcommon
-folder to reusable
, e.g. move Markdown.tsx
and CodeEditor.tsx
therepublic readonly state: I..State
for
/map
(reason: performance)Maybe something like this:
facebook/create-react-app#2466
Reason: #34
Use same setup everywhere (client, server, shared):
Add screenshots or a video/gif to the repo showing the UI and demonstrate some use cases. :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.