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

Web frontend for GitArena #17

Open
5 of 19 tasks
mellowagain opened this issue Dec 6, 2021 · 1 comment
Open
5 of 19 tasks

Web frontend for GitArena #17

mellowagain opened this issue Dec 6, 2021 · 1 comment

Comments

@mellowagain
Copy link
Owner

mellowagain commented Dec 6, 2021

GitArena is currently lacking major parts of it's web frontend. The existing sites are also currently not very pretty and need cleanup. Help is greatly appreciated!

The following sites still need to be implemented:

  • Home page (/, logged out view)
  • User dashboard (/, logged in view)
  • Explore page (/explore):
    • Standard page to view public & internal repositories as well as a few simple filters
    • Current activity (trending)
    • "Featured repositories" (configurable via admin panel)
    • Sort of like GitHub and GitLab
  • Repository pages (/{username}/{repo_name})
    • Issues list (/.../issues)
      • Specific issue view (/.../issues/{nr})
    • Merge requests list (/.../mergers)
      • Specific merge request view (.../mergers/{nr})
    • Releases list (/.../releases, based on Git tags)
      • Specific release view (/.../releases/{tag_name})
    • Commit list (.../tree/{branch}/commits)
      • Specific commit view (/.../commit/{oid}
    • Specific directory view (/.../tree/{branch}/directory/{dir_name}
    • Specific file view (/.../tree/{branch}/blob/{file_name}
  • Users view (/{username})
  • ...

And many more! List will be updated once progress on existing pages has increased.

@mellowagain
Copy link
Owner Author

mellowagain commented Dec 29, 2021

There has been a question regarding frontend support for environments without activated JavaScript. Here are my thoughts regarding this issue:

There is some thought put into making GitArena working without JavaScript, for example:

  • Infinite scroll pages (such as commit listing) contain a <noscript> fallback which includes buttons for manual navigation.
  • XHR links such as starring a repository contain a <noscript> fallback with a <button> form submit.

The problem is that some features are simply too much effort to implement without JS or are just straight up impossible to implement without JS, for example:

  • Copy to clipboard buttons

There are also some places where support for non-JavaScripts clients was deliberately ignored, for example:

  • README rendering in the repository view and directory views

Regardless, I am a believer that at least the basics should function without JavaScript. Apart from belief or stubbornness, there are some very valid reasons one has JavaScript disabled such as for example company policies or a very slow connection. The web has largely ignored these people and in my opinion that is wrong. But a small minority of people should also not remove conviences from the majority of people.

TLDR: The basics should work without JavaScript. Everything else is a nice to have but only as long as it does not inconvient the majority of users which do in fact have JavaScript enabled.

In case you are one of the users that do in fact have JavaScript disabled and you encounter an issue with GitArena, feel free to open an issue in this repository. Please do keep in mind that it may be prioritized as low priority as this environment is very niche, if the encountered issue does not impact basic usability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant