Code Monkey home page Code Monkey logo

directus / directus Goto Github PK

View Code? Open in Web Editor NEW
25.7K 301.0 3.6K 386.4 MB

The Modern Data Stack ๐Ÿฐ โ€” Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.

Home Page: https://directus.io

License: Other

JavaScript 0.40% HTML 0.02% CSS 0.42% Dockerfile 0.03% TypeScript 70.64% Liquid 0.44% Vue 27.22% SCSS 0.84%
api cms graphql app database dashboard vue sqlite mysql postgresql

directus's Issues

REST API: Typecasting

The API should return JSON data with correct typing:

  1. Numbers should never contain any "quotation marks"
  2. Tinyints/booleans should be formatted as true or false instead of 0 or 1.
  3. Null values should be empty or not returned at all.

See:

  • mysqlnd
  • mysql_fetch_field

Reorder Items from list page

Drag and drop items from listing page. Should use a handle icon on the far left.

This functionality only exists when the "sort" field is present.

Login Page + Authentication

  • Login page template
  • Forgot password
  • Authentication
  • Save token as session var?
  • "Keep me logged in" saves token as cookie

Media listing page

Icons and thumbnails on the Media listing page should be horizontally centered within the 50x50px box

Activity: Chart

The visual chart at the top of the activity page can wait until 6.1

Screen Shot 2012-12-27 at 1 58 34 PM

Settings: Global

Uses all standard UIs.

  • Site Name: Used for the title in the header (input)
  • Site URL: Used for the site link in the header (input)
  • CMS Color: Chooses one of several pre-compiled CSS (dropdown)
  • CMS user auto sign out (int for # of minutes)

Settings: Media & Thumbnails

Can use (mostly) core UIs:

  • Media folder: can be an input, later could make a system folder browser UI
  • Media Naming: Unique, Sequential, Original
  • Thumbnail quality: 0-100
  • Allowed thumbnails: create a set of allowed thumbnail sizes
    • Width
    • Height
    • Crop

Pagination and other toolbar buttons

Border radius of 2px (not 4px)
Dark text uses white drop shadow, not black
Box shadow: none
Should all have standard height (right now height is determined by padding the content)

Item Revisions

A small panel showing all edits/activations/deletions made to an item.

Screen Shot 2012-12-27 at 12 05 17 PM

Settings: Tables & Inputs

Settings for tables:

  • Hide entire table
  • Single entry table
  • Lock user settings
  • Table notes (???)

Settings for fields:

  • Handle (for drag and drop ordering)
  • Title (with datatype tooltip)
  • Input type (dropdown)
    • Input type options (gear icon: opens modal)
  • Required (checkbox)
  • Hidden (checkbox)
  • Primary (radio button)
  • Notes (input)

Add new field:
Opens modal window with

  • Field title
  • Datatype
  • Length
  • See directus 5 (conditional items)

Alerts

Creation of "Alert" system that handles loading/saving/reorrdering etc.

Screen Shot 2012-12-27 at 11 57 30 AM

SQL Search

On listing pages, when items are paginated (more than 500) the "filter" field turns into a "search" field. When submitted it should query the database instead of filtering items on the front-end.

Listing page: Empty notification

When on a listing page (tables, items, users, activity, messages), if there are no items visible then the a message should appear explaining to the user why.

Screen Shot 2012-12-27 at 12 09 31 PM

Complete Relational Media

Once relational logic has been completed, the updated code should be applied to media within Directus.

Settings: Permissions

Global permissions:

  • Can upload media
  • Can send messages
  • Lock users settings

Per table permissions:

  • View
  • Add
  • Edit
  • Reorder
  • Delete
  • Drafts only

See all users within this group

Labels in Nav

.nav-tabs li > a .label
margin-left: 5px

.label
padding: 2px 5px 1px 5px
border radius: 2px
border should be active (white) label only... padding should be reduced to match size
font-size: 12px
font-weight: 600

Listings: Side-bar colors

Find a system for easily applying colors to list items throughout Directus. Apply colors to items on the activity page, messages page, and item listing page.

Site Title Link

The entire site title in the top-left should be clickable, and rolling over it should turn the arrow green.
Screen Shot 2013-01-15 at 5 19 36 PM

Single Tables

When an item is set as a "single" table then it bypasses the listing page and goes directly to the edit page. If the table contains no items then when clicked it takes you to create a new item. Otherwise it takes you to edit the item.

Tooltips

A tooltip system should be put in place that allows for easy addition of tooltips to any element. Options should be set within element's data attributes.

  • Icon (optional: โœ“, X, i, ?, !)
  • Title (optional: large text)
  • Description (optional: small text)
  • Force arrow direction (top, right, bottom, left, auto)

Tooltips must have either a title OR a description

Screen Shot 2012-12-27 at 12 14 06 PM

Screen Shot 2012-12-27 at 12 17 43 PM

Users view style

Make sure that buttons, columns and style look like the design documents.

Complete Relational Logic

Standard relational items (many-many) are now stored in junction tables. This issue includes completing the API returning correct JSON as well as displaying/editing/saving relational items.

Messages

Page listing messages:

  • Inbox
  • Sent
  • Archived

Unread items: Bold text and green side indicator

Messages with media have paperclip icon

Item messages have a arrow icon

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.