docs-plus / docs.plus Goto Github PK
View Code? Open in Web Editor NEWa real-time community collaboration platform
Home Page: http://docs.plus
License: MIT License
a real-time community collaboration platform
Home Page: http://docs.plus
License: MIT License
name: Turn urls into links
about: When I write a url in the doc and press space or enter, I would like it to be automatically converted into a link
I also need to check what other information is needed to add to the hocuspocus database for later.
When folding and unfolding headings, the user's location in the document can quickly move around, which is disorienting.
Example can be seen at https://test.docs.plus/g/test2, here is a video:
https://user-images.githubusercontent.com/5703915/214018091-544fe8bb-9781-4e8a-b39f-cabd8a535b8c.mp4
The correct behavious is that the user's cursor should not move relative to the icon they have clicked.
When using the Heading id in the URL, we face an ugly URL with 32 characters extended which is uuid. Changing uuid to objectid is better and making the a little cleaner the URL.
(Also, I must have this change because I use the Tiptap extension for assigning the Id right now, which is not free!)
Related to #48
For private documents we have to serve the document under the /userNamespace
namespace.
1/ Icons
2/ Tailwind
The only way a user can create a title is to put the caret to the last line of the section.
If you place the caret in the middle of the content, creating the title will have problems;
Therefore, the new title section will not be created.
Like (https://docs.plus/); also, it must have a form to create a new pad. (input text and button)
Something like this:
Tiptap Editor Features:
In order to identify our user, we need to have an authorization process.
We are going to choose and implement the magic link! also, for later, the Google strategy is welcome
(but let's focus on the magic link first)
Resource: https://supabase.com/docs/guides/auth/auth-magic-link
Note: Ask for profile data, like name, description, website, etc.
Due to the last refactor, the placeholder missed the font size, so I need to give the font size to the placeholder base on the heading level attribute.
Link: e1d8863
The last refactor caused this issue. check out this e1d8863
I should only see open and close toggle icons when hovering near their associated heading, otherwise they should be hidden.
Install and config Tiptap Plugins:
PWA, configuration, a service worker to have desktop and mobile web notification structure ahead, also manage the cache service & strategy(in the front-end).
Resource: https://vite-pwa-org.netlify.app
Design user profile database and related policy
A simple Layout that contain a primary navigation,
There is a problem here, @edsaperia I need your help:
Each heading contains two buttons right now:
1/ #
for copying the id of the heading into the clipboard.
2/ A toggle button, which is for folding and unfolding the section
Where should I add a new button for the chat? How should these three buttons be arranged?
The first Heading is because it has no ID; it does not fold and unfold on the first try!
But when you fill the document with contents, this issue will be resolved.
This issue comes from the extension associated with assigning the Ids to Header.
Buttons indicate copy links and fold/unfold functions should be refactored and replaced with decoration API to avoid unintended user interaction.
I need to find a strategy to prevent unwanted schema from being injected into the editor.
This strategy helps to solve all unknown problems that indicate the custom hierarchy.
For free documents we have to serve the document under the /g
namespace.
Use Supabase as a back-end service,
We need two instances of Supabae! one for production, the other one for the stage.
Resource: https://supabase.com/docs/guides/self-hosting/docker
Note: Recommended to use a separate Postgress database for each instance.
User interaction We need a page on the dashboard page (which is the first page) so that the user can create new documents and see the list of created documents.
Just duplicate the contact, License, and Support section for now.
name: Paste text
labels: enhancement
assignees:
Is your feature request related to a problem? Please describe.
If I copy text from another page, I'm unable to paste it into the document
Additional context
Add any other context or screenshots about the feature request here.
I'm going to clean the unused files and code in order to have a more robust file structure in the mainstream. Then I'll push it to a new development branch (as stage).
Profile page contain this information:
Something like this:
Tiptap Collaborative feature tests:
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.