Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create repo without a name; generate userId and repoId from server #142

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented Dec 13, 2022

Now, the "create new project" button will directly drop you into a new project without asking for a name. The project name is editable on the top navbar. Screenshot:

Screenshot 2022-12-13 at 1 44 09 AM

This PR also move the userId and repoId generation to the server. The nanoID format is changed a little, from prefixed 10-bit nolookalikes (e.g., repo_6e66FcLE3K) to 20-bit lowercase + numbers (e.g., sh360e667a5gffk16441).

@lihebi lihebi merged commit a4c9e60 into main Dec 13, 2022
@lihebi
Copy link
Collaborator Author

lihebi commented Dec 13, 2022

Now, the "create new project" button will directly drop you into a new project without asking for a name.

@li-xin-yi let's move "make-a-repo-public" to a "share" button in the top-right corner of the canvas, just like Google docs & Feishu docs (I'll work on this).

Screenshot 2022-12-13 at 2 03 32 AM

@lihebi lihebi linked an issue Dec 13, 2022 that may be closed by this pull request
@lihebi lihebi deleted the create-repo-without-name branch June 30, 2023 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google doc style repo creation
1 participant