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

User profile #115

Open
bouncepaw opened this issue Nov 1, 2021 · 7 comments
Open

User profile #115

bouncepaw opened this issue Nov 1, 2021 · 7 comments

Comments

@bouncepaw
Copy link
Owner

Currently, the concept of a user page is quite limited. What do we have? There is a link to your user hypha (usually u/<username>) in our miserable top bar. There is a button in the editor tool bar that inserts a link to that hypha. History and recent changes have such links too. That's it.

Here's how we can extend it.

  • Your user page would be the perfect place for the Log out button, which is, actually, nowhere to be found in Mycorrhiza!
  • For administrators, the link to the admin panel would look great here!
  • In the future, user-related statistics and search tools (such as Edits by this user, Feed of edits by this user) might be placed here as well.
  • Add user pics?? Not today.

I also want to use the word profile for user pages. Phrases like your profile too.

I expect everyone to agree that the ideas in this message are worth implementing. If I'm wrong, please tell me why.

@bouncepaw
Copy link
Owner Author

Another idea I have is to introduce user hyphae as a separate hypha kind, along with textual hyphae, hyphae with attachments (+ optional description) and forthcoming alias hyphae.

Additional file type with extension .mycouser can be introduced. I have no idea why would we need such a file. Drop users.json file in favor of such .mycouser files? Why? Store links to profiles on other sites? Why?

By the way, there is no such concept as hypha kind in Mycorrhiza code base. Introducing it means making a big and a pleasant refactoring.

I don't expect everyone to agree with this message. Please discuss.

@handlerug
Copy link
Contributor

Sadly, we can't store users' passwords in .mycouser files, so we'll have to have some storage for them anyway. Otherwise, sounds like a good idea to me.

@bouncepaw
Copy link
Owner Author

Sadly, we can't store users' passwords in .mycouser files

Passwords are to blame, right? Damn these passwords. Bring back the days before they became a thing...

@handlerug
Copy link
Contributor

a simple "username" field on edit pages when

@bouncepaw bouncepaw mentioned this issue Nov 1, 2021
@bouncepaw
Copy link
Owner Author

Here is a sudden advantage of storing users as hyphae in git: new users appear in history!

This is cool imho.

@bouncepaw
Copy link
Owner Author

bouncepaw commented Nov 14, 2021

Identicons

While checking out Syncthing, I noticed cool 5 by 5 pixel monochrome images.

IMAGE 2021-11-14 22:01:28

Many websites have similar things, but I liked this implementation more because of the lack of colors.

Turns out, this pattern is called identicon.

And so I thought, why not have them? A little SVG image beside every link to a profile, isn't it cool?

You can take a look at Syncthing's implementation of identicons, but it is of little interest.

@bouncepaw
Copy link
Owner Author

Three years later, I think I want to have user profiles as separate entities and refer to them with @this syntax. The Reddit-like u/this syntax is weird in the end tbh.

@bouncepaw bouncepaw changed the title User pages User profile Jun 1, 2024
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

No branches or pull requests

2 participants