Giter VIP home page Giter VIP logo

frontend's People

Contributors

brecert avatar grouting avatar harshmangalam avatar insertish avatar jackdotjs avatar reflexguru avatar revolt-ci avatar rexogamer avatar supertigerdev avatar thisredh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

frontend's Issues

feat: server badges

What do you want to see?

Servers don't currently have their badges. e.g 'Official Server'.

feat: desktop messaging MVP

The following are required for a good initial experience on desktop:

  • Strip dnd from server list since its currently not working
  • Add base sidebar styles
  • Display links in home sidebar (skip for now)
  • Display banner + name in server sidebar
  • Create buttons for use with channels (maybe Typography like Button component)
  • Style channels properly (if a category is collapsed show the unread! ✅)
  • Style categories
  • Show user avatar in server list
  • Make the header its own component (with optional burger icon)

Then start working on messages themselves:

  • Create logical component layout
  • Render username / avatar in messages with blank or example body
  • Add helpers to revolt.js for fetching display user information for a message (name, avatar, colour, original avatar if masq)
  • #12
  • feat: render system messages

Message attachments:

  • Image
  • Video
  • Audio
  • File

Message embeds:

  • Image
  • Video
  • Website
  • feat: embed invite links
  • Special site embeds

Fix some quirks introduced after porting to Solid:

  • issue: lists do not have preceding numbers or bullet points.
  • issue: some embeds do not correctly render.

note: Fonts:

feat: minimum viable product

  • Login to Revolt
  • Show server list and allow selecting
  • Show channel list while in server and allow selecting
  • Load messages from channel and display (incl. append new messages)
  • Allow sending messages

🌲 Accessibility Feedback

What do you want to see?

I'm not entirely satisfied calling this a "feature request" because accessibility isn't merely a feature, but "bug" didn't seem to me to fit either. In any case, it seems to me that Revite doesn't do anything to help with screen reader accessibility.

I'm sighted and don't depend on a screen reader to read things, so I'm not the best person to give specific advice on how to properly make Revite accessible, but I noticed two problems:

  1. No landmarks, headings, etc of any kind are used. These are essential to screen reader use because they're how keyboard navigation throughout a page is done. Discord, for example, has a level 3 heading for each message (indicating the display name of the message author and the time it was posted), and landmarks which help locate navigation sections and the main content. Revolt, on the other hand, just has a whole lot of div tags (which the screen reader generally doesn't know what to do with).
  2. Custom emoji alt text seems poorly thought out. I came across a custom emoji that, when I got to it, caused the screen reader to read out a whole crapton of numbers. This is not useful to a screen reader user. Using the name of the emoji (as is done with standard emojis) would be much better.

These are just what I saw at a glance, and I think a more thorough screen reader accessibility audit from someone more knowledgeable than me would be warranted. The open source alternative to Discord should be more accessible than Discord, not less.

🦇

feat: friends page

  • list friends / blocked users
  • list pending requests
  • accept requests
  • reject requests
  • send requests
  • remove / block users
  • unblock users

feat: context menus should be action sheets on mobile

What do you want to see?

Current behavior

IMG_20220827_202809

  • Hard to tap
  • Irritating: users not used to mobile context menus

Example of action sheets

Screenshot_2022-08-27-20-29-57-384_io flutter demo gallery
iOS-style action sheet as seen in Flutter Gallery

Screenshot_2022-08-27-20-32-34-746_com.discord.jpg
Discord implementation as seen in Android app

PWA

  • Yes, this feature request is specific to the PWA.

🌍 Click here to add new languages to Revolt.

If you have recently added a new language to Weblate and want to see it in the client, please let me know here.

Please state the:

  • Language
  • Language code (as it appears on Weblate)
  • An emoji to represent the language (e.g. 🇬🇧)
  • Title of the language in native tounge (e.g. Polski for Polish)

Please ensure the language has an adequate amount of translations already!

feat: implement dnd for server list

Some resoucres:
https://www.npmjs.com/package/solid-dnd-directive
https://codesandbox.io/s/dnd-board-gs2nd?spm=a2c6h.24755359.0.0.526961d8kHqt3q&file=/src/Board.jsx
https://codesandbox.io/s/dnd-basic-example-forked-73tntl?file=/src/App.jsx

Ideally this has virtualisation as well but I don't know how well developed the ecosystem is around that.
This should just read / write from some signal or store until state is fully added.
i.e. you can move things around and they will persist until restart

fix: add stable class names to components

Will need to fork the styled-components library, I think the best way forwards is to:

  • Fork to revoltchat org.
  • Add support for the idea below (revoltchat/solid-styled-components#1)
  • Add as submodule in packages/styled-components
  • Update existing components to include new class names

And then any changes to it will take precedence like with revolt.js

Ideally we can do something like:

const Button = styled('button', 'Button')``;

So extra argument on styled which takes a string which is prefixed in the class attribute, so this would now produce:

<button class="Button go56549064596" />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.