GithubHelp home page GithubHelp logo

jaipradeesh / steam-web-interface Goto Github PK

View Code? Open in Web Editor NEW
3.0 6.0 4.0 11.23 MB

[ARCHIVED] Web interface for sTeam server

Home Page: https://github.com/eMBee/sTeam/tree/steam-2.9-source

License: GNU General Public License v2.0

HTML 43.87% JavaScript 49.78% CSS 6.35%

steam-web-interface's Introduction

sTeam-web-interface

Web interface for sTeam - https://github.com/eMBee/sTeam/tree/steam-2.9-source

Setup Instructions

  • Install npm
dnf install npm
  • Install dependencies and start the server
npm install && npm start

Contributing

Development board

Trello board

Commits

  • Give proper commit messages that describe the change.
  • Each commit message should be granular, solving a specific issue.
  • Don't mangle a lot of commits together, unless asked for.
  • Use GFM in commit messages to link to issues if they are related.
  • Use a short summary on the first line.
  • Use Markdown in commit messages to make them more readable.
  • Wrap commit message lines at 80 chars.

Pull requests

  • Ensure that you have worked on the latest code to avoid re-introducing removed diffs.
  • Give a proper title to your pull requests.
  • Giving a description will make the aliens smile.
  • Giving a description is no excuse to commit messages that make aliens sad.

steam-web-interface's People

Contributors

dolftax avatar

Stargazers

Rajat Kumar avatar Akhil Pandey avatar  avatar

Watchers

 avatar James Cloos avatar Akhil Pandey avatar Trilok Tourani avatar Supreeth VK avatar  avatar

steam-web-interface's Issues

Write tests for API

Requests to test

  • me object
  • /home
  • /home/dolftax
  • If inventory.class == "Room" then inventory.documents should exist
  • If inventory.icon.mime_type == */gif then inventory.icon.name should end with .gif | regex - /.(.*)$/

Integrate breadcrumb with the states

As we handle deeply nested objects in single state with path as stateParams , don't use angular-breadcrumb module. It labels each child state and displays in the breadcrumb.

Handle workspace clicks

When an item is clicked on the workspace, the handler should

  1. get the path as parameter
  2. get the type ( room || document || container )
If document
- get the mimetype as parameter
- show the resp editor/viewer
if ((inventory.class == Document) && (inventory.mime_type == x) // x can be application/pdf , image/jpg, ..
    load x viewer/editor
If room
if ((inventory.class == Room) && (inventory.documents != 0 )
    goto inventory.path // open list view
If Container

Show "container can't be traversed into"

  1. update the location in URL
  2. update the level in breadcrumb

Tab handling

  • Contents of /home/dolftax in Private tab
  • Contents of /home in Groups tab

Ex:
Private tab would have all the contents (rooms, docs, etc.. which are private to the user) of hostname/scripts/rest.pike?request=/home/dolftax

Groups tab would have all the contents of hostname/scripts/rest.pike?request=/home

Note: The contents are handled as referred in #10

Tracker issue for document handler

The views/detailed.html file would have all the editor/viewer of the resp. document type and controllers/detailedCtrl.js handles and loads the respective editor/viewer

Create routes to handle views

Routes

State 1 - If not logged in, whichever URL,
  • /login - workarea ( login view)
State 2 - If logged in
  • /home || / - workarea ( list view ) [shared workarea]
  • /:username - workarea ( list view ) [private workarea]
  • /:username/:room-name - workarea ( list view )
  • /:username/:document-name - workarea ( detailed view )
  • /:username/:container-name - workarea ( error view )
  • /:username/:room-name/:sub-room-name - workarea ( list view )
  • /:username/:room-name/:document-name - workarea ( detailed view )
  • /xyz - workarea ( error view )

PS: Handle the options in the breadcrumb accordingly.

Make the UI responsive

The top bar has a lot of columns and options. Figure out a way to make the column responsive (mobile-friendly).

Gulp things.

Tasks to do

  • Run tests / Integration with travis
  • Minify the code
  • Cleanup unused dir/files in bower_components

.. work in progress

Integrate comments

Room listing (a group of rooms) specific && document-specific comments

Fix the download option

For unknown content type, the user should be able to download the file locally as it can't be viewed in the browser window.

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.