Skip to content
master
Switch branches/tags
Code

Latest commit

* implement useSpotlightColumns

* adjust new spotlight group sortOrder for ungrouping

* remove empty groups from spotlight

* implement spotlight column ordering logic

* prevent columns from moving when ungrouping

* adjust columns on max screen width

* reduce column count if there are few groups

* update caching policy so that it always fetches from the network

* fix spotlight column ordering

* remove user query sort

* store maxSpotlightColumns to fix ungrouping issue

* adjust height and width on largest dash

* merge with null case

* implement useSourceHeight and useSpotlightGroupsHeight

* check the smallestColumn in useSpotlightColumns

* adjust modal width

* implement useGetRefHeight and adjust height of modal

* move variables to constants

* remove unused groupMax const

* add getEmptiestColumnIdx and remove unassignedGroups check in useSortGroupsIntoColumns

* update groups padding

* update groupEmptyState height

* change maxSpotlightColumns to spotlightColumnsCount

* remove absolute positioning from source reflection

* remove absolute positioning from source reflection

* rejig the component structure

* use doc flow to get position for source card

* set modal height to prevent moving modal

* refactor getEmptiestColumnIdx

* implement useGroupMatrix

* handle spotlight group being added to a kanban group

* fix empty column bug

* remove columnIdx from Relay and update matrix instead

* clean-up handleUpdateSpotlightResults

* implement useGetRefVal

* remove scrollHeight from SpotlightGroups

* add resultsRef to empty state

* clean-up useGetRefVal var names

* move init height calc from modal to spotlightGroups

* clone source reflection and animate into modal

* comment out start and end dragging

* clone reflection before startDraggingReflectionMutation

* remove source opacity animation

* remove selectedForSpotlight from reflectionCard

* use fill in getEmptiestColumnIdx

* fix mobile modal height without calc

* implement useResultsHeight to improve onResize behaviour

* remove clone when closing modal

* ensure child clone node exists

* fix remove & then add reflection in handleUpdateSpotlightResults

* groupMatrix fix-ups

* animate source from hook

* use portal status to calculate animation

* fix box shadow issue when killing clone

* implement useAnimateSpotlightSource

* clean up dragIdRef

* move resultsRef

* adjust empty state ui

* clean up and  add comments

* remove ref in spotlight empty state
37ed42d

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Apr 16, 2020

Parabol - We're hiring!

Slack Status CircleCI StackShare

Overview

Parabol is an open-source SaaS application for running team retrospectives and operating a distributed organization. We publish our company's history and business metrics, too.

Dashboard Discuss

Stack Information

Concern Solution
Server Node
Server Framework uWebSockts.js
Database (Legacy) RethinkDB
Database PostgreSQL
PubSub & Cache Redis
Data Transport GraphQL
Real-time Connectivity trebuchet
Client Cache Relay
UI Framework React
Styling Emotion

Setup

Prerequisites

Installation

$ git clone https://github.com/ParabolInc/parabol.git
$ cd parabol
$ cp .env.example .env # Add your own vars here
$ yarn
$ yarn db:start
$ yarn dev

By default, the app will run at: http://localhost:3000/

If yarn db:start failed and localhost:5050 isn't working, a docker container, volume or image may be corrupted and need to be pruned.

Build for production and start application:

$ yarn && yarn build && yarn start

RethinkDB

  • Migrations are stored in packages/server/database/migrations
  • RethinkDB Dashboard is at http://localhost:8080

PostgreSQL

  • pgadmin is at http://localhost:5050

  • Connect using the values of PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD from your .env

  • Click "Add New Server" and fill out the forms with your .env values

    • General.name = POSTGRES_DB
    • Connection.host = 'postgres' (hardcoded from docker-compose dev.yml, not from .env!)
    • Connection.username = POSTGRES_USER
    • Connection.password = POSTGRES_PASSWORD
    • Connection.maintenanceDatabase = POSTGRES_DB
    • Connection.port = POSTGRES_PORT
  • Fill out the form with values from your .env. Set the host to postgres

Getting Involved

Parabol offers equity for qualified contributions.

See CONTRIBUTING.md for more information on how to get involved and how to get compensated.

Helpful VSCode extensions

We use GraphQL for IntelliSense and syntax highlighting.

Releases

For details on all releases, refer to CHANGELOG.md.

Parabol Core Team

License

Copyright (c) 2016-present, Parabol, Inc.

This codebase is dual-licensed under the GNU AFFERO GENERAL PUBLIC LICENSE, Version 3.0 while holding, at Parabol's sole discretion, the right to create new licenses. For details please read LICENSE.