setlife-network / trinary Goto Github PK
View Code? Open in Web Editor NEWA budgeting tool for tracking workflows and cashflows while collaborating with others on projects
License: MIT License
A budgeting tool for tracking workflows and cashflows while collaborating with others on projects
License: MIT License
Notes
Sample reports to be manually exported:
Refactor svg in the login page to header component.
Export again with out the lettering just the background
Export logo by itself
Upload both to S3
Full width responsive
Notes
Form
amount
start_date
end_date
(optional)rate_type
(options: max_hours
, recurring_month
, recurring_weeks
)rate_unit
(optional)active
(default: true)https://www.figma.com/file/qgGWXmprU7vTv7guzWzvML/Project-Trinary?node-id=529%3A433
For now we have been considering hourly_rate
/weekly_rate
on Contributors and rate_unit
and rate_type
on Allocations but I think to keep some flexibility in the data model we should instead abstract this away into a new table
Consider 2 example scenarios:
https://www.figma.com/file/qgGWXmprU7vTv7guzWzvML/Project-Trinary?node-id=78%3A39
Rate {
hourly_rate: String,
type: String,
active: Int,
contributor_id: Int
}
Project = {
name: "Hashr8",
allocations: [
{
date_started: "2020-11-01",
date_ended: "2020-11-08",
payment: {
amount: "10000",
date_paid: "2020-10-01"
},
contributor: {
name: "Danny Allen",
githubHandle: "dannya",
},
rate: {
hourly_rate: "83",
type: "max_hours"
},
amount: "2500",
date_paid: null,
},
{
date_started: "2020-11-08",
date_ended: "2020-11-30",
payment: {
amount: "10000",
date_paid: "2020-10-01"
},
contributor: {
name: "Danny Allen",
githubHandle: "dannya",
},
rate: {
hourly_rate: "83",
type: "max_hours"
},
amount: "1500",
date_paid: null,
}
],
}
Project = {
name: "WorkSTEPS",
allocations: [
{
date_started: "2020-10-01",
date_ended: "2020-10-30",
payment: {
amount: "15000",
date_paid: null
},
contributor: {
name: "Mariano Paulin",
githubHandle: "marianopaulin",
},
rate: {
hourly_rate: "30.375",
type: "full_time",
},
amount: "5103",
date_paid: null,
},
{
date_started: "2020-10-01",
date_ended: "2020-10-30",
payment: {
amount: "15000",
date_paid: null
},
contributor: {
name: "Nico Rivadeineria",
githubHandle: "nicoriva",
},
rate: {
hourly_rate: "33.75",
type: "full_time",
},
amount: "5670",
date_paid: null,
}
],
}
Contributor {
name
rates: [
{
type: 'hourly',
amount: 25,
units: 'USD'
},
{
type: 'weekly',
amount: 1000,
units: 'USD'
},
{
type: 'monthly',
amount: 4000,
units: 'USD'
},
{
type: 'max_hours',
amount: 50
},
]
}
Use https://github.com/setlife-network/setblocks as a reference implmentation
The project list page can be found in Figma, Development/Project Trinary, on the Home Page.
The project detail page can be found in Figma, Development/Project Trinary, on the Home Page.
Using the token, fetch the handle and check the Contributors table to see if it exists (use the githubHandle
as a unique identifier)
Should be able to run this query in the GraphQL console:
query {
getProjectById(id: 1) {
name,
contributors {
name
githubUrl
}
}
}
githubHandle
: StringgithubId
: StringDo not allow duplicates of these columns
The add resource page can be found in Figma, Development/Project Trinary, on the Home Page.
Survey needs to highlight what clients do when they work with us(more specifics = better; what mediums do they use while working with us? What apps/services, how do they get in contact?), how they feel while doing so (are they frustrated? annoyed? content?), and what they are thinking when they go through these steps (maybe they wish there was a faster way to fulfill a task, or an easier way, or they might have in mind a better way of conducting these actions between parties).
The more specific information they provide the better we can improve the experience. Although, a super specific survey can be a turn-off to some individuals.
Force inputs of date type in the graphQL mutations have the format YYYY-MMM-DD
Consider whether recurring
should be on the Rate or the Allocation?
Originally posted by @otech47 in https://github.com/setlife-network/project-trinary/issue_comments/706250295
recurring_until_date
that can be nullChange & replace MySQL credentials and use environment variables for security
Sensitive credentials committed to the repo in https://github.com/setlife-network/project-trinary/pull/28/files#diff-c55973af73a4f6f41f6b80cbcda6c4d3
moment.UTC()
I created this issue since I already saw there was a design mock for such a page on the Figma.
Empty state
Create new OAuth app: https://github.com/organizations/setlife-network/settings/applications
Remove date_created at:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.