Giter Site home page Giter Site logo

effectiveaf / effective Goto Github PK

View Code? Open in Web Editor NEW
83.0 83.0 10.0 18.24 MB

Effective: end-to-end encrypted project management for activists and human rights organizations. Making activists 10x more powerful via ultra effective communities of action and autonomous software. [deprecated]

Home Page: https://effective.af/

License: Other

Shell 0.69% PLpgSQL 3.21% Go 5.76% HTML 0.21% CSS 17.63% JavaScript 72.49%
activism autonomous-agents basic-income effective golang greatness justice postgresql postgrest project-management react reactjs saving-the-world task-management

effective's People

Contributors

aust-jacobite avatar elimisteve avatar martytheemartian avatar mattimus333 avatar moe-shoman avatar novwhisky avatar seabassgonzalez avatar spetastian avatar v-stickykeys 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

effective's Issues

Task Hierarchy filtering

  • StatusFilter component, to filter tasks by status
    • Should be analogous to a Gmail-style check list, with all boxes checked by default
  • AssignerFilter component, which filters task by assignee (task.assigned_to)
    • Should be a multi-select with no boxes checked by default

By default, show all tasks with all statuses and assignees (or no assignee).

Potential special case: if no username is specified in its filter/search component, include all tasks, not just tasks assigned to usernames in an empty array, which would show no tasks rather than all of them :-).

Should be able to tweak then reuse the filtering logic from the RightPanel TaskDetails:

taskMatches = (tasks) => {
const { taskListFilter } = this.props.rightPanel;
const taskListFilterTrimmed = taskListFilter.trim();
const filters = this.parseTaskListFilter();
const matches = {};
let task;
let status;
let statusNot;
let assigned_to;
let dueBefore;
let due_date;
let dueAfter;
gidInTasks:
for (let gid in tasks) {
if (taskListFilterTrimmed === '') {
matches[gid] = true;
continue;
}
task = tasks[gid];
let matchStatus = false;
let matchAssignedTo = false;
let matchDueDate = false;
let matchTitle = false;
const taskStatusLower = task.status.toLowerCase();
for (let i in filters.status) {
status = filters.status[i];
if (taskStatusLower.startsWith(status.toLowerCase())) {
matchStatus = true;
break;
}
}
if (!matchStatus && filters.status.length > 0) {
// Status didn't match && filtering on status => Not an overall match
continue;
}
for (let i in filters.statusNot) {
statusNot = filters.statusNot[i];
if (taskStatusLower.startsWith(statusNot.toLowerCase())) {
// Not all anti-statuses matched && filtering on not-status
// => Not an overall match
continue gidInTasks;
}
}
for (let i in filters.assigned_to) {
assigned_to = filters.assigned_to[i];
if (task.assigned_to_pursuance_id === null
&&
((task.assigned_to || '').startsWith(assigned_to)
||
(task.assigned_to === null &&
assigned_to === '-'))) {
matchAssignedTo = true;
break;
}
}
if (!matchAssignedTo && filters.assigned_to.length > 0) {
// Assignee didn't match && filtering on assignee => Not an overall match
continue;
}
for (let i in filters.due_date) {
due_date = filters.due_date[i];
if ((task.due_date || '').startsWith(due_date) ||
(task.due_date === null && due_date === '-')) {
matchDueDate = true;
break;
}
}
if (!matchDueDate && filters.due_date.length > 0) {
// Due date didn't match && filtering on due date => Not an overall match
continue;
}
for (let i in filters.dueBefore) {
dueBefore = filters.dueBefore[i];
// Treating null as neither before nor after any date
if (!task.due_date || task.due_date.localeCompare(dueBefore) >= 0) {
continue gidInTasks;
}
}
for (let i in filters.dueAfter) {
dueAfter = filters.dueAfter[i];
// Treating null as after all dates
if (task.due_date && task.due_date.localeCompare(dueAfter) < 0) {
continue gidInTasks;
}
}
if (task.title.toLowerCase().indexOf(filters.title.toLowerCase()) !== -1) {
matchTitle = true;
}
if (!matchTitle && filters.title.length > 0) {
// Title didn't match && filtering on title => Not an overall match
continue;
}
matches[gid] = true;
}
return matches;
}
.

@Iancam Here you go!

Make task description editing Android-friendly

@4xdk draft-js doesn't work on Android! ๐Ÿ˜ฆ I ran into this, sadly: http://engineering.mindlinksoft.com/why-draftjs-doesnt-work-on-android/

@4xdk @Moe-Shoman One of you guys want to do this? Let's just use https://github.com/cryptag/leapchat/blob/32bfca06ddc20c35b437d086f7b04c475256236b/src/components/chat/Message.js#L11-L57 but add the keyboard shortcuts that I added to the current editable descriptions version:

and
if (e.keyCode === 13 /* `enter` key */ && hasCommandModifier(e)) {
.

I should work on auth and backend stuff instead, to prep for Tuesday, but I can jump on this if you guys don't have time in the next 4 days or so!

miniLock-powered LeapChat-style auth + legit accounts

After user clicks the invite link to accept the invite...

  • Generate recommended, long, pre-filled passphrase
  • Visually indicate username restrictions... somehow
  • On submit, generate key pair with miniLock
  • Do LeapChat auth for JWT (with UUID regex check)

Unable to create new pursuance

Hi, running the Noisebridge test instance and attempting to create a new project. I see Creating new pursuance, but then nothing happens.

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.